Open Brain Surgery For EBikes And EScooters

An ebike motor with the controller cover removed. A number of wires and connectors take up most of the space in the cavity.

Personal Electric Vehicles (PEVs) all contain the same basic set of parts: a motor, a battery, a motor controller, some sensors, and a display to parse the information. This simplicity allowed [casainho] to develop a custom controller setup for their own PEVs.

Built around the venerable VESC motor controller, [casainho]’s addition is the EBike/EScooter board that interfaces the existing motor of a device to the controller. Their ESP32-powered CircuitPython solution takes the sensor output of a given bike or scooter (throttle, cadence, or torque) and translates it into the inputs the controller uses to set the motor power.

They’ve also designed an ESP32-based display to interface the rest of the system to the user while riding. Since it also runs CircuitPython, it’s easy to reconfigure the functions of the three button device to display whatever you’d like as well as change various drive modes of your system. I know I’d love to see my own ebikes have a different mode for riding on road versus on shared paths since not getting run over by cars and not harassing pedestrians aren’t going to have the same power profile.

If you want to find more ways to join the PEV revolution, check out this wild omni-wheeled bike or this solar car built from two separate e-bikes. If that doesn’t suit your fancy, how about an off-label use for an e-bike battery to power your laptop off grid?

7 thoughts on “Open Brain Surgery For EBikes And EScooters

    1. I’ve heard ‘shell heads’ but ‘sidewalk garbage’ is harsh.

      Even for TourDeFrog LARPing 1 cm, 20 bar tire idiots.
      They never ride sidewalks (or bikelanes), the first pebble would flatten the tires. Then they’d have to walk on their clip in shoes. Fun.

  1. Be very careful with these LiOn battery-powered devices. I know totally off-topic, but we’re just surviving a kitchen fire do to a run away LiOn powered DustBuster.

    LiOn battery fires have been getting a lot of press lately as they should. Cheap LiOn batteries are killing people.

    We don’t charge these things when we’re not home. Maybe you should have a “charging place” where if it’s going to have a fire, you can just let it burn. I think the most dangerous time is during charging. So don’t let it sit on the charger.

    Stay safe.

  2. Be very careful with these LiOn battery-powered devices. I know totally off-topic, but we’re just surviving a kitchen fire do to a run away LiOn powered DustBuster.

    LiOn battery fires have been getting a lot of press lately as they should. Cheap LiOn batteries are killing people.

    We don’t charge these things when we’re not home. Maybe you should have a “charging place” where if it’s going to have a fire, you can just let it burn. I think the most dangerous time is during charging. So don’t let it sit on the charger.

    Stay safe.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.