A donkey joins the herd
Lars picked up a free Donkey Car at a conference. A standard RC chassis, a Raspberry Pi and a PCA9685 servo board gave him the ingredients for another Beam Bots experiment: getting it to drive around.
It’s a useful reminder that a robot project doesn’t have to begin with designing a robot. Sometimes the hardware is already there, waiting for different software.
What’s doing the work?
The Raspberry Pi runs Nerves, with Beam Bots controlling throttle and steering through the PCA9685 board. Lars also added controls to the LiveView dashboard and a live camera stream using Membrane.
In his November 20 write-up, Lars describes driving from the browser with that camera feed, before the camera failed after a collision. Coordinated driving and computer vision are ideas for further tinkering.
Explore the build
- Lars’s build story: Reviving the Donkey Car with Erlang
- The earlier Beam Bots progress update
- PCA9685 driver source
- PCA9685 package documentation
The build story doesn’t include a repository for this particular car. The driver links are a starting point for your own hardware, rather than the source for Lars’s build.