This is an intruder detector that makes use of IoT and sensors to detect the presence of unwanted guests in your personal space.
Please follow these steps carefully:
(NOTE: First you will need to register and login to the Bolt IoT Cloud Pro. For more info visit:https://docs.boltiot.com/docs )
#STEP1-CIRCUIT CONNECTIONS:
Connect the proximity sensor to the bolt IoT wi-fi module as given below:
Here we have connected the output pin of the IR sensor to the digital 1 pin of the bolt wi-fi module, the ground of the sensor is connected to the ground of the module, and vcc pin of the sensor is connected to the 5V pin of the module.
#STEP2-CONNECTING THE MODULE TO BOLT CLOUD:
a) Power up the wi-fi module using a USB cable and a mobile charger / your PC.
Make sure it is connected to the internet.
b) Now, visit: https://cloud.boltiot.com/
In the products tab select Add Product option, choose product type as the input device, and interface type as GPIO.
c) Click on configure this product button and head over to the hardware tab. Here set the data collection rate to 'Trigger' mode. In the circuit select the GPIO pin where you have connected the sensor i.e. 1. and give the variable name as 'sensor'.
Now click on the save button to save this hardware configuration.
d) Now, click on the code tab and write the following code in the code editor and save the file as the JavaScript extension and a name.
e) Click on save your configuration to save the code, then click on exit button now click on 'link device to this product' button and select your bolt device. Now, click on 'deploy configuration' button to deploy all the configurations to this device.
f) Now click on 'view this device' button to see real-time bar graph of data sent to the cloud via the wifi module.
#STEP3-CONFIGURING ALERTS FOR INTRUDER DETECTION:
a) First go to bolt cloud dashboard and click on alerts button. Click on 'Add new alert' button to create a new alert.
b) Now, give this alert a name, select the condition as 'data', select the pin as 1, and give the condition as 'equals to' 0.
c) In the alerts select 'SMS' to receive SMS notification on your phone. Now, type the message that you want to receive as an alert.
d) In the 'Recipients' field put your mobile number. Now turn on this alert and click on the save icon.
e) Now, click on 'link device to this alert' button and select your bolt device.
f) Now, whenever a person passes through the IR sensor an SMS will be sent to your mobile:
Comments
Please log in or sign up to comment.