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.
| Board | USB | WiFi | BLE |
|---|---|---|---|
| Teensy | Yes | No | No |
| D1 Mini | Yes | Yes | No |
| D32 | Yes | Yes | Yes |
| 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 |
The Teensy board is a carrier board which houses the microcontroller and the INA260 current sensor.
Order this board from OSH Park
| 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 |
- Solder the Teensy to the top side of the board.
- Solder the 8-pin header to the top side of the board.
- Solder the INA260 to the 8-pin header.
- Solder the terminal block to the top side of the board.
This board is a "shield" for the D1 Mini which has an INA260 breakout board mounted on it.
Order this board from OSH Park
| 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 |
- Solder the two 8-pin headers on the underside of the board.
- Solder the 6-pin header to the top side of the board.
- Solder the 2-pin right angle header to the top side of the board.
- Solder the INA260 to the 6-pin header - make sure that V+/V- pins of the INA260 breakout are not connected!
- Install the shield on top of a D1 Mini.
This board is a "shield" for the D1 Mini which has an INA260 directly soldered to it.
Order this board from OSH Park
| 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 |
- Solder the INA260 and the SMD resistors/capacitor to the top side of the board.
- Solder the two 8-pin headers to the underside of the board.
- Solder the 4-pin terminal block to the top side of the board.
- Install the shield on top of a D1 Mini.
This is a carrier board which houses the microcontroller and the INA260 current sensor.
Order this board from OSH Park
| 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 |
- Solder the D32 to the top side of the board.
- Solder the 8-pin header to the top side of the board.
- Solder the INA260 breakout to the 8-pin header.
- Solder the 2-pin terminal block to the top side of the board.
Some things we'd like to add, given the time:
- One modular connector for the front-end instead of four separate wires
Special thanks to weeding-nerdy for their gufu_gud, which was the inspiration for this project.
Footnotes
-
Depends on which board and protocol is in use. ↩








