Robotic Rubik's Cube

1 Introduction

This is a Rubik’s Cube that contains electric motors and sensors so that it can automatically solve itself. This project was created for the course MECH 423: Mechatronics. However, it never really worked as well as we intended.

I created this with my project partners Vicky Wang and John Yuen. A Youtube Video shows the cube rotating one of its faces while John is narrating.

2 Mechanical design

I did most of the mechanical design for this project, while my project partners worked on the electrical aspect. The cube consists of 26 cubies surrounding a spherical core. The core consists of two halves, each with three motors. The bottom cubie has a hole in it allowing a stem to support the cube and let wires pass through. The motors used are the Solarbotics Gear Motor 7, chosen for its high torque and small size.

All parts were printed using a PP3DP.

The assembled cube sans the stalk, placed upside-down on the table.
Show figure 1 detailsClose figure 1 details

The assembled cube sans the stalk, placed upside-down on the table.

2.1 Core

Disassembled core, showing the six geared motors (Solarbotics GM7).
Show figure 2 detailsClose figure 2 details

Disassembled core, showing the six geared motors (Solarbotics GM7).

Assembled core, showing the central cubies mounted on the black spherical core.
Show figure 3 detailsClose figure 3 details

Assembled core, showing the central cubies mounted on the black spherical core.

Isometric CAD drawing of core. In red and green are the motors. Notice the bevel gears inside for driving the bottom cubie.
Show figure 4 detailsClose figure 4 details

Isometric CAD drawing of core. In red and green are the motors. Notice the bevel gears inside for driving the bottom cubie.

Front CAD drawing of core.
Show figure 5 detailsClose figure 5 details

Front CAD drawing of core.

Right CAD drawing of core.
Show figure 6 detailsClose figure 6 details

Right CAD drawing of core.

Top CAD drawing of core.
Show figure 7 detailsClose figure 7 details

Top CAD drawing of core.

2.2 Cubies

The cubies are of varying colours since we ran out of some materials while printing. The intention was to paint them in the end, but we did not have enough time to do so.

Cubies and the core scattered on the table.
Show figure 8 detailsClose figure 8 details

Cubies and the core scattered on the table.

CAD drawing of the side of cubies. From left to right: Corner cubie (×8), edge cubie (×12), bottom face cubie (×1), normal face cubie (×5), motor bevel gear, and cubie bevel gear.
Show figure 9 detailsClose figure 9 details

CAD drawing of the side of cubies. From left to right: Corner cubie (×8), edge cubie (×12), bottom face cubie (×1), normal face cubie (×5), motor bevel gear, and cubie bevel gear.

CAD drawing of the top of cubies. Left to right, top to bottom: Corner cubie (×8), bottom face cubie (×1), cubie bevel gear; edge cubie (×12), normal face cubie (×5), motor bevel gear.
Show figure 10 detailsClose figure 10 details

CAD drawing of the top of cubies. Left to right, top to bottom: Corner cubie (×8), bottom face cubie (×1), cubie bevel gear; edge cubie (×12), normal face cubie (×5), motor bevel gear.

3 Electrical design

The idea was to use QRD1114 brightness sensors in the core to read black-and-white encoders on the interior surface of the cubies.

Motor driver circuit.
Show figure 11 detailsClose figure 11 details

Motor driver circuit.

Comparator circuit for QRD1114 sensors.
Show figure 12 detailsClose figure 12 details

Comparator circuit for QRD1114 sensors.

4 Results

Due to thermal stresses arising from the 3D printing process, the cubies vary in some dimensions by up to 5 mm and may be curved. Therefore, the twisting action is prone to jamming. However, under ideal conditions, we have found the motor is indeed capable of turning an entire face.

Photo of two face cubies being printed. Notice the severe warping on the left one as it detached from the printing surface.
Show figure 13 detailsClose figure 13 details

Photo of two face cubies being printed. Notice the severe warping on the left one as it detached from the printing surface.