E-Cycling Ride Database
- Posted by Senator Mar 11, 2019
- 1132 views
I have had some fun adapting the mydata.ex demo database program to help me monitor my cycling data as well as the functioning of my electrical assist system.
I have a Bafang BBSHD Mid Drive 750w Ebike Kit with a Luna 52v, 24Ah, (50amp continuous, 70amp burst mode) battery.
This is what the output for a record/ride looks like now. Only the 1st 7 fields are logged into the data base. Most of the other information are calculated from the Miles, Starting Battery Voltage, & Ending Voltage fields.
#14: 2019/3/7 {2019,3,7,16} Description: Center Rd to Aimwell Rd.Bob Smith's house Miles: 17.40 Odometer: 179.90 PAS Level: 3.00-- Pedal Assist Level Battery Level: 3.00 -- # of Bars(Charge Level)\\ displayed on Battery at end or ride (3/7) Starting Battery Voltage: 54.50 Charge = 0.744 Ending Battery Voltage: 51.10 Charge = 0.542 ------------------------------------------------------------------------------------------ Next Ride Charge percentage for each LunaDisplay Bar = 10.83 Miles/Bar = 9.31 MIN BARS = ## Recommended Max Range = 27.94 ------------------------------------------------------------------------------------------ Charge 0.542 Used/Ride 0.202 Available 0.342 Volts: 51.100 Used/Ride 3.400 Available 5.740 Floor 45.360 Ah: 13.000 Used/Ride 4.857 Available 8.200 Floor 4.800 Wh 676.000 Used/Ride 252.571 Available 426.400 Floor 249.600 Kwh: 0.676 Used/Ride 0.253 Available 0.426 Floor 0.250 Cost:$ 0.030 Cost/Ah $ 0.006 Cost/Wh 0.000 Cost/Mi $ 0.002 Mi/Ah 3.582 Mi/Wh 0.069 Range 46.775 Remaining 29.375 Simple Electrical Assist Cycle Ride Database 1 = add 2 = delete 3 = find 4 = list -- list db & report to screen 5 = print -- list db & report to file 6 = db_dump 7 = quit #: