Using the LEGO Camera support, attach the camera.  The small black lens of the camera should fit between the two LEGO beam supports.  Secure the camera in place to the LEGO supports with some electrical tape.  This is a good time to make sure that the camera is position to be able to capture the entire Rubik’s cube.  You can take a test picture with the raspistill command

For decorative purposes, a colorant is typically added to the plastic. The pieces of a Rubik's cube are typically black. During production, colored stickers are put on the outside of the cube to denote the color of a side. The plastics that are used during production are supplied to the manufacturer in a pellet form complete with the filler and colorants. These pellets can then be loaded into the molding machines directly.


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.
In this step we have four pieces to solve. First choose a color to begin with. I chose white in this guide. For this time, choose the white as well, so the images along the solution will be relevant to your solving process. In addition, it is best to start with the white/yellow colors as they are the easiest colors for quick recognition which is important for speedsolving.
Even in the book, during the first step, you’re told that you will need to practice and trial by error. Personally, we feel that this cube will be more fun for children and adults that enjoy puzzles and don’t mind the complications behind a Rubik’s Cube. You must have patience when it comes to building and practicing. However, once you are finally able to solve it, you’re going to be pretty proud of yourself and the people around you are going to be impressed because it really takes a lot to solve one of these cubes.
You can find assembly instructions for the BrickPi3 here. We will need to assemble the case, attach the BrickPi3, the Raspberry Pi, the Raspberry Pi Camera, add an SD Card, and add batteries.  To make the software easier to setup, Raspbian for Robots comes with most of the software you will need already setup.  You will need at least an 8 GB SD Card, and you will want to expand the disk to fit the full size of the SD Card. Rubix Builders
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.
This Rubik’s Build It, Solve It kit is for one player – it is recommended for ages 8 and up. As we said before, it is great for children and adults that don’t mind trying to figure out how the cube works – it’s great for those that enjoy putting puzzles together. This kit right here is going to give an inside look on how the cube works and how it’s put together. Plus, you’ll receive some tips in the instruction manual on how to solve it.
If there are no more edges left on the top layer, then they are probably either inserted in the right place but flipped, or inserted in the wrong place. To get an edge out of somewhere it shouldn't be, just insert one of the yellow edges into that slot. This should get the edge out and on the top layer, ready for you to use the above instructions to insert correctly. Rubix Build
×