So here is a project I've been working on for a while...
This robot that can solve a Rubik's cube using Arduino.
I learned how to solve a Rubiks cube last year, and I was also into Arduino, so eventually I ended up with an idea to make my own Rubiks cube solver.
A lot of people have probably seen the tilted twister design by Hans Andersson:
I looked around at the existing Rubik's cube solvers, and I liked that design, so I built a similar version of it with (mostly) popsicle sticks, using an Arduino and 2 servos.
My robot takes 20 minutes to enter the cube state and solve.
Step 1: Materials
- Arduino UNO R3
- 2 servos (I used Hitec HS-311's)
- USB cable
You can get all of these parts from any robotics store. I got them from canadarobotix.com
- popsicle sticks
- wooden skewers
- thin plywood
- wooden wheel (skewer must fit inside the hole)
- hot glue
- paper towel roll
- Arduino IDE - (Algorithms in C++)
- Python 2.7+ and Tkinter - (GUI)
Step 2: Electronics
Wiring up the servos to the Arduino was pretty simple.
- Connect the yellow (signal) wires for the push and rotation servo to pin 6 and 9, respectively.
- Connect the positive and negative wires to the 5v power source and ground. Sometimes the servos had jitters, so I think capacitors could have smoothed out the signals.