|
Update 2/2005: In
the old version, the corpse mouth was driven directly by the Basic Stamp.
It worked fine, but each mouth movement had to be programmed (a time consuming
procedure) and I wanted to be able to change what the corpse said. In
the new version, the mouth is driven by an audio/servo
driver and will respond directly to sounds. A slight modification
to the audio/servo driver (click here for the schematic)
allows the driver to be turned on at the appropriate time by the Stamp
using the MSE (mouth servo enable) line. I've also linked the end of message
(EOM) pulse from the ChipCorder to the Stamp so the program can now be
set to wait for the sound to end.
The Basic Stamp program
has also been rewritten. Jon Williams of Parallax
(the company that makes the Basic Stamp) contacted me and asked if I'd
like some help in improving the code. I jumped at the chance as Jon is
a well known expert on the Basic Stamp (he writes a monthly column in
Nuts & Volts magazine among many other things). The program is now
written according to Parallax's "The
Elements of PBASIC Style". This is a standardized way of programming
to make it easier for others to understand. This kind of support is one
of the reasons I choose the Basic Stamp as the microcontroller for my
projects.
Here
is the programming code for this project.
|