ESP working on PC USB Power but not on USB charger
Posted: Tue Oct 13, 2020 7:52 pm
Hello lovely people of the forum!
I just finished my first ESP32 project: A temperature controller using a simple temperature sensor and a relay to turn on/off a heating element for my ant-farm.
I have the wiring and all the components wired up and the script does exactly what it should. During development and testing the ESP32 was always connected and powered using USB on my Macbook (also using a USB A to USB C adaptor). Now, that I'm done, I wanted to use a USB charger to power the ESP32, but interestingly it does not work. The display glows up, but the content is not displayed (no script is being executed - Relay not working either) and the ESP32 is blinking its red LED (more or less consistently the whole time).
What I tried already is:
- Many different USB chargers. From smartphone charger with 0.5A up til 3A. USB type A and USB type C with an adapter.
- A 230V to USB power supply (bare pcb with components. This was what I wanted to use in the end)
- I also connected it back to my Macbook with the USB A to USB C adaptor where it was working perfectly fine again.
- Finding the solution in all forums and discussions i could find in several hours of searching.
I don't understand the possible problem. Should the USB power from the Macbook not be exactly the same than the one of a USB charger? I mean, it is just power. Plus and minus. 5 volts.
I don't get it...
Hoping for someone to enlighten me or providing a clue or a way to troubleshoot this. I appreciate every input!
Thanks and greetings from Vienna
Yannick
I just finished my first ESP32 project: A temperature controller using a simple temperature sensor and a relay to turn on/off a heating element for my ant-farm.
I have the wiring and all the components wired up and the script does exactly what it should. During development and testing the ESP32 was always connected and powered using USB on my Macbook (also using a USB A to USB C adaptor). Now, that I'm done, I wanted to use a USB charger to power the ESP32, but interestingly it does not work. The display glows up, but the content is not displayed (no script is being executed - Relay not working either) and the ESP32 is blinking its red LED (more or less consistently the whole time).
What I tried already is:
- Many different USB chargers. From smartphone charger with 0.5A up til 3A. USB type A and USB type C with an adapter.
- A 230V to USB power supply (bare pcb with components. This was what I wanted to use in the end)
- I also connected it back to my Macbook with the USB A to USB C adaptor where it was working perfectly fine again.
- Finding the solution in all forums and discussions i could find in several hours of searching.
I don't understand the possible problem. Should the USB power from the Macbook not be exactly the same than the one of a USB charger? I mean, it is just power. Plus and minus. 5 volts.
I don't get it...
Hoping for someone to enlighten me or providing a clue or a way to troubleshoot this. I appreciate every input!
Thanks and greetings from Vienna
Yannick