I decided to update my Opensource DIY EBike, mainly because I am using a better display now, a monochromatic instead of an OLED. This new one is much better to see on outdoors as also is bigger - I am being using this display and firmware on my Fiido Q1S scooter, since one year ago.
A bit more details of the project:
EBike Bafang M500 mide drive motor: VESC + DIY ESP32 board running Pyhton firmware | VESC Project
I am sharing the OpenSource schematics for this DIY EBike / ESCooter electronics and software, here on github:
GitHub - OpenSourceEBike/EBike_EScooter_modular_DIY: EBike / EScooter app developed in CircuitPython, to control a motor by sending commands to VESC motor controller
I had to open the motor plastic 3D printed enclosure to have access to the VESC motor controller + ESP32 board. The plastic glue I used was great, no signs of water inside!!
I had to update the firmware, as for this new display communications I am using ESP32Now wireless instead of the previous UART wired communication. And while I was doing that, I also updated the VESC firmware and run again the motor parameters detection - everything went great!!
On the display, I am only showing 3 variables: Battery voltage (to mentally compute the battery SOC); Assist level and Motor Power.
I have configured the system to use max of 15 battery amps, so with my 48V battery, it is about max of 750W!!
Pictures of the old display, working perfectly, no water inside although with a lot of rust on the metallic screws:
On the new display I also now use the ESP32-C3 instead of ESP32-S2, because C3 uses about half the power which is important due to the nature of this DIY boards. Also this ESP32-C3 board is smaller:
The new display is bigger although uses the same 128x64 pixels, so I had nothing to change on the firmware:
I updated my seated scooter display firmware, I will probably follow the same design and improve for my EBike.
The current design of the main screen. Big numbers for the current wheel speed!! A graph bar to represent the current motor power, between 0 and 2000 watts. With smaller numbers, the current time. And I need to work the battery SOC value.