Pi Alarm

Functionality

This alarm clock is not any ordinary alarm clock. At a set time it plays music from Spotify. It plays next song from logged user's queue, or music based on user's liking, all programmed in Python.

Setting the time it's through FTP server located on the Pi. You can set timer wirelessly through your phone, computer, or even set it programmatically ( wireless too ).

Hardware

Brain of the operation is Raspberry Pi 4B. Communication with devices for setting the alarm is through Wi-Fi module.

On top of the Pi, is Pirate Audio I2C Dac Hat, with speaker, LCD display and buttons, all controlled by custom Python script ( software provided by manufacturer wasn't suitable for this case ).

Buttons Control allow user to play / pause music, turn of the alarm, and connect Bluetooth speaker.

Changing Facial Expression

On the LCD screen you can see character from fun-bun script. In this project, bunny is for indicating alarm clock state. When alarm is turned off ( you're slipping ), bunny is slipping too. When the alarm is on, bunny wakes up, and play the music for you.