![]() ![]() If you still have problems with the display, try running an example to test if it's a software or a hardware problem. For example, led 255 0 0 should turn the LED red. To test all buttons, enter screen mode buttontest. If the display doesn't show anything, something is off. Now press the reset button on the board to restart it. If there's no image on display, type set display true save settings and press enter. If you see it resetting every few seconds, check the code and make you didn't use the same pin twice. Set the baud rate to 115200 and select Newline. When everything is correctly set up and uploaded, open the serial monitor with Arduino (Tools > Serial Monitor). It requires Chrome for Desktop or a Chromium-based browser that supports the Web Serial API. You can also use to connect to your deauther. This will make sure your changes are applied and override any old settings.ħ) Make sure you selected the correct port and upload! If something isn't working correctly, check the connections and your adjustments from step 5. Or #define SH1106_SPI to #define SSD1306_SPI if you're using an SPI display.Ħ) In Arduino, under tools > Erase Flash, select All Flash Contents. ![]() When your hardware setup is done, you must make some code changes.ġ) See Installation on how to compile and flash this project using Arduino.Ģ) In Arduino, under tools > Deauther Config, select Display Example I2C or Display Example SPI depending on your setupģ) In Arduino open the A_config.h file (second tab)Ĥ) Scroll down to #if defined(DISPLAY_EXAMPLE_I2C) or #elif defined(DISPLAY_EXAMPLE_SPI).ĥ) If you used other pins than mentioned in the example setup above, this is where you can change them.įor example, you might need to change #define SH1106_I2C to #define SSD1306_I2C depending on the display you are using. You can use single digital LEDs, an RGB LED, or a Neopixel LED (WS2812b).īy default, the LED on GPIO 16 (NodeMCU onboard LED) and the LED on GPIO 2 (ESP-12 and ESP-07 on-module LED) are used. For example, Green = idle, Blue = scanning, and RED = deauth attack detected (when scanning). The LED is used as an optional indicator. It might save you a lot of troubleshooting later. 3 Volt devices as the modern arduinos and the ESP8266 range. Please make a list of all components and their connections. In to the INPUT pin I connected momentary button to turn on/off lights in the rooms and it. RST, DC, and CS pins can be connected to other pins. SPI, however, requires the following setup: Display I2C can be connected to any GPIO pin (except 16). The SSD1306, and the SH1106:Īnd they are available in I2C or SPI versions: Avoid this pin in QIO mode.Ģ types of OLED displays can be used for this project. Don't use this pin for the RGB LED or Display. We have a limited amount of pins, and not every pin can be used for everything: NodeMCU Pin Look up the pinout references for your board. The above copyright notice and this permission notice shall be included in allĬopies or substantial portions of the Software.For beginners, we recommend using 3 buttons (you can add more later), an i2c display (those with 4 pins), and (optional) a Neopixel as RGB LED. Of this software and associated documentation files. Permission is hereby granted, free of charge, to any person obtaining a copy CodeĬopy the following code to your Arduino IDE. zip Library and select the libraries you’ve just downloaded. Alternatively, in your Arduino IDE, you can go to Sketch > Include Library > Add. These libraries aren’t available to install through the Arduino Library Manager, so you need to copy the library files to the Arduino Installation Libraries folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |