Raspberry Pi Alarm Clock, using a matrix keypad
A matrix keypad is something like this:
- Config your Raspberry Pi time zone settings, and connect it to a speaker.
- Clone this repository on your Raspberry Pi.
pip install -r requirements.txt
- Connect a matrix keypad to your Raspberry Pi, and config ROW_PINS and COL_PINS in the source code, according to your keypad connection pins.
python RPiAlarm.py
- Suppose that you want to set an alarm for 6:05 PM. Type *1805# with your keypad (in *HHMM# format).
- Wait until the supposed time (18:05) to hear the alarm sound.
Notes:
• You can change the alarm time by repeating the number 6 process, which is mentioned above.
• You can turn off the alarm by just pressing * (star) button.
• By replacing alarm.mp3 file, you can change the alarm sound.