Skip to content

DM101 MilliAmp

Measure and display current consumption in milliamps.

The input voltage limit is 25V. The current consumption can go up to 80 mA, since the on-board 0.1 Ω resistor was replaced with 1.0 Ω to increase the INA226's current sensitivity.

Usage

  1. Connect IO-2 to the target supply (can be a jumper to IO-1 for 3.3V).
  2. Connect IO-3 to the DUT's (device under test) power input, i.e. as Vcc.
  3. Optional: connect IO-4 to the DUT's ground if not grounded elsewhere.

Connections

Left I/O Right Bus
IO-1 3.3V BUS-A LIN
IO-2 Vin BUS-B N/C
IO-3 Vout BUS-C N/C
IO-4 GND BUS-D N/C
GND +3.3V +5V GND
N/C IN N/C

Board

This module was manually constructed using a 7x3 cm proto board.

Components

  • WeAct STM32C011F6 board see GitHub and AliExpress
    • on-board PC14 solder jumper needs to be closed (for use as SDA)
  • INA226 module (AliExpress) - 0.1 Ω sense resistor replaced with 1.0 Ω (80 mA range)
  • 88x48 OLED display (AliExpress) on I2C: PC14 = SDA, PB7 = SCL

Schematics

Software

See https://codeberg.org/jcw/dobb/src/branch/main/mods/dm10x/ina226.cpp.