Towers of Hanoi with 08M

Description

This is my first project with the Picaxe. It uses an 08M to solve the 'Towers of Hanoi Puzzle'.

The construction uses 2 servos taped together with double sided tape for elevation and rotation. The gripper is made from a mini servo driving 2 identical gears. Power is 4 AA batteries driving the servos with 2 1n4001 diodes dropping the voltage to the Picaxe.

The program is a non-recursive solution I got from the book 'Artificial Intelligence Projects For The Commodore 64'. It uses 235 of the 256 available bytes in program memory.

I also wrote a program that outputs to the terminal screen so it can be run without any servos or in the simulator.

Print Page

Share