New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only works when powered though computer USB #1131
Comments
yup having the exact issue. |
yeah exactly the same for me. I have 10 (!) ESP32 flashed and working as long as they are connected to a serial port. I tried 8 different cables and 5 different power supplies. Also powering the devices on the 5v and GND pin does not help. The only way to get it connecting to WiFi is powering it from any (multiple PCs tried) USB port. When powering from external power supplies the device just opens its AP after a minute. Connecting to this AP and reentering the WiFi credentials does not change the behavior. |
...same issue discovered! What is going on? My esp32 code won't run on 3.3v, 5v, or powerbank USB! only works when powered from the computer USB |
I did a bit of trial and error and it turned out that i can make it power on from any 5V source when either holding down "BOOT" while plugging it in or by pulling down GPIO0 to ground with a 10k resistor. I have never seen this kind of issue on any nodemcu but for the ones i have (azdelivery) its the only way to get them going. |
I also had this issue on my azdelivery one. I bought three from diymore that work fine on any power supply. Might be anecdotal evidence though 🤔 |
On SeedXiaoC3 and LilyGo TQT-Pro , it happens, when the code is one that tries to scan for BLe devices. Doesn't happen when I upload other code so this might be code related. No pressing of any button helps with 5V. |
The same issue here. It does not work with USB wall chargers(tried a few) . I see ping drops a lot or no ping at all when is on wall usb plug. Web gui does not load at all... pressing boot button before plugging it it - does not do the trick. You have to connect it to a PC usb port. Once in a pc USB it Runs fine! the same cable used to connect to pc and wall chargers.... |
Describe the bug
I have setup 2 ESP32's with ESPresense. When first getting everything set up, I was connected to my PC and everything appeared to work. I was able to connect via MQTT and had everything looking good on my Home Assistant.
I then moved them to the rooms they need to belong to using USB power supplies. Then, I could not find them on my network. To troubleshoot, I brought them back to the office and plugged them into the outlet (but they were physically in the same location where I set them up).... and they didn't show up. I then plugged it back into my computer, and suddenly they were back up. I've tried multiple cables and USB power supplies. If I have them plugged into my computer, they work 75% of the time but 0% of the time from any power supply.
Are my ESP32's just duds or is there something else going on?
ESP32's: AITRIP ESP32S ESP32 ESP-WROOM-32 Development Board 2.4GHz Dual-Core WiFi +Bluetooth 2 Function Microcontroller for Arduino
Power supplies: 5V, 2.4A Amazon Basics 12W One-Port USB-A Wall Charger (2.4A)
USB Cables: Amazon Basics
My PC: desktop PC running Pop OS
I have tried different supplies and cables. The cable that seems to work most consistently is a very short ~6in cable.
The logs attached are from just one that was working (although it did seem to randomly restart).
Version
3.3.1
Active scan enabled
No response
Include filter
No response
Exclude filter
No response
Query filter
No response
Firmware flavor
Standard
Device (be specific)
AITRIP ESP32S ESP32 ESP-WROOM-32 Development Board
Logs
Screenshots
No response
The text was updated successfully, but these errors were encountered: