Civilian RC Car Uses Lego NXT and Ada

Civilian RC Car Uses Lego NXT and Ada

Back in the last century, the US Department of Defense declared that Ada was going to be used everywhere and for everything. Books were published, schools build curriculum. Working programmers, however, filled out waivers to continue working in their languages of choice. As a result, only a little bit of safety-critical software really used Ada. However, we’ve noticed a bit of a resurgence lately. Case in point: an RC car using Ada for the brains. You can watch it tool around in the video below.


This isn’t the first time we’ve heard about Ada in the past few months. Partially, this could be because of the availability of the GNU compiler, although that’s been around since 1995, so maybe there’s another explanation. Ada’s strong typing does tend to plug holes that hackers exploit, so while we would hate to say it is hack proof, it certainly is hack resistant compared to many popular languages.

The car looks like a fun project. They started with the Lego NXT but replaced the controller. Using the HiTechnic design gives you a motion base that has Ackerman steering and a differential on the drive wheels. The original design used an IR receiver to talk to a Lego remote, but the Ada version adds a Bluetooth connection, as well.


For the replacement CPU, a $15 Discovery board puts a Cortex M4 running at 168 MHz onboard. A smattering of 3rd party modules and some parts in an Altoid tin completed the electronics portion of the car.


In case you miss all the Arduino-provided libraries, the Ada Drivers Library provides interfaces for timers, comm ..

Support the originator by clicking the read the rest link below.