POPCORN: Talking Clock
Popcorn is a tribute to the time-of-day announcement service. Here's a demo;
Starting around 1950, you could dial 'POPCORN' anywhere in Northern California and you'd get an automated time-of-day announcement. In 2007, AT&T stopped offering the service because of decreased usage and because the equipment was no longer serviceable. I always thought it would be fun to do my own version of popcorn using different voice samples, and finally got around to putting it together.
If you're curious what the original popcorn sounded like, here's a sample mp3.
THEORY OF OPERATION:
The microSD card holds the code and voice samples as 16-bit mono wav's. Each number has its own wav (00.wav - 19.wav, 20.wav, 30.wav, etc) and so do the supporting phrases (morn.wav = "Good Morning", pst.wav = "At the tone, Pacific Standard Time Will be", and so on). I tried finding voice samples of Joanne Daniels, but I couldn't find enough to cover all the numbers - so I used my own voice.
One core manages the screen, updating it continuously, and checking to see if the 5-way d-pad has been center-pushed. Pushing center will enter a time update mode to let you change the time and date.
A second core manages the audio announcement. It checks to see if the big red button has been pushed. If so, it asks the RTC for the time and plays the appropriate wav files.
The only hardware I added was a headphone jack that goes out to a computer speaker. Everything else is stock. You can switch out the samples by changing the files on the SD card.
If you've got a Propeller Platform SD and LCD UI, you can try it out by downloading the code + samples. Just copy to a microSD and turn it on. With a Protoboard or demoboard, you'll probably want to change the pin assignments and you'll need to add a DS1307 Real-time clock.