Current Work

We have redesigned the software and electronic layout for the trikes. The wiring in the drive-by-wire version 4 system had gotten messy and unreliable. The old system was on https://github.com/elcano/Drive-by-wire-version-1-4 It got even messier when we tried to add Jetson Nano and Pixhawk. DBW had jumper wires connecting to the SD card, RC receiver and real-time clock. There were too many voltage converters in the box. The connectors for steering and throttle did not have readily available mating cables. Steering has been a problem since the expensive linear servo often fails. A cheaper linear actuator is robust and students spent two years building an H-bridge circuit that could use the more reliable actuator, but the H-bridge never quite worked. We then discovered that the Arduino motor control shield can drive the actuator when it has an external 12-V supply.


A green box with black text reading Photo Coming Soon!

The version 5 PCB has been redesigned so that the SD, real-time clock and RC receiver plug into the board. The steering and throttle connectors have been replaced by RJ-45 connectors and we have added a third connector for an operator joystick, enabling a driver. The two trikes now have identical systems. The electronics are packaged into three boxes:

  1. A box near the batteries sends 36V power to the e-bike controller and passes 24V on to DBW.
  2. The Drive-by-wire box converts the 24V to 12V. The brake relays use both 12 and 24V. The 12V goes to steering and the DBW board, where the Arduino Due converts it to 3, 3V.
  3. A new box houses the Jetson Nano, Pixhawk and CAN distribution. A buck converter changes the 12V to 5V for the microprocessors.

A green box with black text reading Photo Coming Soon!

Software had gotten equally messy. Backward compatibility was eliminated, Major sections were rewritten and reorganized. The new system is on https://github.com/elcano/V5_Drive-by-wire with code for the Jetson Nano on https://github.com/elcano/JetHawk.


Future work will demonstrate two trikes coupling while in motion, driving together and then separating. Students have developed the couple (https://github.com/elcano/Docking) and a sensor that measures the distance between vehicles (https://github.com/elcano/Docking) More information is on the Docking tab.