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

20250829_131156.jpg
20250829_131138.jpg
20250829_131209.jpg
IMG20250508092755.jpg
IMG20250508200722.jpg
Capture du 2025-04-20 17-17-14.png

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

  1. Percent of full power
  2. Thermometer style percent
  3. Measured current, computed power
  4. 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

Capture du 2025-05-08 09-55-12.png
25747.jpg
Capture du 2025-05-08 09-59-05.png
Capture du 2025-05-08 09-59-28.png
Capture du 2025-05-08 10-00-51.png

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

IMG20250508093642.jpg
IMG20250508094139.jpg
suggpow_flowchart.png

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 ...