This is my entry for the Gadgeteer Piezo Competition.
I know I sound drunk, and “slurry” but i’m not… Just concentrating really hard… :-[
It consists of a PIC12F1822, a BC117 PNP transistor and a piezo module.
The sound is a sine wave modulated onto a 100KHz PWM signal.
The module interfaces via I2C, can buffer 8 notes and will request more notes when a set number of notes remain in the buffer. A Note consists of 4 bytes, one for the duration(time scale settable via a register), two bytes for the frequency, and one byte for the volume of the note.
Parts cost, without the header and PCB is $1.44, in 100s from Digikey.
@ ransomhall,
Yeah, must I don’t think I transcribed correctly, and I didn’t complete it. I had the Emperor’s March as my mobile phone’s ring tone many years ago, before polyphony and mp3 ring tones, so I always use it for things like this…
Split the prize as a “thanks for entering” gift? I don’t need another Hydra, but do have my eye on a couple modules. Personally, I don’t place much value in “being #1”. It’s more about the learning opportunity.
@ Architect, @ Errol, whaddaya think?
Maybe when you do make a piezo w/IC module, you can silkscreen “inspired by three great guys” on the back ;D
@ rajesh - thanks for posting the pic. What did you use for an IC? I thought there was more like 5 or 6 solid contenders based on an email that Gus had sent awhile ago without hiding the recipients
I ran into too many problems and not enough time to solve them. I knew you guys would deliver something great for Gus, so I didn’t bother trying to slim it down just to submit something. You all certainly delivered and are winners in my book. I feel sorry for Gus if he decides to pick a winner.
Split would be better than canceling the competition. And if split then I can at least get a Hyrda. But no LCD.
I’m recently wed, and buying expensive hobby stuff like $200 worth of Hydra/modules is frowned upon, but buying it with a coupon is OK… Hence entering the competition… :-[
@ Architect
I bought some SMD piezos too, which was cheap, but not as cheap as the one I used in the competition. I like them though as they are really flat(1/16"), nice for fitting under a battery or between boards…
Seriously ran out of time, and no local supply of options for piezos that were worthy of more than one-off devices meant I pulled the pin early. Even the extra time meant I only got to the stage of tinkering with code (atmega32 based, hadn’t decided on final chip selection)