MindCuber - build your own LEGO Rubik's Cube solver

Does it have trouble with white cubes even when you calibrate? I have one white cube here that works reasonable well although it often has to scan twice.
yes,white!

yes,I had removed the video,Thank you for your help again
 
Last edited by a moderator:
Hey IAssemble,

I just bought an NXT just for the purpose of making this... And if I like doing this, maybe I'll do more with this in the future.

Anyway, I just finished building the whole thing, and it was a lot of fun to do! After I finished building it, I had a little trouble getting it to work, but it's working now!

Putting this together made me realize how much detail there is in building something like this. I really think you did a great job designing it.

I'd be interesed in the source code.

So thanks a lot for sharing this!
 
Hey IAssemble,

I just bought an NXT just for the purpose of making this... And if I like doing this, maybe I'll do more with this in the future.

Anyway, I just finished building the whole thing, and it was a lot of fun to do! After I finished building it, I had a little trouble getting it to work, but it's working now!

Putting this together made me realize how much detail there is in building something like this. I really think you did a great job designing it.

I'd be interesed in the source code.

So thanks a lot for sharing this!

Thanks for a very flattering comment :)

I'm glad that you enjoyed making MindCuber and that you got it working ok. Please let me know if you decide to upload a video of it to YouTube and I'll add it to my MindCuber playlist.

I'm sure you'll have great fun making other models now that you have an NXT set!

Thanks for appreciating what went into its creation. I think I spent more time on the mechanics for this than for any of my other designs. I wanted to create it from a single kit to make it easy for others to build and I kept running out of pieces so had to redesign sections of it many times before I found a way to do it.

I will be publishing the source code on http://mindcuber.com some time in the near future when I can find time to finish making it presentable.

Thanks again.
 
Hi David,

I have a few questions.. How did you write the program? The software provided with the NXT seems a bit impractical for solving cubes. I've seen some alternatives, and I am wondering what you used.

Also, do you know if there's a way to use power from a power socket? (I am afraid the batteries will die rather quickly).

I am new to this, so If you can give me a few hints to point me in the right direction, that would be great!
 
Hi David,

I have a few questions.. How did you write the program? The software provided with the NXT seems a bit impractical for solving cubes. I've seen some alternatives, and I am wondering what you used.

Also, do you know if there's a way to use power from a power socket? (I am afraid the batteries will die rather quickly).

I am new to this, so If you can give me a few hints to point me in the right direction, that would be great!

Yes, it would have been a real challenge to write a Rubik's Cube solver in NXT-G! I used a C-like language called NXC see http://bricxcc.sourceforge.net/

One way to power the NXT from a socket is to buy a rechargeable battery pack and charger from LEGO - http://shop.lego.com/en-GB/NXT-DC-Rechargeable-Battery-9693 and http://shop.lego.com/en-GB/LEGO-Power-Functions-Transformer-10VDC-8887 although this is quite expensive. The charger can be connected while running the NXT so you have the option to run with or without a mains connection.

The motors seem to be extremely efficient and in my experience, MindCuber will run continuously for about 3 hours on a single charge of this rechargeable battery pack.
 
hey IAssemble,

My name is Elias, and I'm working on my thesis. It's about the Rubik's Cube :)
And I was thinking to make a robot that can solve the cube. I saw your design and I made it, but now I want to program it.
The only problem is that the .rxe file (the code) is rather complicated. Do you maybe have a version with more information. I am not so best in C++ or NQC.
Or can you maybe help me program my own version.
Sorry for the English, I live in Belguim.

Thanks anyway :)
Elias
 
hey IAssemble,

My name is Elias, and I'm working on my thesis. It's about the Rubik's Cube :)
And I was thinking to make a robot that can solve the cube. I saw your design and I made it, but now I want to program it.
The only problem is that the .rxe file (the code) is rather complicated. Do you maybe have a version with more information. I am not so best in C++ or NQC.
Or can you maybe help me program my own version.

Sorry for the English, I live in Belguim.

Thanks anyway :)
Elias

I'm not quite sure that I understand exactly what you are asking...

You have built MindCuber and now want to program it?

MindCuber.rxe is a pre-compiled executable program that can be downloaded to the NXT using the LEGO MINDSTORMS NXT software - see the instructions in the README.txt file in the .zip archive that contains the .rxe

