https://github.com/erfaniaa/rpi-alarm-clock
Make an alarm clock with your Raspberry Pi, using a matrix keypad.
https://github.com/erfaniaa/rpi-alarm-clock
python raspberry-pi
Last synced: 2 months ago
JSON representation
Make an alarm clock with your Raspberry Pi, using a matrix keypad.
- Host: GitHub
- URL: https://github.com/erfaniaa/rpi-alarm-clock
- Owner: Erfaniaa
- License: gpl-3.0
- Created: 2018-06-18T23:53:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-23T22:10:08.000Z (about 6 years ago)
- Last Synced: 2025-06-14T23:42:42.463Z (about 1 year ago)
- Topics: python, raspberry-pi
- Language: Python
- Homepage:
- Size: 185 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RPi-Alarm-Clock
Raspberry Pi Alarm Clock, using a matrix keypad
A matrix keypad is something like this:

## Usage
1. Config your Raspberry Pi time zone settings, and connect it to a speaker.
2. Clone this repository on your Raspberry Pi.
3.
```
pip install -r requirements.txt
```
4. 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.
5.
```
python RPiAlarm.py
```
6. Suppose that you want to set an alarm for 6:05 PM. Type *1805# with your keypad (in *HHMM# format).
7. 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.