Battery
Using 18650 Holder Battery with Arduino Uno
What is the 18650 Holder?
18650 Holder practical reference
A basic single-cell 18650 battery holder, the standard building block for portable and battery-powered maker projects. It's simply a molded plastic clip with spring-loaded metal contacts sized for the common 18650 cylindrical Li-ion cell, giving a solderable or wire-lead connection point without needing to solder directly onto the battery itself — which is important, since soldering onto an 18650's bare terminals can damage the cell and is generally discouraged.
Key specifications
- Cell compatibility: Single 18650 Li-ion cell (18mm diameter x 65mm length)
- Contact type: Spring-loaded positive and negative metal contacts, no direct soldering to the cell required
- Output: Raw, unregulated battery voltage — typically 3.0V-4.2V depending on charge state
- Connection: Bare wire leads (usually red/black) or PCB-mount pins, depending on holder style
- Mounting: Surface-mount screw holes or PCB-through-hole pins, model-dependent
- Protection: None built in — holder is purely mechanical; use a protected 18650 cell or add a separate protection/charge circuit (e.g. TP4056) for safe charging and discharge cutoff
Pinout and connection notes
The holder itself provides no charge control or over-discharge protection — pair it with a charge/protection module like the TP4056 (with built-in DW01 protection) if the project charges the cell in place, and always observe correct polarity since 18650 cells can vent or be damaged if reverse-connected.
- + (Positive lead): Connects to the cell's positive terminal via the spring contact
- - (Negative lead): Connects to the cell's negative terminal via the spring contact
Integration checklist
- Confirm the exact part number and breakout-board revision.
- Verify supply voltage, current demand, logic levels, and signal direction against the datasheet.
- Check controller pin assignments and bus address or interface mode against the example code.
- Power up with external loads disconnected, then test signals before full integration.
- If readings or communication fail, check power and ground first, then pin mapping, interface settings, and library initialization.
Troubleshooting and reproducibility
Record the board used, wiring, library/version, supply arrangement, and measured behavior. Use the selected board-specific wiring example as the source of truth. Never assume visually similar modules share identical voltage tolerance or pin order.
Setting Up 18650 Holder with Arduino Uno
Wiring
| Component pin | Arduino Uno pin | Note |
|---|---|---|
| + (Positive lead) | R1 (100k) to A0, R1 also to + | Divider midpoint feeds A0 — keeps max voltage under 5V |
| + (Positive lead) | R2 (100k) from A0 to GND | Second half of the divider — halves the battery voltage before it reaches A0 |
| - (Negative lead) | GND | Common ground |
Swipe sideways to see every column →
A single 18650 cell is 3.0-4.2V, well under the Uno's 5V ADC reference, so a simple 1:1 (equal-value resistor) divider is enough headroom. Do not feed the raw cell voltage into VIN to power the Uno directly — 3.7V nominal is below the onboard regulator's minimum input.
Related Components
AMS1117 33
Fixed 3.3V linear regulator for powering logic-level components.
CN3065
Solar-friendly single-cell Li-ion charger. 4.2 V, 500 mA out of the box.
LiPo 2000mAh
Slim rechargeable LiPo cell for compact wearable and drone builds.
MAX17043
I2C battery fuel gauge that reports accurate state-of-charge — far better than voltage guessing.
Related Guides & Projects
Arduino Uno R4 Minima Pinout: Every GPIO, ADC, DAC, and Op-Amp Pin Explained
A complete Arduino Uno R4 Minima pinout reference — digital I/O, ADC, DAC, op-amp, CAN, dual UART, and exactly what it leaves out compared to the WiFi variant.
Mastering PWM on Arduino: Dimming LEDs and Controlling Motors
Understand what PWM actually is on Arduino, dim an LED smoothly, and safely control a DC motor's speed with a driver chip -- plus the mistakes (like wiring a motor straight to a pin) that damage boards.
4-Digit 7-Segment Counter with TM1637 & Arduino
Drive a TM1637-based 4-digit 7-segment display with Arduino Uno to show a real-time up/down counter, elapsed timer, and scrolling text. Covers library setup, brightness control, and custom segment mapping.
Arduino Uno R4 Minima vs WiFi: Which One Should You Choose?
Same processor, same memory, different price. Here's what the WiFi variant's extra hardware actually gets you, and when the Minima is the smarter buy.