Mindstorms Bot Makes Short Work of Rubik’s Cube
August 15th, 2008 by Matthew Bilyeu
A couple weeks ago we told you about the H.A.L.E. project that used Lego Mindstorms robots to take and send high-altitude pics from a weather balloon. Today brings more Lego news. It’s called the Tilted Twister. Created by a Swedish man named Hans Andersen, this robot was built from a Mindstorms NXT kit that Andersen had purchased for his daughters, but, he says, “they have not had much access to it yet.”
“After building a tribot and a line follower I wanted to create something more spectacular.”
Andersen faced a number of challenges when he took on this project. A major problem was that the optical sensor with the kit only detects grayscale, so some of the different colors on a Rubik’s cube looked identical to the bot. (He managed to avoid this problem by changing the cube’s square colors). Andersen coded the robot in C on his computer, but found that the program ran much slower when he ported it to the NXT bot. His first algorithm solved the cube in 97 moves. Andersen further tweaked the bot, and his current algorithm solves the Rubik’s cube in just 60 moves.
On his website he describes his process in more detail and has also made the code available.
This is definitely a cool project–sure, the name sounds like a carnival ride, but we can turn a blind eye on that in light of the fact that Rubik’s cubes are hard, and this thing dominates one in 60 tilted twists.
Posted in DIY, Lego, Toys | No Comments »
More: Andersen, Lego, mindstorms, robot, rubiks cube




