The project uses the Pi to directly solve the Rubik’s cube. The BrickPi3 takes the unsolved Rubik’s cube and the Raspberry Pi takes a picture of each side of the Rubik’s cube with the Raspberry Pi Camera. The Pi creates a text map of the color squares that shows where they are located on the cube. When it has fully mapped the cube, the Pi uses the “kociemba” python library to map out the moves needed to solve the Rubik’s cube. This information is taken by the Pi and BrickPi3 to solve the Rubik’s cube using the LEGO motors. The result: a solved Rubik’s cube. Rubix Building Solutions

The Rubik’s cube has recently begun making a comeback. Invented in 1974, it is the world’s best-selling toy. But solving them takes thought, effort, and skill . . . so why not let a robot do it? In this project, we take a Raspberry Pi, a BrickPi, and a set of LEGO Mindstorms and build a Rubik’s cube solving robot. Simply place an unsolved Rubik’s cube in the solver, run the python program, and your Rubik’s cube is solved!
When you get round to building the Rubik’s Cube, you will find it is not as hard as it appears.  The instructions are quite easy to follow and it will probably take you about fifteen minutes. When you get round to placing the colored tiles, pay attention to where they are supposed to go. Because once you snap them into place. you will not be able to remove them. Having said that. you can still use the Rubik’s Cube. What you will not be able to do is follow the instruction guide and solve the puzzle. Rubiks Build It Solve It
An important thing to note is that this task is not a light one. It may require several hours of attempts. If you'd rather just solve the cube in your hand and forget about it rather than being able to solve any cube you're given, there are plenty of solvers available on the web. However, the satisfaction of holding a completed Rubik's Cube in your hand and thinking “I did that, and I can do it again” is greater than most, mainly due to the fact that the puzzle has been present in all our lives at some point. By the mid 1980's, an estimated fifth of the world's population had attempted to solve the cube. If you want to stand out and say that you can defeat the puzzle, time and determination is a large factor. Rubix Build
×