Skip to content

powerprof/hardware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PowerProf Hardware Resources

PowerProf is a current monitor for embedded systems. You can use it to get accurate current consumption data for any workload or operating conditions, and then use that information to design battery-based systems with just the right amount of capacity.

There are currently three supported microcontrollers - the Teensy 3.6, the LOLIN D1 Mini, and the LOLIN D32. The Teensy version supports communication over USB, the LOLIN D1 Mini supports USB and WiFi, and the LOLIN D32 supports USB, WiFi, and BLE. All boards use the INA260 current sensor from Texas Instruments. There are two variants of the LOLIN D1 Mini board - one uses the INA260 breakout board from Adafruit, and the other uses an INA260 directly.

Protocol Support

Board USB WiFi BLE
Teensy Yes No No
D1 Mini Yes Yes No
D32 Yes Yes Yes

Specifications

Name Absolute Typical
Measurement Voltage -0.3V - 40V 0 - 36V
Measurement Current 0 - 15A 0 - 10A
Voltage Resolution 1.25mV
Current Resolution 1.25mA
Power Resolution 10mW
Sample Rate 110Hz - 6.494kHz 110Hz - 1kHz
Supply Voltage 5V 5V
Supply Current 30-500mA 100mA1

Wiring Diagrams

wiring diagram

Teensy

The Teensy board is a carrier board which houses the microcontroller and the INA260 current sensor.

Order this board from OSH Park

Schematic

teensy schematic

Board

teensy board

BOM

Mfg Name Qty Buy
PJRC Teensy 3.6 1 Link
Adafruit INA260 Breakout 1 Link
TE Conn. 282834-2 1 Link
DuPont 8-pin 2.54mm Header 1

Assembly

  1. Solder the Teensy to the top side of the board.
  2. Solder the 8-pin header to the top side of the board.
  3. Solder the INA260 to the 8-pin header.
  4. Solder the terminal block to the top side of the board.

LOLIN D1 Mini

r1 - INA260 Breakout

This board is a "shield" for the D1 Mini which has an INA260 breakout board mounted on it.

Order this board from OSH Park

Schematic

d1 mini schematic

Board

d1 mini board

BOM

Mfg Name Qty Buy
LOLIN D1 Mini 1 Link
Adafruit INA260 Breakout 1 Link
DuPont 8-pin 2.54mm Header 2
DuPont 6-pin 2.54mm Header 1
DuPont 2-pin Right Angle 2.54mm Header 1

Assembly

  1. Solder the two 8-pin headers on the underside of the board.
  2. Solder the 6-pin header to the top side of the board.
  3. Solder the 2-pin right angle header to the top side of the board.
  4. Solder the INA260 to the 6-pin header - make sure that V+/V- pins of the INA260 breakout are not connected!
  5. Install the shield on top of a D1 Mini.

r2 - INA260 Onboard

This board is a "shield" for the D1 Mini which has an INA260 directly soldered to it.

Order this board from OSH Park

Schematic

d1 mini schematic

Board

d1 mini board

BOM

Mfg Name Qty Buy
LOLIN D1 Mini 1 Link
Adafruit INA260 Breakout 1 Link
DuPont 8-pin 2.54mm Header 2
TI INA260AIPWR 1 Link
Bourns CR0201AFW-1002GAS 4 Link
Samsung CL03A105MQ3CSNH 1 Link

Assembly

  1. Solder the INA260 and the SMD resistors/capacitor to the top side of the board.
  2. Solder the two 8-pin headers to the underside of the board.
  3. Solder the 4-pin terminal block to the top side of the board.
  4. Install the shield on top of a D1 Mini.

LOLIN D32

This is a carrier board which houses the microcontroller and the INA260 current sensor.

Order this board from OSH Park

Schematic

d32 schematic

Board

d32 board

BOM

Mfg Name Qty Buy
LOLIN D32 1 Link
Adafruit INA260 Breakout 1 Link
TE Conn. 282834-2 1 Link
DuPont 8-pin 2.54mm Header 1

Assembly

  1. Solder the D32 to the top side of the board.
  2. Solder the 8-pin header to the top side of the board.
  3. Solder the INA260 breakout to the 8-pin header.
  4. Solder the 2-pin terminal block to the top side of the board.

Roadmap

Some things we'd like to add, given the time:

  • One modular connector for the front-end instead of four separate wires

Acknowledgements

Special thanks to weeding-nerdy for their gufu_gud, which was the inspiration for this project.

Footnotes

  1. Depends on which board and protocol is in use.

About

Schematic and wiring information for PowerProf hardware.

Resources

License

Stars

Watchers

Forks

Contributors