Manish Raj
Published © GPL3+

Emergency Alert System

Say "Help me" and so Alarm goes ON. Again with a press, Alert the Cops/Health care officials with a message.

IntermediateFull instructions provided3 hours79
Emergency Alert System

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
LED (generic)
LED (generic)
×2
Buzzer
Buzzer
×1
USB-A to Mini-USB Cable
USB-A to Mini-USB Cable
×1
Android device
Android device
×1

Software apps and online services

Assistant SDK
Google Assistant SDK
Maker service
IFTTT Maker service
SMS Messaging API
Twilio SMS Messaging API
Bolt Cloud
Bolt IoT Bolt Cloud
VMware Workstation
Ubuntu Server ISO

Hand tools and fabrication machines

Breadboard, 170 Pin
Breadboard, 170 Pin
Premium Male/Male Jumper Wires, 40 x 3" (75mm)
Premium Male/Male Jumper Wires, 40 x 3" (75mm)

Story

Read more

Schematics

Circuit Schematics

Code

Main Program "alert.py"

Python
import conf
from boltiot import Sms,Bolt
mybolt = Bolt(conf.API_KEY,conf.DEVICE_ID)
sms = Sms(conf.SID,conf.AUTH_TOKEN,conf.TO_NUMBER,conf.FROM_NUMBER)
print("If you really want to inform do as follows")
alarm = int(input("Press 1 to send SMS\n"))
if alarm == 1:
  print("Informing...")
  sms_response = sms.send_sms("EMERGENCY. Manish requires your assistance. Arrive soon")
  print("Response received" +str(sms_response))
  print("Status of SMS:" +str(sms_response.status))
  make = mybolt.digitalWrite('1',"HIGH")
  
  

Credits

Manish Raj

Manish Raj

2 projects • 2 followers

Comments