SMALL PROJECTS   Projects tipsTechnical Tips
Android Projects
Doorbell
PC Frequency Counters
Codelocks
Analogue
Egg Timers
Frequency Generators
LCD Frequency Counters
Data Loggers
LPT Interface
Birthday Cards
OBD2
OLED Frequency Counters
OLED Thermometers
Oscilloscope
SD Card Audio
Picture Frames
Serial Port Interface
Water Softeners
Talking Clocks
TFT Clocks
TFT Frequency Counters
TFT Egg Timers
Thermometers
USB Frequency Counters
LCD To USB
USB Thermometers
USB Inputs Outputs
WiFi Projects

PIC12F1822 HAPPY BIRTHDAY CARD

Birthday card that plays happy birthday tune and display greetings on a TFT display. The speaker is a piezo buzzer and the TFT is 0.96", 80x160 pixels, ST7735 driver, SPI interface. The name of the card receiver has to be changed in the code, the color of each letter can be set, name can be up to 6 letters, the letter number is the number of line in the "oled_font.c" file.
The circuit can be powered by 3-5V so one cell of lithium 3.7V can be used.

 629thermo

line

PIC16F628A HAPPY BIRTHDAY CARD

Birthday card that plays happy birthday tune and display greetings on a TFT display. The speaker is a piezo buzzer and the TFT is 0.96", 80x160 pixels, ST7735 driver, SPI interface. The name of the card receiver has to be changed in the code, the color of each letter can be set, name can be up to 6 letters, the letter number is the number of line in the "oled_font.c" file. Due to a software SPI the TFT is slow.
The circuit can be powered by 3-5V so one cell of lithium 3.7V can be used.

 629thermo

line

ARDUINO / ATTINY85 HAPPY BIRTHDAY CARD

Birthday card that plays happy birthday tune and display greetings on a TFT display. The speaker is a piezo buzzer and the TFT is 0.96", 80x160 pixels, ST7735 driver, SPI interface. The name of the card receiver has to be changed in the code, the color of each letter can be set, name can be up to 6 letters, the letter number is the number of line in the "oled_font.c" file. File oled_font.c has to be in the same folder as the sketch.
ATtiny can be programmed using Arduino IDE and Arduino as ISP, see Technical Tips Burning bootloader with setting "Clock Source 8MHz internal", this makes the CPU working at frequency of 8MHz.
The ATtiny can be powered by 3-5V so one cell of lithium 3.7V can be used.

 629thermo629

line

HAPPY BIRTHDAY TUNE ATTINY13

ATtiny13/13A 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 batteries.
The code and circuit can be used on ATtiny25/45/85 too.
ATtiny is programmed using Arduino IDE and Arduino as ISP. Use these instructions https://www.electronics-lab.com/project/how-to-program-attiny13attiny13a-using-arduino-ide/ with the setting : 4.8MHz, no millis no tone, LTO enabled.

line

PIC MUSIC - 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 batteries.
Software includes PIC code C and ASM.

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.



Write a comment

icon Flag Counter moty22.co.uk  2008-2025