• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

How to power ESP32 with a Rechargable LiPo battery and recharge the battery through ESP32’s micro usb?

Q&A Forum › Category: ESP32 › How to power ESP32 with a Rechargable LiPo battery and recharge the battery through ESP32’s micro usb?
2 Vote Up Vote Down
Agoeng Bhimasta asked 5 years ago

Hi,

How can I connect ESP32 (HiLetgo ESP32 OLED Wifi Kit board)

to a rechargeable 3.7V lipo battery (e.g., https://www.amazon.com/AKZYTUE-Battery-Rechargeable-Lithium-Connector/dp/B07TXKC29C/ref=sr_1_1?keywords=lithium+polymer+battery&qid=1583512142&sr=8-1).

I want the battery to not only be able to power the board but also want to be able to recharge the battery (maybe through the board’s micro SD?)
– maybe exactly like what SparkFun ESP32 can do.

Can you help with this? or do you have any other suggestions?

Which battery and what other modules are required to make this feature?

Thank you very much.

best,
Bimo

 

9 Answers
0 Vote Up Vote Down
sendemail2albert answered 5 years ago

I don’t suggest retrofit the development board you have to be powered by a battery. If your project needs battery backup. Please consider getting a board with the backup battery feature designed on the board. This is one such board. 
https://www.amazon.com/Adafruit-HUZZAH32-ESP32-Feather-Board/dp/B01NCRYHDL/ref=sr_1_13?crid=SMTL63LRT79N&keywords=esp32+development+board&qid=1583553619&sprefix=esp32+%2Caps%2C342&sr=8-13
 

0 Vote Up Vote Down
Agoeng Bhimasta answered 5 years ago

Hi sendemail2albert,

Thank you for your kind response.

I plan to make a smart water bottle prototype; therefore, I need the board to be powered by a battery and can be charged conveniently using cable for my field study.

Do you mind to explain more why you don’t suggest the board to be powered by a battery? How about if I use something like LiPo Rider Plus (https://www.seeedstudio.com/Lipo-Rider-Plus-p-4204.html)?

I have been seriously considering to buy either Adafruit HUZZAH32 or Sparkfun 32 things for a while, as they have the LiPo charger embedded in the board. Did you have experience using both boards? Do you have any preferences?

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi.

Just to clarify. Is this the board that you’re using https://pt.banggood.com/ESP32-Azure-IoT-Kit-WIFI-BLE-ESP32-Development-Board-with-OLED-Buzzer-USB-p-1545719.html?cur_warehouse=CN?

If this is your board, on the documentation page 3/8 (https://www.espressif.com/sites/default/files/documentation/esp32-azure_iot_kit_hardware_design_guide__en.pdf)

It says:
“Besides, there is also a charge management IC on the board, so the USB port can also be used to charge the lithium battery”.

There are boards that have that feature built-in like the Adafruit HUZZAH32 or Sparkfun 32 thing. When powered through the USB cable, it recharges the batteries.

Regards,
Sara

0 Vote Up Vote Down
Agoeng Bhimasta answered 5 years ago

HI Sara,

Thanks for your response,

That’s not my board. However, I think I got the point. Looking for the board with an integrated lipo charger is seems preferable.

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi.
Yes, I think it is preferable to use a board with that feature built-in.
Just to clarify, can you post a link to the board you’re using? 
Let me know if you need something else.
Regards,
Sara

0 Vote Up Vote Down
Agoeng Bhimasta answered 5 years ago

Hi,

I currently have two boards:
1. the (retired) WEMOS LOLIN 32
2. HiLetgo ESP32 OLED WIFI

I will order the Sparkfun ESP32 things in the near future.

Thank you very much.

best,
Bimo

0 Vote Up Vote Down
Steph answered 5 years ago

Hello Agoeng,

Is your ESP32 board this one?

If you have the version with the ESP32-WROOM-32D…

…then you have a board that seems to be pretty close to the DoIt ESP32 DevKit (don’t know which version exactly… v1? v4? I’m a bit lost among what I’ve read here and there).

In any case, you’d better opt for a board that integrates a charging circuit such as the Adafruit HUZZAH32 (which is very good by the way, I have one). And you can refer to this guide for power management.

The SparkFun Thing Plus will be fine too, as confirmed by the corresponding guide.

0 Vote Up Vote Down
sendemail2albert answered 5 years ago

Yes, a board has built-in LiPo charger integrated is the board that you need. Boards with LiPo charger circuits from China are cheap but most of them are questionable. 
Another area that you need to pay attention to is the connector. Make sure you get the right specification – JST1.25 for example. I suggest buying your battery from Amazon because you can return it easily if they are not the right connector. The last thing is that almost all battery packs are from China. The polarity of the connector may not be correct. The red wire should be positive and the black wire should be negative. Double-check this with a meter again the board before you plug the battery into the board! 

0 Vote Up Vote Down
Agoeng Bhimasta answered 5 years ago

Great,

Thank you, everyone, for the advice, I will keep that in mind.

best,
Bimo

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.