/cubot

A Rubik's cube solver with LEGO Mindstorms Robot Inventor and Raspberry Pi

Primary LanguagePython

cubot

A LEGO® MINDSTORMS® Rubik's cube solver with the Robot Inventor set, based on MindCuber

This is my attempt at a LEGO® MINDSTORMS® Rubik's cube solver, created with the Robot Inventor set (plus a few spare parts and a Raspberry Pi 4B). The robot itself is inspired on MindCuber, by David Gilday. This particular robot was built mainly by following the instructions I obtained following the links in this other YouTube video. I modified the original instructions to replace the color sensor with a Raspberry Pi 4B + CamV2 Module.

By clicking on the image, you can see the Robot in action:

Watch the video

In this repository you can find the code I used, both on the LEGO Hub (cubot.py) and on the Raspberry Pi (picube.py and cube.py). The software is customized on the specific cube I used (GAN Monster GO Magnetic).

To load the micropython module on the LEGO Hub I used VS Code with the LEGO® MINDSTORMS® Robot Inventor extension I wrote.