Lego Robot Solves Rubik's Cubes - Yes, Really

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 Rubik's Cube-solving robot out of Lego 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 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.

via: mental_floss

Permalink

Brilliant! I want one of my very own!

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.....

That...is...awesome.

Saw a video for a Lego Safe, digital read out, 5 part passkey, tumblers dials and all...kinda sweet...

This is pretty amazing.

I want sort of want one just to show it off.
Or sell on ebay.

this is a big stepping stone to greater lego rebots, today rubicks cubes tomorow the worlds most complciated puzzles

I, for one, welcome our new Lego overlords.

Stunning. Especially how it solves the problem of moving the cube.

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.

Malygris:
I, for one, welcome our new Lego overlords.

me too this is sweet. i wish i was half smart enough to build one

Eagle Est1986:
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:
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

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.

jibjab963:
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.

CaptainCrunch:
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!"

Lvl 64 Klutz:

CaptainCrunch:
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...

THAT is really impressive and awesome. I want one of those.

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.

So, this machine is now smart enough to become a stock broker

Angron:

HSIAMetalKing:
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

Agreed. A whole world I can just smash up and build into a giant planet-destroying spaceship (I dunno why, but thats all I ever seemed to make. That, and those Terminator killer drones).

I was part of the Lego-soccer thingy at my school... it's pretty cool what some of the teams manage to do. Overall, Lego isn't as childish as some thought, eh?

As if we needed anymore proof that Lego's kick ass!

Oh yes.

My computer systems teacher will be seeing this.

Yer its really cool some guy made it himself (i personally wouldnt have the expertise of patience), but i'm pretty sure that lego have been making these for a few years and they've been available for public purchase

 

Reply to Thread

Log in or Register to Comment
Have an account? Login below:
With Facebook:Login With Facebook
or
Username:  
Password:  
  
Not registered? To sign up for an account with The Escapist:
Register With Facebook
Register With Facebook
or
Register for a free account here