- Control the movement of the servo motor in light of the motion identified by the PIR sensors.
- Set the camera module as indicated by the servo motor.
- Send notice and notification link to the client’s phone using MQTT.
- Live stream the video over the net accessible in the phone, computer or any electronic gadget connected to Internet.
The 5 PIR sensors and Servomotor are connected to the WizFi310 which is mounted to the wizwiki-W7500. The camera is placed on the Servomotor which enables the camera to rotate. the camera is connected to the Raspberry Pi to achieve live streaming.
1) Sensing Module:
- PIR motion sensors are connected to Wizwiki-W7500 to detect any movement in a 360º radius.
- The PIR acts on intrusion detection and sends digital data to device (’1’ for object presence).
- PIR has to be calibrated with empty room before so that it indicates once a presence is detected.
- The video live streaming was achieved using the I-Ball webcam and raspberry pi3.
- The raspberry pi3 was configured to the webcam and the live streaming was achieved using the motion package available in the pi3 library.
- The live streamed video was available in all devices connected to the local network.
- The servo motor is attached to the stand where the camera sits, and rotates the camera to align with the active PIR sensor. Once the motion is detected, a servo motor rotates the camera base to a point in that direction.
- Notification was sent using MQTT protocol and was tested at client’s end. The localhost link was provided in the app to connect to live streaming.
NOTE: The complete architecture and working of the project with demo is explained in the video . The link of the video is provided below.