# Solving a Rubik’s Cube with Just Two Motors

We’ve all seen videos of Rubik’s cube champions who can solve the puzzle in less than 5 seconds. And there are cube-twisting robots that can solve the cube even faster, often in under a second. This Rubik’s cube solver is not one of those robots, but it’s still pretty cool.

The reason we like Dexter Industries’ “BricKuber” is not for its lightning speed — it takes a minute or two to solve the puzzle. What we like is the simplicity of the approach to manipulating the cube. Built from LEGO parts, including Mindstorms motors and a BrickPi controller, the BricKuber uses only two motors to work the cube. One motor powers a square turntable upon which the cube sits, while the other powers an arm that does double duty — it either clamps the cube so the turntable can rotate a layer, or it rakes the cube to flip it 90° on the turntable. With a Pi Cam overhead, the rig images all six faces, calculates a solution to the cube, and then flips and twists the cube to solve it. It’s simultaneously mind-boggling and strangely relaxing to watch.

All the code is open source, and we strongly suspect a similar and possibly faster robot could be built without the LEGO parts. You might even be able to build one with popsicle sticks and an Arduino.

## 11 thoughts on “Solving a Rubik’s Cube with Just Two Motors”

1. Of course another way to solve the puzzle is to peel off the stickers and put them back on in the correct locations. ;-)

1. sdfsdf says:

how many times can you do that?

1. FW says:

Ideally you would only need to do it once.

2. Barlou says:

I guess, it’s easier to learn the maximum of 20 steps and a little bit of practice to solve every Rubik’s cube within a few seconds.

1. Peter says:

Fewest move competitions are performed over an hour of unstructured cube analysis and manipulation and rarely achieve God’s number for 3x3s. The popular speedsolving stragegies (CFOP/Fridrich, Petrus, Roux) use methods that focus on an ordered process of solving via pattern recognition and memorized algorithms. Solving cubes this way typically ranges between 35 and 45 “moves” using a HTM (half-turn-metric) but requires years and years of practice.

2. Galane says:

How about a Rubik’s Cube Cheater robot that takes the cube apart and reassembles it with all the colors matching?

3. t-bone says:

Very clever!

This site uses Akismet to reduce spam. Learn how your comment data is processed.