Built-in module for 18650 batteries with charger and 5V step-up, for hobbyists and professionals.
SKU: OT5781 Article number: YA856 EAN: 8720828223765 Location: F01.07
How to connect the 18650 Battery Holder with Charger and 5V Step-up Module (USB-C) to an Arduino UNO or ESP32, with an example sketch you can upload straight away.
This setup demonstrates how to power the Arduino Uno portably using the 18650 battery shield with built-in 5V boost converter. The shield boosts the battery voltage to a steady 5V output and feeds it directly into the Arduino 5V and GND pins. The built-in LED blinks and heartbeat status messages are sent over serial to confirm continuous power delivery.
/*
* ==================================================================
* Generated by Codey.online — https://www.codey.online
* ==================================================================
* Project : Powering Arduino Uno with 18650 Battery Shield
* Board : Arduino UNO (arduino:avr:uno)
* Parts : 18650 Battery Shield with USB-C Charger and 5V Boost Converter
* Libraries : none (built-in)
*
* Codey Online is an AI-powered browser IDE for Arduino and ESP32.
* Describe your project and Codey writes the code, draws the wiring
* diagram and uploads it to your board, straight from the browser.
* This code is free to use, modify and share, without warranty.
* ==================================================================
*/
// Powering Arduino Uno from 18650 Battery Shield with 5V Boost Converter
const int LED_PIN = 13;
void setup() {
pinMode(LED_PIN, OUTPUT);
Serial.begin(115200);
Serial.println(F("18650 Battery Shield 5V Power Demo"));
Serial.println(F("Arduino Uno is running from the shield's 5V UPS output."));
}
void loop() {
// Blink onboard LED to visually confirm operation while on battery
digitalWrite(LED_PIN, HIGH);
delay(500);
digitalWrite(LED_PIN, LOW);
delay(500);
Serial.println(F("Operating normally on battery power..."));
}
Wiring diagram and example code generated by Codey.online — https://www.codey.online
This setup powers the ESP32 directly from the 18650 battery shield using its 5V boosted UPS output. The module supplies regulated 5V power from the battery and supports charging via USB-C without interrupting power to the ESP32. The sketch blinks the onboard LED and reports uptime over the Serial Monitor to show steady portable operation.
/*
* ==================================================================
* Generated by Codey.online — https://www.codey.online
* ==================================================================
* Project : ESP32 18650 UPS Battery Shield Demo
* Board : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
* Parts : 18650 Battery Shield with USB-C Charger and 5V Boost Converter
* Libraries : none (built-in)
*
* Codey Online is an AI-powered browser IDE for Arduino and ESP32.
* Describe your project and Codey writes the code, draws the wiring
* diagram and uploads it to your board, straight from the browser.
* This code is free to use, modify and share, without warranty.
* ==================================================================
*/
const int LED_PIN = 2;
unsigned long lastReport = 0;
void setup() {
Serial.begin(115200);
pinMode(LED_PIN, OUTPUT);
Serial.println("ESP32 powered by 18650 Battery Shield!");
Serial.println("Running portable test...");
}
void loop() {
// Blink the onboard LED
digitalWrite(LED_PIN, HIGH);
delay(500);
digitalWrite(LED_PIN, LOW);
delay(500);
// Report status every 2 seconds
if (millis() - lastReport >= 2000) {
lastReport = millis();
unsigned long seconds = millis() / 1000;
Serial.print("Battery-powered uptime: ");
Serial.print(seconds);
Serial.println(" s");
}
}
Wiring diagram and example code generated by Codey.online — https://www.codey.online
This advanced 18650 battery holder, with integrated charger and 5V step-up module, is designed for electronics hobbyists and professionals who need reliable power supply without compromising on technical specifications. It is a built-in module that offers high performance and battery protection.
NOTE: This module must be equipped with a button to switch it ON/OFF.
Technical Specifications:
Features and Benefits:
Reliable Performance: The 18650 battery holder delivers a stable 5.1V output, which is ideal for electronic circuits and devices that require a constant power supply.
Battery Protection: The built-in 2.6V cutoff function protects your 18650 battery from deep discharge, extending battery life and preventing damage.
Efficient Charging: The integrated charging circuit ensures efficient and safe charging of your battery, with a charging voltage of 4.2V.
Easy Installation: This module is designed for seamless integration into your electronic projects, allowing you to achieve reliable power supply.
Wide Compatibility: The USB-C connection makes it easy to integrate this module into various electronic applications.
This technical 18650 battery holder is the ideal choice for electronics hobbyists and professionals who need reliable and technically advanced power supply. With a focus on performance and protection, this module will meet your expectations and be a valuable addition to your projects.
Dimensions:
Length: 90mm
Width: 21.7mm
Height: 28.3mm

| Dimensions | Compact built-in module for seamless integration into electronic projects |
|---|---|
| Width | 21.7 mm |
| LED indicator | Charging status indicator for visual feedback |
| Input voltage | 5V (via USB-C port) |
| Output voltage | 5.1V (Stable 5.1V step-up output regardless of battery charge) |
| Length | 90 mm |
| Connectivity | USB-C connection for broad compatibility |
| Height | 28.3 mm |
| Charging current | Integrated charging circuit for efficient and safe charging |
| Output current | Max. 1000mA |
| Battery type | Suitable for 18650 Li-Ion batteries (not included) |
| Battery protection | Cutoff function at 2.6V to prevent deep discharge |
| Battery charging voltage | 4.2V |
Unfortunately no pass-through (charging and discharging at the same time). Charging current approx. 1100 mA with a half-charged battery. Otherwise works perfectly.
18650 Battery Holder with Charger and 5V Step-up Module (USB-C)