Rubik's Cube Solver Robot with previous scanning using the HSV Model
Dávalos-Carpio J.-P.; Mendoza-López M.; Portugal-Cuno L.; Quispe Ccachuco M.; Siles-Nates F. · Proceedings of the LACCEI international Multi-conference for Engineering, Education and Technology (2025) · DOI: 10.18687/laccei2025.1.1.521
Resumen
The purpose of this work is to create a robot capable of solving the Rubik's Cube. This involves three important stages. The first stage involves detecting the state of the cube, that is, determining how it is mixing by knowing the colors on each face. This involves using artificial vision through a camera and a computer that processes the images. Artificial vision programming is based on the HSV model, where the parameters for detecting colors are: hue, saturation, and value. The second stage consists of obtaining the movements required to solve the cube using the Kociemba algorithm. In the third stage, the movements obtained in the second stage are executed, where the ATmega2560 microcontroller is responsible for rotating each face of the cube using stepper motors. The robot was designed with a configuration that allows it to rotate all six faces of the cube and was built with 3D-printed parts and acrylic sheets. For machine vision, a box was built to scan the cube so that outside lighting wouldn't affect color recognition. The robot finally solved the cube in an average time of six seconds.
Instituciones: Universidad Católica de Santa María