C D
E
F
Fig. C: The socket soldered with the antenna (bare
wire, top) and stylus (blue wire, lower left). Fig. D: The
Moof Tronic connected to the programming port. Wires
wire to the jack’s tip contact, and solder the pin 23
lead to the sleeve (inner) contact.
Solder a 10K resistor between the tip and ring
contacts of the audio jack, and reinforce the connections with 2" heat-shrink. Finally, bundle the
programming port and battery clip leads together
with 2 cable ties (Figure D).
6. Fit the Picaxe microcontroller.
Fit the Picaxe-08M into the 24-pin IC socket. Pin 1 on
the Picaxe goes to pin 1 of the IC socket (Figure E).
NOTE: I used a 12.7mm (0.5") wide socket, so I had to
bend the Picaxe pins slightly. If you use a 10.16mm
(0.4") wide IC socket, you don’t have to bend the IC
socket pins, but it’s a bit harder to fit the resistors.
7. Add the speaker.
I used an old in-ear headphone speaker, so the
first thing was to disengage it from the surrounding
plastic. Glue the speaker onto the Picaxe, and add
a bit more glue where its delicate little wires attach
to the speaker coil. Cut the speaker wires to about
72 Make: Volume 15
are bundled together with cable ties. Fig. E: The Picaxe
microprocessor fit into the socket. Fig. F: The headphone speaker glued on top of the Picaxe.
1" and solder one to socket pin 24 and the other
to pin 21. Solder the black (–) battery wire to socket
pin 24, and reinforce the socket ends of the headphone wires with more glue (Figure F).
8. Program the microcontroller.
Download and install the Picaxe Programming
Editor software, free from rev-ed.co.uk/picaxe.
Then download the mooftronic.bas program file
from makezine.com/15/mooftronic.
Connect the serial cable from the computer to
the programming port on the Moof Tronic (Figure G).
Launch the Picaxe Programming Editor. Select
File → Open, then open the file mooftronic.bas from
the folder you downloaded it into.
Power up the Moof Tronic by connecting the 9V
battery. Now load the program onto the Moof Tronic
by clicking Picaxe → Run (Figure H).
You’ll see a dialog box with a progress bar while
the program is loading. This takes only a few seconds. Then a second dialog box will tell you that you
have successfully programmed the Picaxe (Figure I).