Skip to content

JohnGrubba/EV3-NxN-Cuber

Repository files navigation

Rubik's Cube Solver

This Rubik's cube Solver is currently capable of solving the following cubes:

  • 4x4

Larger Cubes are technically possible but will not be implemented that quickly.
For the Machine to work properly you will need one 3D Printed Part.

Download it right here: EV3 Cube Holder

Showcase

4x4 Solver Demonstration

Solving the Cube

Huge thanks to dwalton76 for providing his very efficient NxN Solver.

Setup

Preparation

  • Flash Raspberry Pi OS Lite

image image

  • Clone this repository
git clone https://github.com/JohnGrubba/EV3-NxN-Cuber
  • Install all Dependencies
  • Make sure you are on root
sudo pip install -r requirements.txt
  • Fix OpenCV Error (Import Error)
sudo apt install libgl1
  • Fix Permissions Error (Run with sudo) To allow Python access to the USB Connection you need to run the program with sudo. And this is why you should also install all dependencies with sudo
sudo python3 4x4.py
sudo python3 5x5.py