Close Menu
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
Facebook X (Twitter) Instagram
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn
How To Electronics
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
How To Electronics
Home » Power Supply for ESP32 with Battery Charger & Boost Converter
ESP32 Projects Power Electronics

Power Supply for ESP32 with Battery Charger & Boost Converter

Mamtaz AlamBy Mamtaz AlamUpdated:September 12, 20237 Comments5 Mins Read
Share Facebook Twitter LinkedIn Telegram Reddit WhatsApp
Power Supply for ESP32 Board
Share
Facebook Twitter LinkedIn Pinterest Email Reddit Telegram WhatsApp

Overview: Power Supply for ESP32

In this tutorial, we will learn how we can make Power Supply for ESP32 Board. We will also integrate a Battery Booster or Boost Converter Circuit so that ESP32 can be powered using 3.7V Lithium-Ion Battery. The Lithium-Ion Battery can get discharged, so we will also integrate a Battery Charger Circuit along with Battery Management System. Earlier we designed Power Supply for NodeMCU, we will redesign the same circuit here for ESP32.

Most of the Lithium-Ion/Lithium Polymer Batteries can only fully charge up to 4.2V which is not enough for ESP32 Board. So we need to step-up the 2.8V-3.7V voltage from Battery to 5V. That is the reason why we are using a small-sized Boost Converter Module designed using some inductors, IC & resistor. In order to charge & manage the battery we will use TP4056 Battery Charger Module.

We can also power this circuit using 9V/12V DC Adapter. The LM7805 Voltage regulator IC limits the voltage to 5V only. If you don’t want to power the circuit using Battery, you can use the DC Power Adapter or 9V Battery. You may check the 5V 3A USB Charger circuit.


ESP32 Power Requirement

The ESP32 Board operates between 2.2V to 3.6V. But we supply 5V from Micro-USB port. For 3.3V there is already an LDO voltage regulator to keep the voltage steady at 3.3V. ESP32 can be powered using Micro USB port and VIN pin (External Supply Pin).

ESP32 Power Requirement

The power required by ESP32 is 600mA, as ESP32 pulls as much as 250mA during RF transmissions. During boot or wifi operation it’s drawing more than 200mA current. Thus supply power from Micro-USB Cable is not enough for ESP32 Board when we are adding multiple sensors or modules to the Board. This is because Computer USB port can provide less than 500mA of current. Check more about ESP32 Power requirement here: ESP32 Datasheet.




Bill of Materials

Following are the components required for making this ESP32 Power Supply project. All the components can be easily purchased from Amazon. The component purchase link is given below.

S.N.Components NameDescriptionQuantity
1ESP32 BoardESP32 ESP-32S Development Board (ESP-WROOM-32)1
2Battery Charger ModuleTP4056 5V,1A Battery Charging Module1
3Voltage Regulator ICLM7805 5V IC 1
4Female DC Power JackDCJ02021
5Step-Up Boost Converter Module3.7V to 5V Boost Converter Module1
6Switch3 Pin SPDT Switch1
7Electrolytic Capacitor470uF, 25V 1
8Electrolytic Capacitor100uF,16V1
9LED5mm LED Any Color1
10Resistor220 ohm1
11Female Header2.54mm Female Header4 Set
12Male Headers2.54mm Male Headers1 Set

3.7V to 5V Step-Up Boost Converter Module

3.7V to 5V Boost Converter Module

This is the Step-Up DC-DC Boost converter module which provides 5V DC stable voltage output at various input ranges between 1.5V to 5V. This small tiny circuit boosts the voltage level and provides the amplified stabilized 5V output. This module operates at a frequency of modules operate at frequency 150KHZ. For the different input ranges, it consumes a different amount of current to produce a balanced output.

1. Input 1-1.5V, output 5V 40-100mA
2. Input 1.5-2V, output 5V 100-150mA
3. Input 2-3V, output 5V 150-380mA
4. Input more than 3V, output 5V 380-480mA



TP4056 Battery Charger Module

TP4056 Battery Charger Module

