raspberry-pi-news

Make A The Rubik’s Cube Solver With Raspberry Pi And Popsicle Sticks #piday #raspberrypi @Raspberry_Pi

August 22, 2014 Rebecca Houlihan

Make a rubik’s cube solver with Raspberry pi and popsicle sticks. by matt2uy via instructables

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 (take picture)

Electronics:

– Arduino UNO R3

– 2 servos (I used Hitec HS-311’s)

– wires

– USB cable

Hardware:

– popsicle sticks

– wooden skewers

– thin plywood

– wooden wheel (skewer must fit inside the hole)

– hot glue

– paper towel roll

Software:

– Arduino IDE – (Algorithms in C++)

– Python 2.7+ and Tkinter – (GUI)

– Pyserial

Full tutorial

998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!