Closed captclearleft closed 2 years ago
Congrats on opening your first issue on this repository! đ
This is a automated message to help you avoid common pitfalls when asking for help online.
đ Be sure to:
đŦđ§ Communicate in English so everybody can understand you
đ Have a look at the Wiki and README for information
đ Search for similar issues (open and closed)
âī¸ Provide enough information to understand, recreate and help out with your problem
âšī¸ Let us know if you find a solution and please share it with us
đ Close the issue when your problem has been solved
Just another update. Tried adding the resistors (D4 - High, D8 - Low, and I even tried Pulling Reset High (10k)) Same results - No display, constant resets...
wdt reset load 0x4010f000, len 3460, room 16 tail 4 chksum 0xcc load 0x3fff20b8, len 40, room 4 tail 4 chksum 0xc9 csum 0xc9 v000cb3d0 ~ld
Reloaded the SSD1306SimpleDemo.ino sketch. Screen still works fine. I still think its something screwy with this ch340 chipped LOLIN NodeMCU.
I did try my Adafruit feather esp8266 - That didnt work either. I may have not hooked that up correctly as there are only the two SDA and SCK (4,5) on that board and thats what I used...
I updated all my libraries for Arduino, still no luck. Any ideas would be appreciated. Thanks
Update.
I am able to run the Version 3 code no problem (No Display, No Resets).
I ordered the NodeMCU With the CP2102 usb chip (Im guessing thats the fix.)
I might try today to change the SDA SCK pins to other pins to see if that works.
Tried changing SDA to 13 and SCK to 12. That did not work - Same results.
Tried changing the pin 5 to pin 4 and 4 to 5 in the code. tried switching the wires back and forth as well...
No luck.
Also tried changing the display type to the SH1106 (even though I know its a SSD1306 (as it works with the https://github.com/squix78/esp8266-oled-ssd1306 code)... Hmmmmm. Has to be this board with the CH340.... Must be a mismatch on one of the pins.... Not sure yet.
Ok, I tried adding capacitors to the power line and the 3.3v line. No luck
I think we got this solved with the help of @strolll395 (https://github.com/strolll395)
https://github.com/wh1ter0z/esp8266_deauther/blob/v1/esp8266_deauther/A_config.h
Ok, So I copied the above A_config.h into the Arduino IDE replacing the original A_config.h code.
Used "NodeMCU" As the "Board" and the "Deauther Config" under tools.
And it worked.
So I took the 2.6.1 original A-cinfig.h file and stripped out all the stuff I would not be using. Took out most of the #if statements.
It looks like there is something in the #if #elseif statements when using the "Deauther Config= Deisplay Example IIC" mode that causes an issue. Using just the file with all the #if #elseif statements removed and then just defining the display worked.
Thanks
https://github.com/wh1ter0z/esp8266_deauther
Here is my new 2.6.1 A-congig.h file
` / This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther /
// ===== DISPLAY ===== // // #define SH1106_I2C
// #define FLIP_DIPLAY true
// ===== BUTTONS ===== //
// ===== LED ===== //
// #define LED_NEOPIXEL_RGB
// ===== LED ===== //
// ============================== //
// ========= FALLBACK ========= //
// ===== AUTOSAVE ===== //
// ===== ATTACK ===== //
// ===== SNIFFER ===== //
// ===== ACCESS POINT ===== //
// ===== WEB INTERFACE ===== //
// ===== CLI ===== //
// =============== LED =============== //
// =============== DISPLAY =============== //
// =============== BUTTONS =============== //
// ===== Reset ====== //
#define RESET_BUTTON 0
#define RESET_BUTTON 255
// ===== Web ===== //
// ======== CONSTANTS ========== // // Do not change these values unless you know what you're doing!
// ======== AVAILABLE SETTINGS ========== //
/* // ===== ATTACK ===== //
// ====== SNIFFER ====== //
// ===== ACCESS POINT ===== //
// ===== WEB INTERFACE ===== //
// ===== CLI ===== //
// ===== LED ===== //
// ===== DISPLAY ===== //
// ===== BUTTONS ===== //
// ===== Reset ====== //
// ===== Web ===== //
*/
// ========== ERROR CHECKS ========== //
`
I actually think the rests were being caused by the LED settings In the default A_config file these are commented out:
I found that this being commented out was causing resets: #define LED_DIGITAL I now have it uncommented.
I was giving up after hours of trial and error and then in a last attempt I copied your code and it's working don't know why, don't know how. Thank you very much!
I will continue to look for and post a solution.
I am having the same exact issues described as resets constantly in the Testing section of the tutorial. Following the "Setup Display & Buttons" exactly. (NodeMCU with Display Example I2c) I am using the LOLIN NodeMCU v3 with the ch340 chip (I have 3 of them, and have tried 2 of em). I tried changing the code for the SDA and SCK pins from 5, 4 to 4,5 to D1,D2. I tried swapping those wires.
I tried uncommenting these lines in the A_config.h...
define NODEMCU
I tried different power sources. I tried just flashing it with the Node MCU Flasher and the .bin file.
I don't have any custom anything going on, just set up exactly as described in the tutorial.
The regular NodeMCU code without display works flawlessly on both boards.
When I run the OLED display code from https://github.com/squix78/esp8266-oled-ssd1306 The display works fine. No resets, and the display shows everything just fine.
I am guessing its something to do with the way this board and the ch340 chip exists.
Maybe ill try the resistors on D4 and D8.
Any one else use this board, or have a solution? Thanks so much.
_Originally posted by @captclearleft in https://github.com/SpacehuhnTech/esp8266_deauther/issues/1452#issuecomment-990300764_