This 3.7V Battery Charger TP4056 module is made for charging rechargeable lithium batteries using the constant-current/constant-voltage (CC/CV) charging method. In addition to safely charging a lithium battery, TP4056 BMS Board also provides the necessary protection required by lithium batteries. The TP4056 is suitable for USB power and adapter power supplies. Due to the internal PMOSFET architecture and anti-reverse charging path, no external isolation diodes are required.

To learn more about this module, you can go through its datasheet here: TP4056 Module Datasheet.


Power Supply for ESP32 with Battery Charger & Boost Converter

The Circuit Diagram for Power Supply Circuit for ESP32 with Battery Charger & Boost Converter is given below. The circuit can be powered using two methods, one with 9V/12V DC Adapter and other with 3.7V Lithium-Ion Battery.

ESP32 Power Supply Circuit

For powering the Board using DC Jack, we have used DCJ0202 Female Jack. We used 470uF & 100uF Electrolytic Capacitor to avoid DC fluctuations and remove voltage spikes. The LM7805 Voltage regulator IC can take the input voltage from 7V to 35V. But is recommended to use the input voltage up to 15V only. With an increase in voltage, there is more heat dissipation that requires a bigger heat sink. The output from the Voltage regulator is connected to the Vin pin of ESP32 & GND is connected to GND. Hence you can power up the module using 9V/12V DC Adapter or by 9V Battery.

On the other hand, if you don’t want to power up the ESP32 using DC Adapter, you can use 3.7V Lithium-Ion or Lithium Polymer Battery. Using the Boost Converter Module 3.7V is boosted to 5V (can work from 2.8V input to 4.2V input). The 5V boosted voltage is connected to switch and the switch is connected to 5V Vin pin of ESP32. The Battery terminal is also connected to the output terminal of the TP4056 Battery Charger Module. Thus the battery can be charged using 5V MicroUSB Data Cable.

The board has an LED connected via 220ohm resistor which is used to indicate the Module is powered ON. While charging the battery, it is recommended to turn off the SPDT switch.



Project PCB Gerber File & PCB Ordering Online

If you don’t want to assemble the circuit on breadboard and you want PCB for the project, then here is the PCB for you. The PCB Board for the The PCB for Power Supply for ESP32 with Battery Charger & Booster is designed using EasyEDA online Circuit Schematics & PCB designing tool. The front side and back side of the PCB is given below.

Fig: Front View
Fig: Back View

The Gerber File for the PCB is given below. You can simply download the Gerber File and order the PCB from ALLPCB at 1$ only.

Download Gerber File: ESP32 Power Supply PCB

You can use this Gerber file to order high quality PCB for this project. To do that visit the ALLPCB official website by clicking here: https://www.allpcb.com/.

You can now upload the Gerber File by choosing the Quote Now option. From these options, you can choose the Material Type, Dimensions, Quantity, Thickness, Solder Mask Color and other required parameters.

After filling all details, select your country and shipping method. Finally you can place the order.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit Telegram WhatsApp
Previous ArticleIoT Home Automation using ESP8266 Web Server
Next Article IoT Water Flow Meter using ESP8266 & Water Flow Sensor

Related Posts

IoT Based PM & Air Quality Monitoring System using ESP32

IoT Based PM & Air Quality Monitoring System using ESP32

DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

Updated:May 10, 20261K
IoT Activity Tracker with ESP32 & Accelerometer Gyroscope

IoT Activity Tracker with ESP32 & Accelerometer/Gyroscope

Updated:May 2, 2026

ESP32 IoT Vehicle Motion Analyzer with MPU6050 & LIS3MDL

Updated:April 27, 20261K
High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

Updated:April 27, 20262K
DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

Updated:February 1, 20261K
View 7 Comments

