Lego Robot Solves Rubik's Cubes - Yes, Really

Andy Chalk

One Flag, One Fleet, One Cat
Nov 12, 2002
45,698
1
0
Lego Robot Solves Rubik's Cubes - Yes, Really

I don't know what makes a guy wake up one morning and decide, "I'm going to build a Lego [http://www.rubiks.com/] today," but there's no denying that the results are awfully damned cool.

Hans Andersson was inspired to build the beast after seeing Cube solvers created by other people, using only a standard Lego Mindstorms NXT [http://mindstorms.lego.com/eng/NZ_dest_1/Default.aspx] kit he'd previously bought for his two daughters. One of the trickiest parts turned out to be color recognition, which he accomplished via the kit's light sensor; unfortunately, some of the colors on the Cube report almost identical sensor values, meaning it was impossible to properly differentiate them. The solution was a simple matter of replacing some of the colors on the Cube with non-standard hues.

The software to control the device was originally written in C, and after a good deal of testing was then ported to NXC, the language for the "programmable brick" in the Lego Mindstorms NXT set. The first algorithm averaged 97 moves per solution, but by implementing a combination of techniques devised by other people he was able to reduce that to an average of 60 moves, as well as increase calculation speeds.

The end result? A little Lego monster that solves Rubik's Cubes better than you can. To be clear, this thing is not plugged into a PC; it's entirely self-contained, "seeing" and solving the puzzles with no outside help. For the aspiring (and Lego-equipped) engineers in the crowd, Andersson has even provided all the instructions for building one of these things yourself, as well as the source code and executables for his software, at his website, tiltedtwister.com [http://www.tiltedtwister.com/index.html].

via: mental_floss [http://www.mentalfloss.com/blogs/archives/20758]




Permalink
 

Eagle Est1986

That One Guy
Nov 21, 2007
1,976
0
0
That makes me sad, I can only just about do one side and now someone has made something out of LEGO that is better than me.....
 

Isaac Dodgson

The Mad Hatter
May 11, 2008
844
0
0
Saw a video for a Lego Safe, digital read out, 5 part passkey, tumblers dials and all...kinda sweet...
 

Archereus

New member
Aug 18, 2008
1,036
0
0
this is a big stepping stone to greater lego rebots, today rubicks cubes tomorow the worlds most complciated puzzles
 

HSIAMetalKing

New member
Jan 2, 2008
1,890
0
0
This is the first step. Soon we'll all be living in LEGO houses, driving around in LEGO cars while our LEGO robot masters lurk in the shadows of all major governments.
 

Angron

New member
Jul 15, 2008
386
0
0
Eagle Est1986 said:
That makes me sad, I can only just about do one side and now someone has made something out of LEGO that is better than me.....
i was hinking the same thing, he can even do it faster :(

HSIAMetalKing said:
This is the first step. Soon we'll all be living in LEGO houses, driving around in LEGO cars while our LEGO robot masters lurk in the shadows of all major governments.
i cant wait for that day! :D
 

CaptainCrunch

Imp-imation Department
Jul 21, 2008
711
0
0
Purpose built Rubik's cube solving robot > LEGO NXT solver

http://www.botjunkie.com/2008/11/23/robodev-rubicks-cube-solving-robot-and-human/

On the same page, One-handed human > 6-servoed purpose-built cube-solving robot.
 

no_relation

New member
Oct 30, 2007
10
0
0
jibjab963 said:
I want sort of want one just to show it off.
Or sell on ebay.
It's hypnotic, like a geeky lava lamp. I can imagine MIT undergrads getting buzzed on Bawls and watching it go. Putting two next to each other and make them race.
 

Lvl 64 Klutz

Crowsplosion!
Apr 8, 2008
2,338
0
0
CaptainCrunch said:
Purpose built Rubik's cube solving robot > LEGO NXT solver

http://www.botjunkie.com/2008/11/23/robodev-rubicks-cube-solving-robot-and-human/

On the same page, One-handed human > 6-servoed purpose-built cube-solving robot.
Why'd they even bother showing it solve the thing, that's like saying, "Oh, and it can also go backwards!"
 

CaptainCrunch

Imp-imation Department
Jul 21, 2008
711
0
0
Lvl 64 Klutz said:
CaptainCrunch said:
Purpose built Rubik's cube solving robot > LEGO NXT solver

http://www.botjunkie.com/2008/11/23/robodev-rubicks-cube-solving-robot-and-human/

On the same page, One-handed human > 6-servoed purpose-built cube-solving robot.
Why'd they even bother showing it solve the thing, that's like saying, "Oh, and it can also go backwards!"
In 6 seconds...
 

Andy Chalk

One Flag, One Fleet, One Cat
Nov 12, 2002
45,698
1
0
Come on, there's no comparison here. Ooh ahh, a bunch of Berkeley students built a robot that can solve Rubik's Cube.

This guy built one from a Lego set. One single Lego set. That kicks UC Berkeley's ass all day long.