AKASH S
Published

Alert and Rescue System

A smart system which detects the accident and sends the message to the known contacts

BeginnerFull instructions provided139
Alert and Rescue System

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
Grove - Vibration Sensor (SW-420)
Seeed Grove - Vibration Sensor (SW-420)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

10 Pc. Jumper Wire Kit, 5 cm Long
10 Pc. Jumper Wire Kit, 5 cm Long

Story

Read more

Custom parts and enclosures

README

After the hardware setup
SEE THIS

Schematics

CIrcuit Diagram

Used to connect the hardware setup

Code

Vibration sensor

Arduino
It is an arduino file and it can be used to upload code in arduino uno
#include <BoltIoT-Arduino-Helper.h>
int s=2;
void setup() {
  boltiot.begin(3,4); //Initialize the Bolt interface over software serial UART.
       //In this example, the TX pin of Bolt is connected to pin 3 of Arduino
       //and the RX pin of Bolt is connected to pin 4 of Arduino
  pinMode(s,INPUT);//Set pin 2 as the input. We will use send this pin's state as the data to the Bolt cloud
Serial.begin(9600);

}

void loop() {
long v = pulseIn (s, HIGH);
delay(1000);
Serial.println(v);
boltiot.processPushDataCommand(v);
  //Send data to the Bolt cloud, when the Bolt polls the Arduino for data.
/*This function nee1ds to be called regularly. Calling the processPushDataCommand function once every second is required*/

}

Credits

AKASH S

AKASH S

1 project • 0 followers

Comments

Add projectSign up / Login