Get 10%Off on your first order - Use Code MATRIXON10
Explore DIY Projects & PCB Gerber Files
Battery voltage vs percentage battery level indicator for Arduino

How to Calculate Battery Percentage Using the MX1BM1 Module

Want to show a battery percentage indicator on your Arduino or ESP32 project ?

With the MX1BM1-Battery Level Monitor Module, you can easily measure battery voltage and convert it into a battery percentage (0–100%).

 

This tutorial explains how to:

  • Read the battery voltage using MX1BM1 Module
  • Convert the voltage into percentage
  • Display it in Serial Monitor or on an OLED screen
  • What You’ll Need

 

Components:

  • MX1BM1 Battery Level Monitor Module
  • ESP32 or Arduino board
  • 1S LiPo / Li-ion battery (3.0V – 4.2V range)
  • Breadboard and jumper wires
  • (Optional) OLED display for on-screen battery indicator

Download Gerber Files | Read Full Datasheet

 

How the Module Works

The MX1BM1 module safely scales your battery voltage (3.0 – 5.2V) down to a level your 3.3V ADC can read.

It uses a 100kΩ + 10kΩ resistor divider, meaning the output voltage is:

Then, your microcontroller reads VCL and reconstructs the actual battery voltage.

 

Battery Voltage vs Percentage Chart (1S LiPo Battery)

Voltage (V)

Percentage (%)

4.2

100%

4.1

90%

3.95

80%

3.85

70%

3.8

60%

3.75

50%

3.7

40%

3.6

30%

3.5

20%

3.4

10%

3.2

0%

Note: LiPo cells are not perfectly linear, but this mapping gives a good approximation for battery indicators.

 

Circuit Setup

Connections (Arduino Example):

  • VBAT → Battery +
  • GND → Battery – & GND
  • EN → D5 (or any GPIO)
  • CL → A0 (ADC pin on arduino)

Example Arduino / ESP32 Code

#define EN_PIN 5

 

#define CL_PIN A0

void setup() {

 pinMode(EN_PIN, OUTPUT);

 digitalWrite(EN_PIN, LOW);

 Serial.begin(9600);}

void loop() {

 digitalWrite(EN_PIN, HIGH);   // Enable module

 delay(5);                     // Wait for stable output

 int raw = analogRead(CL_PIN); // Read ADC value

 digitalWrite(EN_PIN, LOW);    // Disable module

  // Voltage divider: R1 = 100k, R2 = 10k

  // Divider ratio: CL = VBAT * (10 / 110) = VBAT * 0.0909

  // So, VBAT = CL / 0.0909

 float v_adc = raw * (3.3 / 4095.0);// ADC(assuming 12-bit ADC and 3.3Vref)

 float battery_voltage = v_adc / 0.0909; // Reconstruct battery voltage

 Serial.print(“Battery Voltage: “);

 Serial.print(battery_voltage, 2);       // 2 decimal places

 Serial.println(” V”);

 delay(1000);}

Applications

  • Battery level monitoring in IoT sensors
  • Smart gadgets with on-screen battery percentage
  • Power banks or portable tools
  • Robots, drones, and RC systems
  • Battery-powered ESP32 or Arduino devices

 

Tips for Accurate Readings

  • Use a 10µF capacitor (already on the MX1BM1 module) to stabilize readings.
  • Calibrate your ADC reference if accuracy is critical.
  • Take multiple readings and average them to reduce noise.
  • Disable the divider (EN LOW) when not in use to save battery.

Conclusion

Using this MX1BM1 Battery Level Monitor Module you can easily measure battery voltage and display battery percentage in any Arduino or ESP32 project. It’s compact, accurate, and perfect for IoT, wearables, and battery-powered electronics.

Get your Datasheet in PDF

Battery Level Monitor Module Gerber Files – MX1BM1 | Battery Voltage Indicator PCB Design

Original price was: ₹1,499.00.Current price is: ₹499.00.

A compact 4-pin module for monitoring battery voltage (3–5.2V) using an ADC, with enable function ideal for 1S LiPo and USB-powered projects.

Add to Wishlist
Add to Wishlist
SKU: MX1BM1 Categories: , Tag: Brand:

Description

Disclaimer (Digital Product) This product is a digital production pack, not a physical or assembled PCB. You will receive Gerber files, BOM, Schematics and documentation required to manufacture the PCB Module. No physical boards are shipped.

