Commuter with G310, VESC, and DieBieMS

Show off your E-bike creation here.
Post Reply
drdrs   10 mW

10 mW
Posts: 23
Joined: Jun 10 2018 11:55am

Commuter with G310, VESC, and DieBieMS

Post by drdrs » Jan 19 2020 4:14pm

This donor bike is a rigid commuter that I welded up several years ago and recently electrified. It has

- Bafang G310 rear hub motor
- Flipsky FSESC 4.20 controller (based on VESC 4.12)
- 12s3p HG2 battery with Vruzend 2.1 caps and DieBieMS BMS
- CAN bus display with battery and controller data
- Joystick throttle underneath drop bar tops
- Single MDF backplane for electrical components in front triangle
2020-01-19-Kiko.jpg
2020-01-19-Kiko.jpg (431.88 KiB) Viewed 871 times
I've used 1/8 inch medium density fiberboard (MDF) to create a rigid mount for the bms and controller. The batteries rest on the bottom of the padded bag. I've drilled mounting holes and cable tie holes to keep the wiring fixed in place. All of the connections for the display, throttle, and ignition switch are at the top corner of the board.
2020-01-19-backplane-1.jpg
2020-01-19-backplane-1.jpg (259.17 KiB) Viewed 871 times
The display takes advantage of the CAN bus outputs from the controller and BMS. The DieBieMS has two CAN bus connectors. One is wired to the controller, the other to the display. The purple board is a custom PCB with the CAN bus chips and a real time clock. The display is from Adafruit. It mates with an Arduino mega and has switches and a SD card built in. The display has four wires, two for 5V power and ground, two for CAN bus high and low.

This allows me to monitor the balance of my pack any time the display is on. The two bottom bars in the photo are the low and high cell row voltages. If the pack is drifting out of balance, it will be visible on the main dashboard. I've also implemented a screen that shows the high and low cell row voltages as well as the pack current and battery temperature to allow me to monitor the battery charging.
2020-01-19-dashboard.jpg
2020-01-19-dashboard.jpg (168.86 KiB) Viewed 871 times
Currently the bike is throttle only. I'm trying a joystick throttle mounted on the underside of the tops of the bar. I pull the joystick forward with my fingers so it feels like a normal throttle motion.
2020-01-19-drop-throttle.jpg
2020-01-19-drop-throttle.jpg (217.95 KiB) Viewed 871 times

Post Reply