External battery charging when connected to USB-C power
External battery charging when connected to USB-C power
It looks like my ESP32 is charging the external battery when the ESP32 is also connected to USB-C power?
-
- Posts: 9727
- Joined: Thu Nov 26, 2015 4:08 am
Re: External battery charging when connected to USB-C power
You need to be a bit more specific. What hardware are you using exactly, how have you connected it, what battery do you have connected?
Re: External battery charging when connected to USB-C power
Just 2 normal rechargeable battery in a battery holder connected to 3v3 and ground PINsESP_Sprite wrote: ↑Sun Mar 24, 2024 2:24 amYou need to be a bit more specific. What hardware are you using exactly, how have you connected it, what battery do you have connected?
-
- Posts: 9727
- Joined: Thu Nov 26, 2015 4:08 am
Re: External battery charging when connected to USB-C power
...wingsmelb wrote: ↑Sun Mar 24, 2024 10:38 amJust 2 normal rechargeable battery in a battery holder connected to 3v3 and ground PINsESP_Sprite wrote: ↑Sun Mar 24, 2024 2:24 amYou need to be a bit more specific. What hardware are you using exactly, how have you connected it, what battery do you have connected?
You're not really helping. What's a 'normal' rechargable battery in this context (LiIon, NiMh, ...?) and what is the hardware on the ESP32 side? Devboard (and if so, which one), custom board, ...?
Assuming something like a DevkitC and NiMh batteries, the 3.3V pin of those types of devboards is directly connected to the on-board LDO, which outputs that 3.3V on that pin if connected to 5V. So it will 'recharge' the batteries (in quotes, because it will just push 3.3V at whatever current the batteries will accept, which is not a good way of charging and can be dangerous to the batteries). You can work around this by putting something like a schottky-diode in series with the batteries, but you'll always have the issue that the 2.4V generated by two LiIon batteries is always going to be under what the flash on your devboard is likely specced for. You'd be better off buying a board that has integrated capabilities to run off/charge a LiIon cell and using that.
Re: External battery charging when connected to USB-C power
Thanks for your reply!ESP_Sprite wrote: ↑Mon Mar 25, 2024 1:47 am...
You're not really helping. What's a 'normal' rechargable battery in this context (LiIon, NiMh, ...?) and what is the hardware on the ESP32 side? Devboard (and if so, which one), custom board, ...?
Assuming something like a DevkitC and NiMh batteries, the 3.3V pin of those types of devboards is directly connected to the on-board LDO, which outputs that 3.3V on that pin if connected to 5V. So it will 'recharge' the batteries (in quotes, because it will just push 3.3V at whatever current the batteries will accept, which is not a good way of charging and can be dangerous to the batteries). You can work around this by putting something like a schottky-diode in series with the batteries, but you'll always have the issue that the 2.4V generated by two LiIon batteries is always going to be under what the flash on your devboard is likely specced for. You'd be better off buying a board that has integrated capabilities to run off/charge a LiIon cell and using that.
Who is online
Users browsing this forum: No registered users and 87 guests