PIC HAPPY BIRTHDAY
Using PIC12F629 to generate repeated 'happy birthday to you' tune. The frequencies for the notes are suitable to drive piezo sounder.
The IC works down to 2 Volts so it can be powered by 2 cells batteries.
The code has a data for the 8 notes needed for the tune and it uses 100 bytes, there are more than 680 bytes left to add tunes.
Software includes PIC code (3KB). You are free to use the circuit diagram and the software with no
limitations.

Circuit Description
See also Technical Tips
Outputs 3 and 5 are opposite phase to each other to get double the supply voltage.
Power supply can be 2 to 5 Volts.
The optimal speaker is piezo sounder. |