Rubik Solver Robot

I designed and programmed my first 3x3 Rubik Cube Solver robot in the summer of 2007. The robot uses just 2 Light sensors to scan the cube's colours, then computes a 50 move or fewer solution directly on the NXT brick. Nevertheless, it took almost 10 minutes to solve a well-mixed cube.

The challenge for such robot was the lighting condition, which impacts the sensor's reading heavily.

My robot was one of the first Lego robots capable of solving a 3x3 Rubik's Cube.

An Smartphone-based Rubik Solver Robot

In 2010, I re-designed the robot using the same mechanism of having one motor to flip the cube over quarterly, and another motor to adjust/grip the cube.

Additionally, an Android phone's camera was used to capture an image of each face's colour, which was then analysed with several image filtering algorithms. Thanks to the much higher computing power, it took less than 5 seconds to find a 20 move solution with a Google Nexus phone using the Two phase algorithm.