Rubik's cube Robot solver

Souli:
Hello Kass!

I just finished the hadrware part of my project (for school) , the only thing I still need to work on is the

final version of the software, altough I have no idea how I should start making this....

And I need to handle it in 3 weeks for school :o :confused:

Can you write me in a short message or mail how I should begin making this? (I already read the entire forum and didn't find anything useful)

Thanks in advance!
S

Hi,

Guess you need, as first step, knowing the "algorithm" to solve the cube; try looking for a book on it.
Another concern is to "read" the actual cube situation to know where to start: perhaps by using those colour recognition LED's ...

(Three weeks looks quite constrained ...)

Regards

vffgaston:
Hi,

Guess you need, as first step, knowing the "algorithm" to solve the cube; try looking for a book on it.
Another concern is to "read" the actual cube situation to know where to start: perhaps by using those colour recognition LED's ...

(Three weeks looks quite constrained ...)

Regards

Hi,

First of all I want to thank you for your answer!
I actually want to make it myself easy, I would like to enter the colors of the Rubik's cube manually on the computer (with cube explorer) and let the servo's do the rest of the work. See you what I mean?

Sorry for my bad English I am from Belgium

I already read the entire forum and didn't find anything useful

:o :o :o
If you didn't find anything useful, then I am afraid I can't help you anymore
Please have a second read

@vffgaston
There is two bot versions (webcam and Android)
The algorithm to solve the cube is done by Cube Explorer for the webcam version
for the Android version, resolution is performed on line using a dedicated web server located in Montreal, Canada (post #1)

Souli:
See you what I mean?

Hi,
Perfectly (your english, I think, is more than acceptable; any case, I'm spaniard).
I was thinking on advicing you to do so (entering the cube "state" by hand, then concentrating on the problem of solving it: good idea).
Last week I watched a video on a robot solving the cube: if you have the movement problem solved (I mean, you have written and tested the routines to turn the whole cube so that it is in the position you want and to rotate the end "stage" -I dont know how to refer to the 9 small cubes that are in one top of the cube-, your problem is just the logic to solve the cube -the data inside the program to keep track of the cube state has to be a little tricky, but nothing unsolvable).
I told you to look for a book ... Have you googled for that?. Sure you can find miriads of WEBs ...
Regards

kas:
:o :o :o
If you didn't find anything useful, then I am afraid I can't help you anymore
Please have a second read

@vffgaston
There is two bot versions (webcam and Android)
The algorithm to solve the cube is done by Cube Explorer for the webcam version
for the Android version, resolution is performed on line using a dedicated web server located in Montreal, Canada (post #1)

No no that's not what I mean, I have no experience in programming... So I was verry confused when I saw all those programms on the forum

kas:
@vffgaston
There is two bot versions (webcam and Android)
The algorithm to solve the cube is done by Cube Explorer for the webcam version
for the Android version, resolution is performed on line using a dedicated web server located in Montreal, Canada (post #1)

Sure. I have seen that there is an "official" WEB
https://eu.rubiks.com/blog/how-to-solve-the-rubiks-cube
I'm not sure of the (suppossed) scope of the OP project:
If it is about robotics, it looks that he has almost solved the issue; any case I don't think that it is acceptable to -just- solve the cube by issuing orders via, say, serial monitor (I'm not joking; if the project is just about robotics he has had to build the robot and program all the movements .I wouldn't know how to do it ...).
If the program encompasses the logic, he has to implement it ...
Regards

vffgaston:
Hi,
Perfectly (your english, I think, is more than acceptable; any case, I'm spaniard).
I was thinking on advicing you to do so (entering the cube "state" by hand, then concentrating on the problem of solving it: good idea).
Last week I watched a video on a robot solving the cube: if you have the movement problem solved (I mean, you have written and tested the routines to turn the whole cube so that it is in the position you want and to rotate the end "stage" -I dont know how to refer to the 9 small cubes that are in one top of the cube-, your problem is just the logic to solve the cube -the data inside the program to keep track of the cube state has to be a little tricky, but nothing unsolvable).
I told you to look for a book ... Have you googled for that?. Sure you can find miriads of WEBs ...
Regards

I'm going to look up on the interenet. If I got some news I will let you know as soon as possible. thank you very much!

some pics of my school project... Hope I can finish it in 3 weeks :confused: :cold_sweat:
thank you Kass btw for being present on the forum!

I'm not sure of the (supposed) scope of the OP project

I am the OP
For both projects (webcam, Android) the scope is to

  • scan cube
  • perform color recognition
  • get the solution
  • move the cube and solve it

@Souli
All photos are now back, should be easier to read
Have a special look at post #21
I agree with vffgaston, three weeks is very short

Hi, I have read forum during those last 2 hours.
I think I will not be ready on time with my project.

I am very confused because I see all kinds of programs in the forum and I don't really know what they are for..
I have no experience in programming...
So I was very confused when I saw all those programs on the forum :confused:

I don't think you are ready for the complete project, especially for the Python part
I suggest to have a look at this basic Chinese clone version

kas:
I am the OP

Excuse me, in fact I am here a newcomer ... :confused:

Just one question (it is pure curiosity): is it possible to program a "blind" solution once you've got the actual state (I mean, the robot does not see how the cube evolves as it moves it)?

Thanks.

Regards.

(Your knowledge on the subject is really overwelming; encycolpedic)

Excuse me, in fact I am here a newcomer ... :confused:

no problems :wink:

is it possible to program a "blind" solution once you've got the actual state (I mean, the robot does not see how the cube evolves as it moves it)?

This is a "blind" solution
Once color recognition is performed, webcam (or smartphone camera) is not used anymore for cube solving

kas:
This is a "blind" solution
Once color recognition is performed, webcam (or smartphone camera) is not used anymore for cube solving

.
Hi,
Thanks.
Such a case, the guy that intends to enter the cube initial state "by hand" is in the right way ...
I mean, if he has the routines to manipulate the cube tested, then everything he has to do is to program the algorithm, isn't it?.
Regards.

36 pages of posts!This is post #533! Any videos somewhere? I only saw one in the beginning, where the robot was a bit clumsy.

hi kas, i already have all the parts 3d printed and i have all the servos and the bluetooth arduino board, i only need the android app so if you can send me the app i would be grateful.

And i am having a problem compiling and uploading to the board the CubeMover13_posted code, i get the exit status 1 error, i have done some research and i tried every solution i found but nothing worked.

thanks.

hi kas, i already have all the parts 3d printed and i have all the servos and the bluetooth arduino board, i only need the android app so if you can send me the app i would be grateful.

Hi ahappykid, let me have your email via PM

And i am having a problem compiling and uploading to the board the CubeMover13_posted code, i get the exit status 1 error

Which board are you using ??
Let me have more info re this 'exit status 1 error'

@Johan_Ha

36 pages of posts!This is post #533! Any videos somewhere?

Carefully read the 36 pages, you should find some!

Hi,
Thanks.
Such a case, the guy that intends to enter the cube initial state "by hand" is in the right way ...
I mean, if he has the routines to manipulate the cube tested, then everything he has to do is to program the algorithm, isn't it?.

Yes, user just enter the solution using Singmaster notation, Arduino will 'blindly' solve the cube
He does not need to program the solving algorithm, it's built in Cube Explorer

kas:
Yes, user just enter the solution using Singmaster notation, Arduino will 'blindly' solve the cube
He does not need to program the solving algorithm, it's built in Cube Explorer

I have had a look to the Singmaster code ...
Curiosity again: How Singmaster notation is translated to C++?

Regards

Curiosity again: How Singmaster notation is translated to C++?

That's the all purpose of CubeMover V1.3 sketch :wink:
Have a look at it

kas:
Which board are you using ??
Let me have more info re this 'exit status 1 error'

i am using the iteaduino bt, because of the bluetooth capability