Robotic Rubik’s Cube

2013/04

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
FIGURE 1 The assembled cube sans the stalk, placed upside-down on the table.

2.1 Core

Disassembled core
FIGURE 2 Disassembled core, showing the six geared motors (Solarbotics GM7).
Assembled core
FIGURE 3 Assembled core, showing the central cubies mounted on the black spherical core.
Isometric view of core
FIGURE 4 Isometric CAD drawing of core. In red and green are the motors. Notice the bevel gears inside for driving the bottom cubie.
Front view of core
FIGURE 5 Front CAD drawing of core.
Right view of core
FIGURE 6 Right CAD drawing of core.
Top view of core
FIGURE 7 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.

Disassembled cubies
FIGURE 8 Cubies and the core scattered on the table.
Side view of cubies
FIGURE 9 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.
Top view of cubies
FIGURE 10 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
FIGURE 11 Motor driver circuit.
QRD comparator
FIGURE 12 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.

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