7 Comments

  1. Ted on January 26, 2022 2:29 AM

    How does the boost circuit supply the necessary current Up to 600 madc when the listed spec you show says 380- 480 madc when input is above 3 volts?

    Reply
  2. Josh on March 8, 2023 10:12 PM

    where is the BOM purchase link

    Reply
  3. Annonymous on August 16, 2023 12:21 PM

    Beware the incorrect wiring of the TP4056 .

    Reply
  4. gurns on January 15, 2024 2:55 PM

    The battery should be wired to the tp4056’s battery terminals to properly charge the batteries. Otherwise the tp4056 will only pull from the batteries.

    Reply
    • Bryan Gurney on January 25, 2024 4:25 PM

      Gurns again here, That was wrong.
      Something up is with the tp4056 and this pcb. — i’ll figure it out later perhaps.

      Reply
      • CHdude on January 31, 2024 7:14 PM

        hi is this the correct 1 or is this being updated? Should I connect the battery to tp4056’s battery terminal?

  5. Milad kimiagar on June 8, 2024 5:20 PM

    The tp4056 works as booster if you connect the battery to the input pins and then the output pins of tp4056 makes 5V even if you unplug the USB charger. you don’t need Step-Up Boost Converter here.

    Reply

CommentsCancel reply

Latest Posts
IoT Based PM & Air Quality Monitoring System using ESP32

IoT Based PM & Air Quality Monitoring System using ESP32

May 31, 2026
DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

May 10, 2026
IoT Activity Tracker with ESP32 & Accelerometer Gyroscope

IoT Activity Tracker with ESP32 & Accelerometer/Gyroscope

May 2, 2026
A Guide to Sourcing Obsolete ICs for Vintage Projects

Beyond AliExpress: A Guide to Sourcing Obsolete ICs for Vintage Projects

April 21, 2026

ESP32 IoT Vehicle Motion Analyzer with MPU6050 & LIS3MDL

April 27, 2026
Building a Smart Sensor Node with a BLE Microcontroller

Building a Smart Sensor Node with a BLE Microcontroller

February 26, 2026
High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

April 27, 2026
DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

February 1, 2026
Top Posts & Pages
  • IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
    IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
  • 12V DC to 220V AC Inverter Circuit & PCB
    12V DC to 220V AC Inverter Circuit & PCB
  • Buck Converter: Basics, Working, Design & Application
    Buck Converter: Basics, Working, Design & Application
  • How to use INA219 DC Current Sensor Module with Arduino
    How to use INA219 DC Current Sensor Module with Arduino
  • ECG Graph Monitoring with AD8232 ECG Sensor & Arduino
    ECG Graph Monitoring with AD8232 ECG Sensor & Arduino
  • Designing of MPPT Solar Charge Controller using Arduino
    Designing of MPPT Solar Charge Controller using Arduino
  • How to use INA226 DC Current Sensor with Arduino
    How to use INA226 DC Current Sensor with Arduino
  • IoT Based Drinking Water Quality Monitoring with ESP32
    IoT Based Drinking Water Quality Monitoring with ESP32
Categories
  • Arduino Projects (197)
  • Articles (60)
    • Learn Electronics (19)
    • Product Review (15)
    • Tech Articles (28)
  • Electronics Circuits (46)
    • 555 Timer Projects (21)
    • Op-Amp Circuits (7)
    • Power Electronics (13)
  • IoT Projects (204)
    • ESP32 MicroPython (7)
    • ESP32 Projects (81)
    • ESP32-CAM Projects (15)
    • ESP8266 Projects (76)
    • LoRa/LoRaWAN Projects (22)
  • Microcontrollers (38)
    • AMB82-Mini IoT AI Camera (4)
    • BLE Projects (18)
    • STM32 Projects (19)
  • Raspberry Pi (93)
    • Raspberry Pi Pico Projects (57)
    • Raspberry Pi Pico W Projects (12)
    • Raspberry Pi Projects (24)
Follow Us
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
About Us

“‘How to Electronics’ is a vibrant community for electronics enthusiasts and professionals. We deliver latest insights in areas such as Embedded Systems, Power Electronics, AI, IoT, and Robotics. Our goal is to stimulate innovation and provide practical solutions for students, organizations, and industries. Join us to transform learning into a joyful journey of discovery and innovation.

Copyright © How To Electronics. All rights reserved.
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us

Type above and press Enter to search. Press Esc to cancel.

Ad Blocker Enabled!
Ad Blocker Enabled!
Looks like you're using an ad blocker. Please allow ads on our site. We rely on advertising to help fund our site.