-
Notifications
You must be signed in to change notification settings - Fork 1
User guide
For setting up system, user have to set IR Distance Click above door and connect it to ADC12 Click. IR distance click needs to scan and "see" if doors are being opened, so it can send signal to ADC12 Click. ADC12 click's SDA and SPI pins needs to be connected to Raspberry Pi's SDA and SPI pins, because communication is being established through I2C protocol. Camera needs to be connected to Raspberry Pi in port for camera and needs to be set so it can take picture of user. These are input components.
After that, user have to set up output components. Yellow, green and red LED need to be connected to GPIO pins 05, 06, 13, in this specific order. Also, buzzer needs to be connected to GPIO20 pin.
After setting everything up, user can start user application.
After starting user app, system is ready for usage and IR distance click sensor is ready to receive signals.
When IR distance click "senses" movement, in this case, opening door, security system is activated and yellow LED lights up. After yellow LED lights up, user have 30 seconds to enter correct password to stop security protocol.
- If user enters wrong password, red LED lights up and buzzer starts buzzing, but user can still enter new password, if there is still time left.
- If user enters right password in period of 30 seconds, security protocol is stopped and system is deactivated.
- But, if user doesn't enter right password in 30 seconds, security protocol is activated, buzzer starts buzzing and camera takes picture of user.