|
|
STM32G071KBU6 Microcontroller |
x 1 | |
|
|
128x64 OLED Display Module |
x 1 | |
|
|
MAX4239AUTMaxim
|
x 1 |
|
fritzing |
Build Your Own Precision Digital Micro-Current Meter with STM32
In many electronic projects — especially those involving battery-powered devices or low-power sensors — being able to precisely measure extremely small currents (microamps or even nanoamps) is very useful. This project describes how to build a compact, accurate digital micro-ampere meter using a small microcontroller, high-precision analog front end, and an OLED display. The result is a portable, bench-ready tool that offers lab-grade current measurements.

✅ What Makes This Meter Stand Out
Uses a modern microcontroller (STM32G071KBU) for accurate data acquisition and processing. Circuit Digest
Provides multiple measurement ranges — from nanoamps (nA) to microamps (µA) and up to milliamp (mA) — making it versatile for a wide variety of circuits.
Has a built-in 128×64 OLED display for real-time digital readouts, allowing you to see current measurements immediately and clearly. Circuit Digest
Compact design with a custom PCB and optional 3D-printed enclosure, making it practical for bench use or portable carrying. Circuit Digest+1
Powered via USB-C or a LiPo battery, with a built-in charger and soft-power switch for convenience.
Because of these features, this micro-ampere meter is much more precise and user-friendly than a basic multimeter when it comes to measuring very small currents — perfect for testing low-power devices, measuring sleep currents, or evaluating the efficiency of battery-powered modules.

🛠️ Core Components and Hardware Design
Some of the main components used in this design include: Circuit Digest+1
The STM32G071KBU microcontroller handles analog-to-digital conversion, processing, display control, and power management. Circuit Digest
A 128×64 OLED display module (connected via I2C) — shows current readings and battery status on a crisp screen. Circuit Digest+1
Precision operational/instrumentation amplifiers such as MAX4239 (ultra-low offset auto-zero op-amp) and INA333 (instrumentation amplifier) — used for amplification of the tiny voltage drop across sense resistors, ensuring accurate conversion of current to a measurable signal.
A set of precision resistors “shunts” configured for different ranges (nA, µA, mA) to handle very different currents while keeping the burden voltage low.
Range-selection switch (e.g. a DP3T selector) to manually select between measurement ranges.
Power management circuitry: USB-C input for external power, LiPo battery + charger IC (e.g. LTC4054ES5 charger), low-dropout regulator (e.g. ADP44002) for stable analog supply, and a soft-latch MOSFET-based power switch for easy on/off control.
A custom PCB (for compactness and stability), and optionally a 3D-printed enclosure to house the electronics neatly, making it a portable and professional-looking tool.
The layout on the PCB is carefully arranged to minimise noise and interference, which is critical when you're measuring very small currents. Analog ground planes, short signal paths, and proper placement of analog vs digital parts — all contribute to stable, accurate measurement.

🔬 How It Works: Measuring Tiny Currents Accurately
At a high level, the circuit works by using precision shunt resistors to convert a tiny current into a small voltage drop. Because the currents being measured might be in the nanoamp or microamp range, the resulting voltage is very small, so the circuit uses ultra-low offset, low-noise amplifiers to boost that voltage to a level that the microcontroller’s ADC can reliably digitise.
The design is inspired by well-known low-current measurement architectures (like the classic “µCurrent” style), where multi-range sensing and auto-zero amplifiers help achieve high accuracy, low noise, and negligible burden voltage — meaning the meter itself doesn’t significantly affect the circuit under test.
Once the analog signal is amplified and conditioned, the STM32 microcontroller reads the voltage, converts it to the corresponding current based on the selected range (and known shunt resistor value), then displays the result on the OLED in real time. The firmware also handles battery monitoring, soft-power control, calibration routines, and more.
Because of the careful design — from the analog front-end to the ADC code — this meter can reliably detect currents from the nanoamp scale up through milliamp — a much broader and more precise range than most off-the-shelf ammeters.

