Cricket Call Generator
Introduction:
The goal of this project was to build a field-portable cricket-call generator.
The cricket-call generator will be used to attract crickets and for song discrimination
tests.
Specifications:
- The generator has to be able to store dozens of songs.
- A song is specified by:
- burst duration
- number of bursts
- burst spacing
- song duration (repeat time)
- carrier frequency
- Playback consists of bursts of sinewaves.
- Low power. Current from a 6 volt battery should be a few milliamps.
- Song selection is by pushbutton curently, but will be by thumbwheel switch.
- Song duration 0-4 seconds
- Carrier frequency 950 to 16000 Hz.
- Burst duration/spacing 0-4 seconds
We used an Atmel STK-200 development board
with an AT90s8515 flash-programmable microcontroller (mcu) on-board. A port of
the mcu was used to drive an 8-bit digital-to-analog converter (Analog Devices
AD557). Another port was used to detect a button push. The button starts playback
of the selected song. A third port was used to run LEDs indicating which song
is being played.
Program:
There are four processes which run on the microcontroller:
Schematics:
The DAC schematic shown in the EOD project
was used again here.