Introduction: Panic Alarm for Elderly Folks

EXISTING SYSTEM

•There are a lot of panic alarm based appliances and tools that does the
purpose just to avoid theft .

•Most of them are having a heavy improvised architecture i.e they require a lot of area to be placed on.

PROPOSED SYSTEM

•What we expect to build here is a health care panic alarm based upon a
simple and unique architecture.

•Here we are reducing all the complexity of the previous alarm systems.

•We are allowing the modified alarm system to be easily used up by the elderly folks.

DESIGNING IDEA

•The basic idea behind building such an IOT based device for elderly
folks is to provide them attention at time of distress or in case of any health related issue.

•Practically designed specially for elderly for the best and effective usage feedback.

•Includes a very simple wrist watch design that is truly mobile and is portable to its full extent.

Step 1: Phase 1 (circuit-development)

  • In this phase we have gathered all the prerequisite knowledge about the basics of our WIFI development board i.e. (node-mcu)
  • The following connections were made using jumper wires
      1. Vcc ---Vin & G---G (battery to node mcu)
        • connect the Vcc i.e the positive terminal of the battery to the Vin of the node mcu using a bread board.
      2. Pin A --- D6 & Pin B --- G (button to node mcu)
        • connect one of the terminals of the push button to the digital pin 6 (D6) of the node mcu using male to male wires.
      3. +ve --- D2 & -ve --- D2 (led to node mcu)
        • connect the positive terminal of the LED to digital pin 2 (D2) and negative terminal of LED to ground (G) of the node mcu.
        • NOTE

        • bigger LED terminal = POSITIVE TERMINAL

        • smaller LED terminal = NEGATIVE TERMINAL

Step 2: Phase 2 (coding Section)

#include <SPI.h>

#include <ESP8266WiFi.>

#include <Thinger Wifi.h>

ThingerWifi thing( "<your thinger user name>", "<your device name>","<your device credentials>"); // thinger.io( username,device name,device credentials )

int pushPin = 12;

//the digital pin to the PIR sensor's output int ledPin = 4; int val = 0; //variable for reading pin status

void setup() {

pinMode(ledPin, OUTPUT); // declare LED as output pinMode(pushPin, INPUT_PULLUP); //declare push button as input Serial.begin(9600); //connecting to WiFi thing.add_wifi("<hotspot name>", "hotspot password"); //SSID & password for mobile hotspot

Serial.println("entering the gates"); }

void loop() { val = digitalRead(pushPin);

Serial.println(val); //read input value if (val == LOW) { //checks if the input is High (button released)

digitalWrite(ledPin, HIGH); //turn LED OFF delay(1000); digitalWrite(ledPin, LOW);

thing.handle();

thing.call_endpoint("email");

delay(5000);

//digitalWrite(inPin, HIGH);

} else { digitalWrite(ledPin, LOW); //turn LED ON }

}

HERE IS MY CODE. U GUYS CAN USE IT AS THE ACTUAL CODE .

NOTE: JUST CHANGE THE DEVICE CREDENTIALS TO YOUR ACTUAL DEVICE AND WIFI INFORMATION.

Step 3: Phase 3 (implementing Thinger-service)

Step 4:

Step 5: Phase 5 :( Working)