Download Product Datasheet:  Download Now

Overview

The MX1BM1 Battery Level Monitor Module Gerber Files package provides a compact, low-power battery voltage monitoring PCB design for embedded systems, IoT devices, and battery-powered electronics. This board is designed to safely measure battery voltages ranging from 3.0V to 5.2V, making it suitable for 1S LiPo, Li-ion batteries, and USB-powered systems.

This battery level monitor PCB uses a precision voltage divider circuit combined with a MOSFET-based enable control, allowing developers to measure battery voltage only when required. This approach dramatically reduces standby current and makes the design ideal for deep-sleep applications and low-power battery management systems.

The module outputs a scaled analog voltage that can be directly connected to the ADC pin of popular microcontrollers such as ESP32, ESP8266, ESP32-C6, STM32, Arduino, and Raspberry Pi Pico. The design ensures ADC-safe voltage levels while maintaining measurement accuracy.

If you are searching for battery level indicator PCB Gerber files, battery monitoring circuit design, voltage divider PCB, or battery management design files, this module is a ready-to-manufacture solution.

Key Features

  • Supports 3.0V to 5.2V battery input (VBAT)
  • Optimized for 1S LiPo, Li-ion, and USB power sources
  • Enable-controlled voltage divider for ultra-low power consumption
  • Clean, stable ADC output using a 10 µF smoothing capacitor
  • Scaled analog output safe for 3.3V ADC microcontrollers
  • Standard 2.54mm 4-pin header for breadboard and jumper wire use
  • Compact, space-saving PCB layout
  • Designed for makers, hobbyists, engineers, and product developers

Applications

The MX1BM1 Battery Level Monitor Module is ideal for:

  • Battery-powered IoT devices
  • Wireless sensor nodes
  • Low-power embedded systems
  • Battery level reporting and telemetry
  • Wearable electronics
  • USB-powered diagnostic tools
  • Battery cutoff and protection logic
  • Prototyping battery management circuits
  • Educational and DIY electronics projects

This PCB design is especially useful for developers building battery management systems, portable electronics, and energy-efficient microcontroller projects.

What You Will Receive (Digital Download)

This product pack will include:

  • PCB Gerber Files
  • Bill of Materials (BOM)
  • Pick and Place (CPL)
  • Example Arduino code for battery voltage reading
  • Full product datasheet
  • Documentation pack (README, License, T&C)

These files can be directly uploaded to PCB manufacturers such as JLCPCB, PCBWay, other manufacturers for fabrication.

Why Choose This Battery Level Monitor Module?

Unlike generic voltage divider circuits, the MX1BM1 design focuses on power efficiency, ADC safety, and real-world usability. The enable-controlled divider ensures minimal battery drain, making it suitable for production-grade designs, not just prototypes.

Whether you are a hobbyist looking for a reliable battery level indicator PCB or an engineer searching for ready-made battery monitoring Gerber files, this module saves design time and reduces risk.

Electrical Specifications

Input Voltage Range (VBAT): 3.0 V – 5.2 V Supported Battery Types:
  • 1S LiPo
  • 1S Li-ion
  • USB-powered sources
Output Signal: Scaled analog voltage (ADC-compatible) Divider Ratio: ~0.0909 (VBAT → CL) ADC Compatibility: Safe for 3.3 V ADC inputs Enable Control: Yes (MOSFET-gated divider for low-power operation) Standby Current: Near-zero when disabled (dependent on MOSFET leakage)

Pinout Description

Pin Label Function
1 VBAT Connect to battery or input voltage (max 5.2V)
2 GND Ground connection
3 EN Enable control (active HIGH, 3.3V logic)
4 CL Scaled analog voltage output to MCU ADC

PCB Layout & Dimensions

Parameter Value
Board Size 12mm x 10mm
Layers 2
Components Placement Top layer (Single side)
Pin Pitch 2.54mm
Pin Header 1×4 Male

Reviews

There are no reviews yet.

Be the first to review “Battery Level Monitor Module Gerber Files – MX1BM1 | Battery Voltage Indicator PCB Design”

Your email address will not be published. Required fields are marked *


Leave a Reply


Shopping cart

0
image/svg+xml

No products in the cart.

Continue Shopping