Shop OBEX P1 Docs P2 Docs Learn Events
Popcorn: Time of Day announcer on Propeller — Parallax Forums

Popcorn: Time of Day announcer on Propeller

Nick McClickNick McClick Posts: 1,003
edited 2010-04-13 21:53 in Propeller 1
Just finished this on Sunday, thought I'd put it up and share it. I did a little project I call Popcorn as a tribute to the time-of-day announcement service. Here's a demo video;

4512177979_d35695317b.jpg

BACKGROUND
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
Popcorn uses an LCD UI module and Propeller Platform SD. The only hardware I added was a headphone jack that goes out to a computer speaker. Everything else is stock.

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). You can switch out the samples by changing the files on the SD card.

One cog 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 cog 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. I'm using the wav and DS1307 objects in the Object Exchange and the LCD UI code that came with Jon's Nuts and Volts column (article, code)

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 and it will start up. 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.

DOWNLOADS
code archive
Code + samples
Here are the schematics for the Propeller Platform SD and LCD UI.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Forums RSS Feed!

Gadget Gangster - Share your Electronic Projects

Comments

  • mparkmpark Posts: 1,322
    edited 2010-04-12 19:40
    I recognize that voice! Great project, Nick.
  • nicolad76nicolad76 Posts: 164
    edited 2010-04-13 21:40
    I love the beeeeeep part lol.gif What syntetizer did you use????????
  • Nick McClickNick McClick Posts: 1,003
    edited 2010-04-13 21:45
    Ha! That's me just saying 'beeeeeep'.

    It was a fun little project and I picked up a few new spin tricks. the hard code was already done for me. Jon's LCD object is really easy to use, too.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Forums RSS Feed!

    Gadget Gangster - Share your Electronic Projects
  • VaatiVaati Posts: 712
    edited 2010-04-13 21:53
    This is awesome! I assume you recorded yourself to get the numbers.... smile.gif That is actually a very effective way of doing voice synthesis--and a lot better than what many programs can do.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    MCU Projects·- my new site where I will be posting all projects, code, etc.

    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!

    SD Card Adapter·- Add extra memory to your next Propeller project with ease!
Sign In or Register to comment.