logo elektroda
logo elektroda
X
logo elektroda

ESP8266 NodeMCU V3.0 OLED 0.9 inch - Deauther works, display does not

pnowoczekPatryk90 429 5
ADVERTISEMENT
This content has been translated flag-pl » flag-en View the original version here
  • #1 21902867
    pnowoczekPatryk90
    Level 2  
    Posts: 37
    Rate: 1
    ESP8266 NodeMCU V3.0 OLED 0.9 inch

    Hello everyone, I have a problem with this board. I am completely unfamiliar with programming, but wanted to give it a try. I managed to upload the Deautcher program, the program works because there is Wi-Fi of this board on the phone, it connects the phone to the board through Wi-Fi and through the IP address it displays the program on the phone, but I have another problem. The built-in OLED display on the board does not work, I uploaded the program step by step according to this video: https://youtu.be/6tAm77G_AV0?is=SdE16GEiDdRd2a8u probably something needs to be changed in the code, but I have no idea what, when I bought the board, there was a demo program uploaded, the display worked.
    Bottom side of a PCB with SMD parts held between fingers; printed text “V660” and “NodeMcu v3”. NodeMCU ESP8266 development board with a small built-in OLED display, held in a hand

    What exact version of Deauther did you upload and where did you download it from - the finished .bin file or the project from the Arduino IDE/GitHub?
    The Deauther version from the link from the YouTube video given in the description, probably a .bin file.
    When uploading, did you select somewhere the board type or the OLED display settings (e.g. I2C pins/address 0x3C/0x3D), or did you upload everything quite "step-by-step" without any changes?
    Yes, I changed 0x3C to 0x3D and the SDA and SCL pins to 14 and 12, and it has the reverse and the Arduino IDE program, but it didn't do anything.
  • ADVERTISEMENT
  • #2 21903238
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14604
    Help: 654
    Rate: 12620
    Do you have this display enabled in the code and these pins set?
    Graphic listing I2C OLED 0.96 SSD1306 specs and ESP8266 pins SDA GPIO12 (D6) and SCL GPIO14 (D5)
    I've downloaded this attachment and it looks like the A_config.h is probably already entered....
    Arduino IDE screenshot of A_config.h showing SSD1306_I2C and I2C pins I2C_SDA 12, I2C_SCL 14


    I tested this board:
    How to program ESP8266 NodeMCU V3 with OLED 0.96 128x64 SSD1306 via USB?

    Added after 29 [minutes]:

    Ok I have uploaded the file from the package from the video to my disc:
    Windows File Explorer screenshot showing build folder with ESP8266_Deauther_SSD1306 file highlighted by a red arrow

    Added after 2 [minutes]:

    Strange, it works for me?
    ESP8266 development board with small OLED showing menu: “SCAN, SELECT, ATTACK, PACKET MONITOR, CLOCK”
    
    arduino-cli upload --fqbn esp8266:esp8266:nodemcuv2 --port COM3 c:\Users\XYZ\Downloads\ESP8266_Deauther_SSD1306
    


    Added after 5 [minutes]:

    I compiled anew, did not change anything in the code, only the author to "Elektroda":
    ESP8266 board with small OLED showing “ESP8266 DEAUTHER” and “BY Elektroda”

    Added after 2 [minutes]:

    it comes out that:
    1. either by some miracle you have a different board - on different pins the display, but it doesn't look like it
    2. you changed something in the code before uploading, I uploaded it without changes and it works
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21903322
    pnowoczekPatryk90
    Level 2  
    Posts: 37
    Rate: 1
    It worked, I changed SDA to D2 and SCI to D1 in the code and it works.
  • ADVERTISEMENT
  • #4 21903347
    lopr_pol
    Level 32  
    Posts: 1706
    Help: 163
    Rate: 487
    If only these Chinese oleds didn't burn out so quickly.
  • ADVERTISEMENT
  • #5 21903367
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14604
    Help: 654
    Rate: 12620
    That's interesting, after all, I can see in the pictures that our boards have D1, D2, and other pins in the same places. How do you compile it then? Maybe you picked the wrong board in Arduino or something?
    Helpful post? Buy me a coffee.
  • #6 21903431
    pnowoczekPatryk90
    Level 2  
    Posts: 37
    Rate: 1
    A good board I think I chose NODEMCU as in the video.
ADVERTISEMENT