mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2026-04-26 08:15:51 +03:00
[GH-ISSUE #1452] NodeMCU oled example resets every few seconds, checked code like described in the wiki #771
Labels
No labels
best of
bug
development
discussion
documentation
duplicate
feature request
help wanted
help wanted
improvement
pinned
pull-request
question
stale
translation
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/esp8266_deauther#771
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @strolll395 on GitHub (Jul 5, 2021).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/1452
Yes
Describe the error
A clear and concise description of what the problem is.
What do you think causes it?
@welcome[bot] commented on GitHub (Jul 5, 2021):
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
@strolll395 commented on GitHub (Jul 5, 2021):
Oh, and I2C Display example is selected as the board, checked that.
@captclearleft commented on GitHub (Dec 9, 2021):
Was this issue closed with a solution - I dont see the solution. I will continue to look.
I am having the same exact issue. 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
#define DISPLAY_EXAMPLE_I2C
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.
@captclearleft commented on GitHub (Dec 9, 2021):
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
@strolll395 commented on GitHub (Dec 11, 2021):
@captclearleft
i used this code back in july, display and buttons work just fine. Remember to adjust your settings accordingly
https://github.com/wh1ter0z?tab=repositories
(esp8266 deauther)
@captclearleft commented on GitHub (Dec 11, 2021):
@strolll395 Thanks. You didn't mention what was the fix for you?
Was it a setting - Which setting? I have used the defaults and the only change I need to make is the screen. I am using
#define SSD1306_I2C Everything else is as you have on your fork.
Which NodeMCU are you using. I think my issue is being caused by the fact that I am using the NodeMCU by Lolin that has the cheap CH240 USB chip...
Thanks
@captclearleft commented on GitHub (Dec 11, 2021):
Ok, So I copied your 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.
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
@ASCII-encrypt commented on GitHub (Feb 26, 2023):
so ive done everything here and no more bootlooping but i still dont have any screen tried changing values still nothing
@1jammer1 commented on GitHub (Feb 27, 2023):
have you tried changing the hardware
On Sat, Feb 25, 2023 at 8:12 PM ASCII-encrypt @.***>
wrote:
--
CONFIDENTIALITY/PRIVACY NOTICE: This message and any attachments
transmitted
with it is for the designated recipient only and may contain
privileged or
confidential information. If you have received it in error
please notify the
sender, via return e-mail, immediately and permanently
delete the original. Any
unauthorized review, disclosure, dissemination,
distribution, or copying of this
e-mail is strictly prohibited. Thank you.
@ASCII-encrypt commented on GitHub (Feb 28, 2023):
Didn't have to . . . breadboard started to smoke got a new one and it's all working now
Safe to say that was the issue
@elimerins commented on GitHub (Jul 10, 2023):
my bug fixed. but we need to change ssid/pw in A_config.h.
and double check pins in breadboard with display.