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 appears to be made up of 26 smaller cubes. In its solved state, it has six faces, each made up of nine small square faces of the same color. While it appears that all of the small faces can be moved, only the corners and edges can actually move. The center cubes are each fixed and only rotate in place. When the cube is taken apart it can be seen that the center cubes are each connected by axles to an inner core. The corners and edges are not fixed to anything. This allows them to move around the center cubes. The cube maintains its shape because the corners and edges hold each other in place and are retained by the center cubes. Each piece has an internal tab that is retained by the center cubes and trapped by the surrounding pieces. These tabs are shaped to fit along a curved track that is created by the backs of the other pieces. The central cubes are fixed with a spring and rivet and retain all the surrounding pieces. The spring exerts just the right pressure to hold all the pieces in place while giving enough flexibility for a smooth and forgiving function. Rubix Building Solutions }

**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.**

*Your goal is to have all four edges matching their centres. If you have this, then the cross is solved. If you have only two, then you could have one of two cases. Either the two matching edges are adjacent (next to each other) or opposite each other. If they are adjacent, hold the cube so that the two solved pieces are facing the front and left of the cube (shown in the left picture), then perform:*

`The commercial cube is composed of six fixed cubes, eight movable cubes on the corners and 12 movable cubes on the edges. Each cube is one of six colors. The Rubik's cube has red, yellow, blue, green, white, and orange colors. In its solved state, each color is on only one face. When the cube is rotated, the edges and corners move and the cube becomes scrambled. The challenge of the puzzle is to restore each cube to its original position. The cube is extremely challenging because there are slightly more than 43 quintillion (4.3 × 10 19 ) possible arrangements, and only one solution.`

**If you're still reading, congratulations on not being put off by the time requirements! The first thing you are going to need to know about solving the cube is how the turns you make can be represented by letters. Later on in this guide, you're going to need a few algorithms. These are combinations of moves that rotate pieces or just move them around to get them where you want them. These algorithms are written using this notation, so you can always come back to this section if you've forgotten by the time we need them. Rubiks Build It Solve It Instructions**

*Headlights are fairly simple to spot. Looking at the image, we can see on the right hand side that the orange edge has a green corner on either side of it. That is a set of headlights. The left hand side has two different colours on either side, so that is not a set of headlights. It is very important to note that a full bar (a blue edge has a blue corner on either side of it, so all three pieces are blue) is also seen as a set of headlights. This is only seen in one case of the 21 though, so you won't see it often. If you have a set of headlights on each side, ignore this part and read the section titled “The U Permutation”. Rubix Builders*

**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.**

_{The Rubik's cube has baffled fans for over 40 years. Ever wanted to know how a Rubik's cube is made? with the Rubik's "build it solve it" kit you will unlock the secrets of the Rubik's cube and master it! now you can make your own and learn how to solve it at the same time! the Rubik's "build it solve it" kit comes with all the parts necessary to build your own Rubik's cube. Easy "how to" instructions, plastic cube pieces and tiles (including some spares), center core pieces, metal screws, Springs and screwdriver - all organized in a handy storage tray. Once you've built your cube, turn to the "you can do the Rubik's cube" booklet and learn how to solve it! by learning how to build your own Rubik's cube, you will greatly improve your understanding of how this fascinating puzzle functions, literally from the inside out. }

**Whether you complete all 6 stages or 1, be sure to tell your teacher about this program so all your classmates can solve with you! Teachers from all over the country use our program, at no cost, to teach their classes not only to solve, but math, art, science, and more. Hundreds of schools compete at solving cubes as a group and classes create really cool mosaic designs too. We even have ongoing mosaic contests each year. So check out our site and learn how you can do even more with a Rubik's® Cube!**

**If you have 2 adjacent well permuted corners- turn the upper face once clockwise (U). That move will reposition the corners into a situation which only one well permuted corner will remain while the other three corners needed to be rotated counter-clockwise. Now just execute the algorithm above, and by this single execution you actually completed this step (remember to execute this algorithm from the correct angle – when the well permuted corner is on the back right. see algorithm image above). Rubiks Build It Solve It Instructions**

^{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. }

*There are 5 different positions your cube can be in now, one of which could be solved. The rest of them have all four corners solved, so do the required amount of U moves so that every corner is in its right place. 2 of the 4 remaining possibilities have a solved bar (as mentioned above, where all three colours on that side are the same), and the other 2 have no solved bars.*

##### Your goal is to have all four edges matching their centres. If you have this, then the cross is solved. If you have only two, then you could have one of two cases. Either the two matching edges are adjacent (next to each other) or opposite each other. If they are adjacent, hold the cube so that the two solved pieces are facing the front and left of the cube (shown in the left picture), then perform: Rubiks Build It Solve It Review

The Rubik's cube appears to be made up of 26 smaller cubes. In its solved state, it has six faces, each made up of nine small square faces of the same color. While it appears that all of the small faces can be moved, only the corners and edges can actually move. The center cubes are each fixed and only rotate in place. When the cube is taken apart it can be seen that the center cubes are each connected by axles to an inner core. The corners and edges are not fixed to anything. This allows them to move around the center cubes. The cube maintains its shape because the corners and edges hold each other in place and are retained by the center cubes. Each piece has an internal tab that is retained by the center cubes and trapped by the surrounding pieces. These tabs are shaped to fit along a curved track that is created by the backs of the other pieces. The central cubes are fixed with a spring and rivet and retain all the surrounding pieces. The spring exerts just the right pressure to hold all the pieces in place while giving enough flexibility for a smooth and forgiving function. Rubix Building Solutions

When it comes to building the Rubik’s Cube, it’s not as hard as it looks. In all actuality, it will take about fifteen minutes and the instructions are easy to follow. When it comes to placing the colored tiles, make sure you pay attention to where you’re supposed to place them, because if you snap them in the wrong place, you won’t be able to remove them. Yes, you will still be able to use the Rubik’s Cube, but you won’t be able to follow along with the instruction guide on solving the puzzle. Rubix Builders