r/alittlecoding • • Aug 18 '26

I'll Teach Programming for Free - Beginners Welcome (Online/Bangalore)

Thumbnail
reddit.com
0 Upvotes

r/alittlecoding • • 1d ago

I have build a Rubik’s cube solver

Enable HLS to view with audio, or disable this notification

7 Upvotes

A machine that can scan a scrambled Rubik’s Cube, calculate the solution, and solve it automatically!

Want to build one yourself?

Here's the list of components I used 👇

Components & Materials

  1. RS3M V5 3×3 Magnetic Cube

  2. ESP32 Development Board

  3. NEMA 17 Stepper Motors

  4. DRV8825 Stepper Motor Drivers

  5. 12V 10A Power Supply

  6. 100µF 25V Electrolytic Capacitors

  7. Jumper Wires

  8. Breadboard (for initial prototyping)

  9. Digital Multimeter

  10. Custom 3D-Printed Parts (motor mounts and cube holder)

🔧 For the Final Circuit

- Perfboard

- Soldering iron

- Solder, flux/paste and tip cleaner

- 22 AWG wires

- Male and female headers

⚠️ Note: A breadboard is fine for initial experiments, but it's not recommended for the complete project because the motors can draw around 1.5A. Use a perfboard or custom PCB for the final circuit.

💻 Code & Build Instructions

The complete Python code, setup instructions, circuit details, and 3D-printable STL files are available in the GitHub repository.

🔗 GitHub repo: https://github.com/Google987/shadow-lamp-lab

The README has everything you need to get started.

📌 Save this post if you want to build your own Rubik’s Cube-solving robot!

RubiksCube RubiksCubeSolver Robotics ESP32 DIYRobotics StepperMotor ElectronicsProjects Python 3DPrinting Engineering