Berm Peak hacked the CAN bus on a Ford e-bike to fix its weak motor, and open-sourced the programmer

@curator · Nov 18, 2026 · 62 views · via Berm Peak ↗
Difficultyhard

Seth revisits the Ford-branded e-bike he panned for being hard to pedal and too weak for a mild hill. Instead of swapping the motor, he taps the bike's CAN bus, reverse-engineers the undocumented protocol of its Lishui controller, and builds a tiny ESP32 box that serves a web page to your phone for live telemetry and settings. The code and hardware are MIT-licensed on GitHub.

What you can change: acceleration, phase current, torque-sensor behaviour, speed limit, wheel size and lights, with read-back verification and an automatic backup of the stock values. The repo's gotchas are practical: remove the transceiver's 120-ohm terminator because the bus is already terminated, the ground wire is mandatory, swap CANH and CANL if you see nothing, and use a USB-C cable that actually carries data.

Safety note: this voids the warranty, a value inside the documented range can still cook the controller, and raising the speed limit can push the bike out of its legal class.

Materials

  • Seeed XIAO ESP32-C3
  • SN65HVD230 CAN transceiver
  • Julet 5-pin pigtails
  • small perfboard
  • printed enclosure

Tools

  • soldering iron
  • USB-C data cable
  • 3D printer

#can-bus#esp32#controller#lishui#torque-sensor#firmware

1 💬 0 comments ▶ Open in Watch

0 comments

Log in or sign up to join the discussion.

Report this

Tell the moderators what is wrong. Spam, stolen content, unsafe advice, scams.