0

I have a USB charger. Is it ok to connect it as a power supply for esp32?

Edit: i have a dev board esp32

enter image description here

3

In principle yes (see also comment in update).

The voltage is ok (5V), typically USB, and it doesn't differ from the output of a computer USB port.

The output current is max 2000 mA, so check if your project (ESP + related hardware powered by this USB), is not exceeding 2000 mA. The ESP needs much less than 2000 mA, so if you didn't have a lot of external components or motors than you will be safe.

Update

Important omment from Sim Sson: The bare esp32 is not 5V-tolerant, so using a usb-charger is only ok for esp modules that have a voltage regulator onboard.

| improve this answer | |
  • 1
    I think you might have missed a zero there. The charger says "2000mA". – hooskworks Oct 8 '19 at 8:54
  • @hooskworks Thanks for the notification, and yes I did (updated my answer). – Michel Keijzers Oct 8 '19 at 8:57
  • 2
    The bare esp32 is not 5V-tolerant, so using a usb-charger is only ok for esp modules that have a voltage regulator onboard. – Sim Son Oct 8 '19 at 15:57
  • 1
    @yuria Hopefully he does, but he didn't tell. Thanks for adding that point, it might be useful for others having this question in future! – Sim Son Oct 8 '19 at 16:09
  • 1
    @yuria yes, a device with usb socket is always supposed to be 5V tolerant as that's part of the standard – Sim Son Oct 9 '19 at 12:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.