This is enough to make your MindCuber work.

Alternatively, if you want to modify the code or perhaps use the algorithm for your own design, I hope to publish the source code (which I wrote using NXC) for a slightly later version of the software in a couple of weeks on http://mindcuber.com

I hope this helps.
David
 
Hey David,

Thanks for your reply, and maybe I wasn't clear enough in my last post.
Well, I'm 18 and my thesis is about Rubik's cubes. In my last trimester/semester I want to program a robot that could solve the Rubik's cube.
So I thought I make a Lego robot that was already made/schematized so the only thing that was left for me to do is to program it.
I've built the MindCuber and I've put your software on it so that's not the problem.

I want to program it but I need some help... and not only for the algorithms. I thought looking at your code was enough to help me create my own program. But now i read your code isn't published and I would like to program it this week. Or at least know I can program it. So can you help me with programming?
If you want to discuss this on e-mail or maybe skype, let me know.

greetings,
Elias
 
I just built the mindcuber from a Lego Education NXT set for a magazine project. The education set did not come with the color sensor so i purchased a Hi Technic one. I downloaded the software to the brick and when I start it I get a message that says "Remove Cube...." and it will not go away no matter what I do. Does this have to do with the color sensor? Or is it the ultrasonic sensor that detects this? I am stuck with this project. I've tried everything.

I hope someone can help

Thanks
 
I just built the mindcuber from a Lego Education NXT set for a magazine project. The education set did not come with the color sensor so i purchased a Hi Technic one. I downloaded the software to the brick and when I start it I get a message that says "Remove Cube...." and it will not go away no matter what I do. Does this have to do with the color sensor? Or is it the ultrasonic sensor that detects this? I am stuck with this project. I've tried everything.

I hope someone can help

Thanks

Thanks for building MindCuber. I assume when you said you used the Education NXT set that you also obtained extra parts to build it mechanically exactly as the shown in the build instructions?

The released executable mindcuber.rxe only supports the LEGO color sensor (i.e. not the original monochrome LEGO light sensor or either of the HiTechnic color sensors).

The message about removing the cube is the result of whether the software detects the presence/absence of the cube via the ultrasonic sensor. Please make sure the ultrasonic sensor is connected to the port shown in the build instructions. (However, I wonder if the software might be confused by trying to communicate with the HiTechnic sensor when it expects a LEGO color sensor...)

Please feel free to send direct messages to me via my YouTube channel http://youtube.com/IAssemble or leave comments on the original MindCuber video and I will try to help further.

Thanks
David
 
Hi David,

Just started a school holiday project with my daughter to build a MindCuber and hopefully a design of her own. I am very interested in the source code to look at so I can help her. Is it possible that you will publish the code on your website in the next few days or perhaps be able to send me a copy.

Thanks,
Gareth
 
Hi David,

Just started a school holiday project with my daughter to build a MindCuber and hopefully a design of her own. I am very interested in the source code to look at so I can help her. Is it possible that you will publish the code on your website in the next few days or perhaps be able to send me a copy.

Thanks,
Gareth

Thanks for your interest. I am still trying to make time to make the source code fit for distribution and have replied to your private message to discuss this further.

David
 
Help please. I am 78 and have just built the Mindcuber. I don't know how to post a question here but here is the problem.
A couple of times it turned the cube over and scan alright but then said sacan error. Now it just scans once and stops.Red light keeps
flashing and on the nxt brick it just shows a titleMindcuber.com by David Gilday.
Have deleted and downloaded mindcuber.rxe to the brick 3 times. No help. tried 2 diffrent cubes . no help.
HELP what is wrong ?
 
Help please. I am 78 and have just built the Mindcuber. I don't know how to post a question here but here is the problem.
A couple of times it turned the cube over and scan alright but then said sacan error. Now it just scans once and stops.Red light keeps
flashing and on the nxt brick it just shows a titleMindcuber.com by David Gilday.
Have deleted and downloaded mindcuber.rxe to the brick 3 times. No help. tried 2 diffrent cubes . no help.
HELP what is wrong ?

Thanks for building MindCuber. Sorry you're having problems. I'll do my best to help. I have sent a private message with a couple of questions to try to work out what is the problem.
 
Back
Top