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.

Continue reading “Civilian RC Car Uses Lego NXT And Ada”

LEGO: The Kristiansen Legocy

Whether you are young, old, or a time traveling Vulcan, something unites all of us globally: the innocent LEGO blocks that encourage creativity over spoon-fed entertainment. Have you noticed the excess of zombified children and adults alike drooling over their collective screens lately? Back in the ancient times, all a child needed to create hours of joy were plastic interlocking bricks and a place for their parents to trip over them. The LEGO Group harbored the inspiration of our childhood inventiveness, and none of it would have been possible without the founder, Ole Kirk Kristiansen (or Christiansen). The humble carpenter from Denmark forever made his mark on the little Scandinavian country, one brick at a time.

Well, maybe not at first. You see the plastic LEGO bricks we all know and love were initially made of wood. And they were also not actually bricks.

Continue reading “LEGO: The Kristiansen Legocy”

Self-Balancing Robot Uses Android And Lego NXT

LEGO NXT + Android = Self Balancing Robot

Self-balancing robots are pretty cool, but sometimes a bit too complex to make. [HippoDevices] shows us that it’s really not that hard, and you can even do it with Lego NXT and an Android device!

First step is to build your two-wheeled robot – go nuts! As long as the Lego NXT motors are strong enough you’ll be able to make most different shaped robots easy to balance. You’re going to need an Android ADK board to provide communication between the Lego motors and your Android device. [HippoDevices] is using their own design, called the Hippo-ADK which is on Kickstarter currently.

This allows your Android device to read the status and control the Lego Motors — from there it’s just a matter of programming it to balance according to the device’s gyroscope.

Continue reading “Self-Balancing Robot Uses Android And Lego NXT”

I Am NXT 3-Point Bend Tester. Please Insert Girder.

Learning with visuals can be very helpful.  Learning with models made from NXT Mindstorms is just plain awesome, as [Rdsprm] demonstrates with this LEGO NXT 3-point bend tester that he built to introduce freshmen to flexural deflection and material properties. Specifically, it calculates Young’s modulus using the applied force of a spring and the beam’s deflection. [Rdsprm] provides a thorough explanation in the About section of the YouTube video linked above, but the reddit comments are definitely a value-add.

[Rdsprm] built this from the Mindstorms education base set (9797) and the education resource set (9648). Each contestant endures a 5-test battery and should produce the same result each time. The motor in the foreground sets the testing length of the beam, and the second motor pulls the spring down using a gearbox and chain.

This method of deflection testing is unconventional, as [Rdsprm] explains. Usually, the beam is loaded incrementally, with deflection measured at each loading state. Here, the beam is loaded continuously. Vertical deflection is measured with a light sensor that reads a bar code scale on the beam as it passes by. The spring position is calculated and used to determine the applied force.

[Rdsprm] analysed the fluctuation in GNU Octave and has graphs of the light sensor readings and force-deflection. No beams to bend with your Mindstorms? You could make this Ruzzle player instead.

Continue reading “I Am NXT 3-Point Bend Tester. Please Insert Girder.”

Lego IPod Hacking Robot

800px-Nanotron-3000-farthen-1

The Linux4nano project has been working to port the Linux kernel onto the iPod Nano along with other iPods in general. Although the iPodLinux project has had luck with some older iPods, newer models protect firmware updates with encryption. One of the ways they plan on running code on the device is through a vulnerability in the notes program; it causes the processor to jump to a specific instruction and execute arbitrary code. To take advantage of this, they first need to figure out where their injected code ends up in the memory. Currently, they are testing every memory location by painstakingly loading in a bogus note and recording its effect. Each note takes about a minute to test and they have tens of thousands of addresses to check over several devices.

Continue reading “Lego IPod Hacking Robot”

Arduway: A Mini Segway Using The Arduino

[Joe L] sent in the Arduway on the tipline. It is a robot made of Arduino and Lego NXT components based on the Segway. A software library to control LEGO NXT motors and a few sensors he used is available on SourceForge. This robot does a good job of balancing itself while moving forwards and backwards.

There is a YouTube video of it in operation after the break.
Continue reading “Arduway: A Mini Segway Using The Arduino”