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 NodeMCU with Battery Charger & Boost Converter
ESP8266 Projects Power Electronics

Power Supply for NodeMCU with Battery Charger & Boost Converter

Mamtaz AlamBy Mamtaz AlamUpdated:October 2, 20222 Comments5 Mins Read
Share Facebook Twitter LinkedIn Telegram Reddit WhatsApp
Power Supply for NodeMCU
Share
Facebook Twitter LinkedIn Pinterest Email Reddit Telegram WhatsApp

Overview: Power Supply for NodeMCU

In this tutorial, we will learn how we can make Power Supply for NodeMCU ESP8266 Board. We will also integrate a Battery Booster or Boost Converter Circuit so that NodeMCU can be operated through 3.7V Lithium-Ion Battery. The Battery can get discharged after using it for a long time, so we will also integrate a Battery Charger Circuit to the Board which has a feature of Battery Management System. Earlier we designed Power Supply for ESP32, we will redesign the same circuit here for ESP32.

Most of the Lithium-Ion Batteries available in the market can only fully charge up to 4.2V which is not enough for NodeMCU Board. So we need to convert the voltage from Battery to 5V. That is the reason why we are using a small boost converter Module made using some inductors, IC & resistor. Similarly to charge the battery and manage the battery we will use TP4056 Battery Charger Module.

Apart from this we can power this circuit using 9V/12V Adapter as well. The LM7805 Voltage regulator IC limits the voltage up to 5V only. If you don’t want to power the circuit using Battery, you can use the DC Power Adapter.


Power Required By NodeMCU

Nodemcu operates at 5v & 3.3V. For 3.3V there is already an LDO voltage regulator to keep the voltage steady at 3.3V. NodeMCU can be powered using Micro USB jack and VIN pin (External Supply Pin).

NodeMCU Power Requirements

The power required by NodeMCU is 600mA, as ESP8266 pulls as much as 80mA during RF transmissions. During boot or wifi operation it’s drawing up to 200mA peak current. Thus supply power from Micro-USB Cable is not enough for NodeMCU 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 Nodemcu Power requirement here: Nodemcu ESP8266 Datasheets




Bill of Materials

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

S.N.Components NameQuantity
1NodeMCU ESP8266 Board1
2TP4056 Battery Charger Module1
3LM7805 5V Voltage Regulator IC1
4 DC Power Jack DCJ02021
53.7V to 5V Boost Converter Module1
63 Pin SPDT Switch1
7Capacitor 470uF, 25V 1
8Capacitor 100uF,16V1
9LED 5mm Any Color1
10Resistor 220-ohm1
11Female Header4 Set
12Male 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 Circuit for NodeMCU with Battery Charger & Boost Converter

The Circuit Diagram for Power Supply Circuit for NodeMCU 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.

Power Supply Circuit for NodeMCU with Battery Charger & Boost Converter

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 NodeMCU & 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 NodeMCU 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 NodeMCU. 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.



PCB Designing

The PCB for Power Supply for NodeMCU with Battery Charger & Booster is given below. The PCB is designed using EasyEDA PCB Designing tool. The front view & the backview of the PCB is given below.

Fig: Front View

Fig: Back View

The Gerber File for the PCB is given below. You can download the Gerber File & go for PCB ordering.

Dowload Gerber File: Power Supply for NodeMCU

We have also designed a better version of the ESP8266 Battery-powered board that can be used for IoT applications. The board is compact and can be powered with Battery and also has a charging circuit built on the PCB.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit Telegram WhatsApp
Previous ArticleIoT Water Flow Meter using ESP8266 & Water Flow Sensor
Next Article IoT LoRa Based Smart Agriculture & Remote Monitoring System

Related Posts

Humidity & Temperature Monitoring using DHT11 & NodeMCU on ThingSpeak

ESP8266 & DHT11 Humidity Temperature Monitor on ThingSpeak

Updated:October 19, 20253443K

12V DC to 220V AC Inverter Circuit & PCB

Updated:February 2, 20251461K
Water Tank Level Monitoring System with GSM & ESP8266

Monitor Water Tank Level with GSM & ESP8266 on Blynk

Updated:June 28, 20255K
IoT-enabled Smart Fridge with ESP8266 & DS18B20

IoT-enabled Smart Fridge with ESP8266 WebServer

Updated:February 2, 202525K
How to Flash or Upgrade Firmware on ESP8266 (ESP-01)

How to Flash or Upgrade Firmware on ESP8266 (ESP-01)

Updated:February 2, 202514K
IoT Based Patient Health Monitoring System using ESP8266 & Arduino

IoT Patient Health Monitoring with ESP8266 & Arduino

Updated:February 2, 2025156K
View 2 Comments

2 Comments

  1. Tim on April 29, 2023 10:53 AM

    Check battery load sharing circuit. You’ve a long way to go in electronics.

    Reply
  2. Rawan Bedaia on June 9, 2023 12:37 PM

    Hello, thank you so much for this helpful article.
    However i have a question can i completely omit the battery booster module and use a 9V battery. It was vaguely mentioned but i would like to make sure please.
    Thank you in advance

    Reply

CommentsCancel reply

Latest Posts
ESP32 Fingerprint Attendance System with Live Web Dashboard

ESP32 Fingerprint Attendance System with Live Web Dashboard

June 21, 2026
IoT Based PM & Air Quality Monitoring System using ESP32

IoT Based PM & Air Quality Monitoring System using ESP32

June 14, 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
Top Posts & Pages
  • ESP32 Fingerprint Attendance System with Live Web Dashboard
    ESP32 Fingerprint Attendance System with Live Web Dashboard
  • IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
    IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
  • ESP32 CAN Bus Tutorial | Interfacing MCP2515 CAN Module with ESP32
    ESP32 CAN Bus Tutorial | Interfacing MCP2515 CAN Module with ESP32
  • 12V DC to 220V AC Inverter Circuit & PCB
    12V DC to 220V AC Inverter Circuit & PCB
  • MAX30102 & Arduino: Heart Rate + Blood Oxygen Monitoring
    MAX30102 & Arduino: Heart Rate + Blood Oxygen Monitoring
  • IoT Based ECG Monitoring with AD8232 ECG Sensor & ESP32
    IoT Based ECG Monitoring with AD8232 ECG Sensor & ESP32
  • How to use Modbus RTU with ESP32 to read Sensor Data
    How to use Modbus RTU with ESP32 to read Sensor Data
  • Buck Converter: Basics, Working, Design & Application
    Buck Converter: Basics, Working, Design & Application
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 (205)
    • ESP32 MicroPython (7)
    • ESP32 Projects (82)
    • 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.