MF PROJECTS HOME TECHNICAL TIPS MOBILE SITE
PIC Projects
WiFi - ESP8266
Doorbell with SD / EEPROM
SD FAT16/32 for .bmp
TFT Egg Timer
LCD TFT Oscilloscope
SD Talking Clock
SD Sound Recorder,
    FAT32 wav Player
LED Thermometer
LED Egg Timer
LCD Egg Timer

Frequency Counters
TFT 10MHz
100KHz For PC
1MHz For PC
8 Digits LED 50 MHz
Scope Screen Display
LCD Module 10MHz
6MHz for Android
USB PIC18F2550
USB TFT display BMP
USB DS18B20 Sensor
USB Thermometer
USB Counter
USB Meter
USB Oscilloscope
USB Input-Output
USB 16x2 LCD

COM & LPT Ports
MCP3201 on LPT
Serial TFT Text
Serial Inputs Outputs
Serial Port LCD
Analogue Signal to LPT
MCP3201 on Serial Port
Serial Thermometer
Analogue Signal to Serial
LCD Display on LPT
Serial Thermostat

Others
Water Softener
HP Stream 7 docking
3.7V to 5V
Solar Charger

Infrared Decoder
PIC Music

Code Lock
Code Lock with LCD

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.