Mechanical Automation with Vision: A Design for Rubik's Cube Solver

All Authors

Prashant Raj Bista, Abhinav Chalise, Nishan Khanal, Nimesh Gopal Pradhan, Dinesh Baniya Kshatri

Publication Date

May 1, 2024

Journal

Proceedings of IOE Graduate Conference 15

DOI

10.48550/arXiv.2508.12469

Keywords

KociembaMechanical systemRubik’s CubeStepper MotorsYOLO

Submitted by

Abhinav Chalise

Abstract

The core mechanical system is built around three stepper motors for physical manipulation, a microcontroller for hardware control, a camera and YOLO detection model for real-time cube state detection. A significant software component is the development of a user-friendly graphical user interface (GUI) designed in Unity. The initial state after detection from real-time YOLOv8 model (Precision 0.98443, Recall 0.98419, Box Loss 0.42051, Class Loss 0.2611) is virtualized on GUI. To get the solution, the system employs the Kociemba's algorithm while physical manipulation with a single degree of freedom is done by combination of stepper motors' interaction with the cube achieving the average solving time of ~2.2 minutes.