Measure of Assistance Given by SUGG Electric Bike
by lucberger in Circuits > Arduino
65 Views, 1 Favorites, 0 Comments
Measure of Assistance Given by SUGG Electric Bike






I want to know how much my assisted SUGG bike help me.
The only solution i think is to measure the current from the battery.
Happily, the connectors are standard (XT60E) , so it is easy to put a sensor in the power line.
So: current sensor, converter, and display showing
- Percent of full power
- Thermometer style percent
- Measured current, computed power
- Autoshutdown with displayed time to off and last x seconds 'thermo' and numeric display countdown
The shutdown is done when delta between max and min usage drop below a preset value ( std 0.5 A) for more than 'TimeOutmills'
The mean of current is updated every 'DampingDurmills' ms.
In addition, the 37V converter give 2 USB ports.
Contact me for more informations.
Supplies





Current sensor hall effect :
https://www.gotronic.fr/art-capteur-de-courant-12-5-a-mr392-25747.htm
XT60E connectors:
https://www.aliexpress.com/item/1005007526349818.html
OLED 128x64 SSD1306:
https://www.aliexpress.com/item/32896971385.html
NodeMCU esp8266 (with CP2102)
https://www.aliexpress.com/item/33053690164.html
DC6..40V to 2 x USB :
https://www.aliexpress.com/item/1005008854445547.html
.stl for SSD1306 displaycase for handle bar:
https://github.com/openbikesensor/OpenBikeSensor3dPrintableCase/tree/main/export/Mounting
( As the handlebar display from the OBS project fit perfectly the function, i re-use it )
Schematics



The schematic is really straigforward, the SSD1303 is directly connected to the NodeMCU, and the A0 is used to get the analog measure from the current sensor.
I put a selection entry jumper and potentiometer on the board to be able to check the circuit on the bench.
The circuit is cabled on a proto board. Yes, i need to increase my drawings skills ...