This is one of the coolest things I have ever seen. Using a retail version of the Lego Mindstorms NXT kit, Hans Andersson, was able to design and construct a robot that could solve a Rubik’s cube. He called it Tilted Twister, because of the robot’s tilted stance. Using four included sensors — light, touch, ultrasonic, and sound — and three servo motors, Andersson was able to program the Tilted Twister to solve a scrambled Rubik’s cube in about 6 minutes average.
Tilted Twister first scans the cube using its color sensor to understand the cube’s arrangement. Its robotic arm is able to flip the Rubik’s cube over, allowing the sensor to scan each side. After it has completed the scan, its algorithm takes over and it begins to solve the cube using its flipping and twisting arms.
Watch Tilted Twister in action:
You can read more details over at TiltedTwister.com.