Introduction: Albert Alert-(burglar Alert System) BUILT ON BOLT
This project is made on BOLT( IOT Platform) which is a Burglar Alert System that can be installed in our home premises.Now if you are away from your home you can use this system to detect any presence of human in your home and it starts buzzing alarm,flashing on led over it and sends an alert notification to you as email. You can always turn off the buzzer if the human detected is someone you know!.
Step 1: MATERIALS USED
Materials used are easily available:
- BOLT(IOT PLATFORM)
- PROXIMITY SENSOR
- PIEZO BUZZER
- JUMPER WIRES
- USB WIRE(FOR CONNECTING TO YOUR LAPTOP)
(You can also use breadboard for better connectivity arrangements,though not required)
Step 2: CONNECTING BOLT UNIT TO MOBILE HOTSPOT
There are many ways to do this. The following method is how i approached.
1. Connect your Bolt's Micro SD card to your computer. In the setting file (called as BS), set the ssid to your mobile hotspot name and also set the password field to your hotspots password.
2. Re insert the micro sd card in the bolt unit.
3. Switch on your mobile hotspot enabling mobile data. Wait for the bolt unit to connect to your hotspot. It is indicated by a constant blue led.
you can also connect your device with your bolt hotspot.
Step 3: REGISTERING YOURSELF ON BOLT CLOUD
follow the topic 1.6, 1.7 ,1.8 in the below given link.This will allow you to upload your files and store them in your cloud. so you can work on multiple projects keeping your data all safe.
Step 4: Setting Up You Project
1. CONNECTING PROXIMITY SENSOR
The output pin of proximity sensor should be connected with 4th GPIO pin and hence VCC of proximity sensor with VCC of bolt and GND(ground) of proximity sensor with GND pin of bolt.
2.CONNECTING PIEZO BUZZER
Connect the shorter pin(-ve) to the GND of bolt device and longer(+ve) pin to 3rd GPIO pin of bolt device
Connect the shorter pin(-ve) to the GND of bolt device and longer(+ve) pin to 0th GPIO pin of bolt device
for the connection to be made easier, use jumper wires and breadboard.
Step 5: CODING PART
The code source file is attached here. You can modify according to your need. for example if you want to set the time interval for the led to flash more frequently you can do it, and also add more css style to it.
SENDING EMAIL NOTIFICATION
Since maker channel is no longer available in IFTTT, many were wandering on how to send notification,hence,
For this purpose i have used EmailJS . Log into the website , add email service where you will need to give email service name and service id.
then go to the email template part, give your template id ,template name, email to which mail will be sent, and your alert message.(if you wish you can fill up other details)
now go to the instructions, copy the script in the tag of your code(follow the instruction)
now its all set. i have attached the source file for your reference. Upload files on your bolt cloud.
place your hand to set buzzer on and led flashing on. If You remove your hand, led no longer flashes but buzzer keeps on buzzing until you turn it off.
Check your email for the alert message