🎯 Why This is Useful & Who It's For
This digital micro-ampere meter is ideal for:
Embedded-system developers or hobbyists testing ultra-low-power devices (sleep-mode currents, battery drain, sensor nodes).
Anyone needing precise current measurements far below what a standard multimeter can reliably read.
PCB designers or power-sensitive circuit developers who want to debug, monitor, or optimise power consumption.
Labs or workbenches where a portable, battery-powered, neatly enclosed meter makes experiments easier.
Because the design is open (schematics, PCB layout, code, enclosure), you can customise it — e.g. adapt for different current ranges, add extra features (logging, USB output, more accurate calibration), or integrate into your own projects.
📝 Conclusion
Building this Precision Digital Micro Current Meter offers a practical, polished tool for anyone dealing with low-power electronics. With a smart selection of components, careful analog design, and a modern STM32 core, the project delivers accurate, real-time, multi-range current measurement, packaged in a compact, portable form factor.
Build Your Own Precision Digital Micro-Current Meter with STM32
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(1)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Jobit Joseph
-
How to build a Wearable Air Quality Monitor Pendant using STM32 & SGP40 Sensor
This DIY Wearable Air Quality Monitor Pendant is a compact, battery-powered device designed to conti...
-
Smart Digital Ludo Game Board with Multicolour PCB
Ludo, a beloved childhood game, holds a special place in our hearts with its simple and engaging gam...
-
Electronic Dice with BLE Connectivity
Many of us fondly remember the joy of playing board games like Snakes and Ladders or Ludo during our...
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
3D printed Enclosure for Riden RD60xx power supplies such as RD6006, RD6012, RD6018, RD6024 and RD60...
-
3D printed Enclosure for Riden RD60xx power supplies
3D printed Enclosure for Riden RD60xx power supplies such as RD6006, RD6012, RD6018, RD6024 and RD60...
-
Suzuki Ignis Universal Armrest No Screw Adapter
I own a 2024 Suzuki Ignis. When I searched for an armrest for my car I couldn't find any domesticall...
-
Wireless Potentiostat for Electrochemical Analysis
This wireless potentiostat is based on the ADuCM355 SoC from Analog Devices, tailored for portable e...
-
160 Channel Configurable DAC Controller
The DAC controller board features 160 individually controllable 16-bit DAC output. It can output vol...
-
Build Your Own Precision Digital Micro-Current Meter with STM32
In many electronic projects — especially those involving battery-powered devices or low-power sensor...
-
DIY Meshtastic Using ESP32 : Build Your Own Private Off-Grid Network
Project OverviewThis project delivers a complete, custom-designed PCB solution for building Meshtast...
-
Second PCB for ESP32 Smart Watch
This project contains two PCBs, this is the Second PCB,and there is a Main PCB, please click https:/...
-
1S battery Charger with Battery level indicator and power path
1S Battery Charger with Battery level indicator and 5V out and standby mode.
-
Smart Universal Remote with Learning Function and Google Assistant Support
In our day-to-day life, we use various gadgets such as televisions, set-top boxes, air conditioners,...
-
High-Resolution POV Display using ESP32
In this guide, we'll learn how to create a cool POV display using an ESP32 module. It's all about us...
-
Low Cost Drone using ESP32
Drones have rapidly evolved from niche hobbies to versatile tools with a wide range of applications,...
-
DIY Thermal Camera
Ditch X-ray vision, thermal cameras are the real industrial superheroes! They don't just see light, ...
-
ESP32 Smart Watch
This project contains two PCBs, this is the Main PCB, and there is a Second PCB, please click https:...
-
ESP32 S3 Touch Screen Console for IoT and HMI applications
Welcome to the ESP32 Touch Screen Console project for IoT and HMI applications! In this project, we ...
-
-
AEL-2011 Power Supply Module
322 0 1 -
AEL-2011 50W Power Amplifier
296 0 1 -
-
-
Custom Mechanical Keyboard
565 0 0 -
Tester for Touch Screen Digitizer without using microcontroller
230 2 2 -
Audio reactive glow LED wristband/bracelet with NFC / RFID-Tags
236 0 1 -
-
-







