- Gpio pins are:
- rfid pins:
- 3v3:Positive rail of the breadboard
- RST:GPIO 25
- GND: Negative rail of breadboard
- MI: SPMISO
- MOSI: SPMOSI
- SCK: SPISLK
- SDA: SPICE0
- LCD pins:
- GND: ground pin
- VCC: 5v0
- SDA: SDA1
- SCL: SCL1
- Buzzer:
- Wherever there is space put the buzzer
- +: Negative rail of breadboard
- Place transistor on board with curved side facing you. The other pin of the buzzer goes to the left pin of the transistor. Then place the resistor in the middle pin of the transistor. The resistor should cross the middle of the breadboard AKA trench. The other end of the resistor goes to GPIO 17. The last pin of the transistor goes to the positive rail of the breadboard.
- Make sure you have the ground pin on the raspberry pi on the negative rail and the 3v3 on the positive rail.
You need time, mfrc522, RPi.GPIO, and, LCD1602 packages installed. refer to install packages to install required packages.
To get the id of the card put print(id) in the access denied section. Then replace ones with the id you got. DO NOT PUT A SPACE IN THE ID NUMBER BEGINNING OR END.
Use https://pimylifeup.com/raspberry-pi-ntfy/ to set up ntfy notifications. to set up a topic name download the ntfy app and click the plus button. Make sure you remember the topic name. Replace YourTopicName with your topic name and "Access denied has been activated" with the text you want to send.
Comments
Please log in or sign up to comment.