At Oredev, the writer found five neglected Donkey Cars: open-source RC vehicles fitted with Raspberry Pi computers, cameras and a PCA9685 motor controller. Taking them home, they chose to revive one with Nerves and Elixir rather than the project’s original Python software, using the BEAM Bots robotics framework and an existing servo library. With help from coding agents, they got steering, throttle and a camera stream working, then added browser-based dashboard control and a joystick. The first apparent failure was simply a dead battery; the revived car worked once it was replaced. Its camera later stopped functioning, apparently after a collision during a high-speed test.
The project illustrates how readily Elixir’s embedded and robotics tools can be combined: the car could be controlled through a command-line interface or web dashboard, with live video streaming handled by Membrane. The writer is especially enthusiastic about the BEAM’s shared runtime and the ease of assembling libraries into working systems, while acknowledging that agents sped up the work and left some implementation details unexplored. The goal is not simply to drive RC cars. Future experiments might use computer vision to guide them or coordinate multiple vehicles through Erlang distribution, although their limited sensors make sophisticated driving difficult. Four other cars remain to be revived, and the writer is considering practical additions such as fresh batteries, Wi-Fi setup and physical radio controls.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.