Idea
In short
How do you build an e-bike battery and power meter?
A shunt and an INA226 measure current and voltage of a 36 V e-bike battery and show watts, Wh used and range. You need Arduino Nano, INA226 current and power monitor, Shunt resistor 0.1 Ω 2 W, SSD1306 OLED Display and DC-DC step-down 24 V to 12 V 10 A.
- Level
- Intermediate
- Time
- About 240 min
- Parts
- 5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Measure high-side power and estimate range.
Parts list
- Development Boards
- Sensors
- PassivesUse a 2 mΩ shunt for 20 A
- Displays
- PowerUse a buck that accepts 42 V
How to build it
- Fit a low-value shunt in the battery lead
- Set the INA226 calibration for that shunt
- Integrate watt-hours
- Estimate range from recent Wh per km
- Fuse every connection
Common questions
What parts do I need for the e-bike battery and power meter?
Arduino Nano, INA226 current and power monitor, Shunt resistor 0.1 Ω 2 W, SSD1306 OLED Display and DC-DC step-down 24 V to 12 V 10 A. Shunt resistor 0.1 Ω 2 W: Use a 2 mΩ shunt for 20 A. DC-DC step-down 24 V to 12 V 10 A: Use a buck that accepts 42 V.
How long does the e-bike battery and power meter take to build?
About 240 minutes for a intermediate maker.
