r/ArduinoProjects • u/ScarredBlood • Dec 16 '17
Rubik's Cube Solver (Help Required)
Hello,
I am Working on the final Year Project, The title says it all.
Before I explain my project I would like to state that I'm very much interested in the project not because of the deadline but rather the curiosity that has developed since I'm a speedcuber. I would request someone to solve this problem by either helping me through this subreddit or by any other medium (Skype). I've Excellent Knowledge in Mechanical but I'm not good in Programming.
I've researched about Rubik cube solvers online and have come along many prototypes, some use 4 face solvers some use only 2 face solvers and the best ones are the 6 face solvers. I decided to build a rubik cube solver of my own that uses 6 Stepper motors to solve the Cube using Herbert Kociemba's Algorithm to solve the cube within 24 steps (usually 21). I have a good knowlede about electrical and Mechanical aspects and I have implemented the same in my project however I am not able to understand the programming part. Could anyone help me out with the Program, The Project reference is taken from the Jay Flatland High Frequency Twister (which had held a World Record 0.9 Seconds, I'm not going for the speed). We are creating a replica of that robot with cheaper materials like wood instead of 3D printed Mounts.
The GitHub Link of this project is Click Here!
We are using Cube Explorer to understand the pattern Cube Explorer Download!
The Electrical Material that we are using;
NEMA 17 motors (Bi-Polar)
A4988 Stepper Motor Driver
Arduino
(We can choose between Uno or Mega (if any better options please suggest))
Webcam (1 connected to the Laptop, unlike the project we are only using 1 webcam to capture the pattern first then decode it manually)
The Real concern is the programming part
I've explored the project's programming aspect as far as my senses enable it to & I have come to the following conclusion.
The cube will be decoded (The images will be captured by A software called Cube Explorer)
The same software will solve and generate the algorithm
The Problem that I face is how to transfer the solution from the software to the Microcontroller (Arduino)
There are 3 Arduino codes in the GitHub Page & sorry to say I'm not able understand even a single part of it.
I have a hard time understanding the concept of programming, I Request someone to help me explain the code or the programming of the code. The main part that has not entered in my mind is the web server concept that is used to transfer the solution from the Cube Explorer to the arduino (They have mentioned that a Python & C String Must be used). One more issue that I have a query about is the different codes that are used in the GitHub and what is its purpose
1
u/AnneBancroftsGhost Dec 19 '17
I think you're going to have to pay someone if you want that all figured out, let alone explained to you :/ I'm looking through it and seriously it's gonna be hours of reading and testing (in person with your robot) because it's a real mess and not very well documented.
Out of curiosity what class is this project for?
1
u/ScarredBlood Dec 20 '17
It is Final Year Diploma (College).
Could you analyse 2 codes for me?
1
u/AnneBancroftsGhost Dec 20 '17
Could you analyse 2 codes for me?
that's... just not how any of this works...
It is Final Year Diploma (College).
Cool, what's the degree? What is this project supposed to showcase about what you learned in school?
1
u/ScarredBlood Dec 21 '17
No,
I am a speedcuber so had a desire to make machines do the job, So took it as a challenge
2
1
u/[deleted] Dec 17 '17
Do you need the micro controller to work wirelessly away from your computer?