Why spend $10.00 on a Happy Birthday musical card when you can produce the tune yourself.
This project uses just 4 components and a small prototype PC board to produce a project that will teach you a lot about programming.
The circuit uses a piezo diaphragm connected to pins 3 and 5.
Thatβs the only component.
All the work is done by the program.
The project is so easy, we donβt need to provide any construction details
Here are the files:
HappyBirthday.asm
HappyBirthday.hex
Here is the program.
You must use the .hex file to βburnβ the chip or the .asm file as these are laid out so that the compiler and programmer can understand the data.
The following program is just for viewing.
For more detail: HAPPY BIRTHDAY using PIC12F629 Microcontroller