Kind of both, the user has to give the colour for each cubie in the form of a string, then the program calculates the moves from there.
I designed a UI on a touchscreen that shows a folded out cube where u can click through the colours on each face
This is the library i used to do this, the next step to the this project is to implement some kind of automatic recognition whether it be colour sensors or cameras
I'm not the OP, but there step by step solutions to solving a rubik's cube, and I'm almost positive that a pre-programmed set of movements will solve a cube in any pattern. I think the important part of it is always having the middle color of a face in the same spot...so if the middle white square is up it will always solve it. Part that could all be wrong, I'm only going of the little bit of solving a rubik's cube that I remember.
Okay this is fucking baller
I assume if it's initialized in a known orientation there is no need to sense the colors?
Thank you all for the positive comments! I’m immensely proud of this project and have big plans for it.
This is the library I used for finding the moves to solve the cube. There is currently no automatic colour recognition so this is done manually. I designed a UI using Tkinter which displays a “flat” cube which allows to set the colours for each face with minimal effort.
The motors and drivers came from aliexpress for very little cost.
The step and direction pin on each driver is driven off the same GPIO pin from the pi and the enable pin for each driver is unique, allowing me too disable and enable motors as needed.
The frame was designed in Fusion 360. The plastic parts where printed and the aluminium extrusion ordered from Slotpro
I hope this answers the majority of questions
Members
Online