Fall Detector With Email Notification of GPS Coordinates


551

4

1

The average age of our population grows, yet people are also getting busier and busier with never enough time to take care of every one dear to our heart. Make this simple and small fall detector that sends an email notification of their GPSCoordinates via a Bluetooth Connection to a Smartphone. to you whenever it senses extreme motions, so that you can be there to respond as soon as possible.

Protect your loved ones! Build this arduino fall detector today!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: BoM

Materials:

  • Arduino 101 board
  • something to attach the board to a person (e.g. a strand of string)
  • a battery pack

Additionally, you'll need:

  • Arduino IDE
  • FunguyPro Server

Step 2: Wrap

  • Assemble the power unit with the board using the string
  • connect the power unit to the power input of the arduino board

Step 3: Code

#define BLYNK_PRINT Serial<br>/* Set this to a bigger number, to enable sending longer messages */
//#define BLYNK_MAX_SENDBYTES 128
#include "WiFi.h"
#include "WiFiClient.h"
#include "BlynkSimpleEsp32.h" // replace"" with <>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "YourNetworkName";
char pass[] = "YourPassword";
void emailOnButtonPress()
{
  
  CurieIMU.begin();
  //CurieIMU.attachInterrupt(eventCallback);
  CurieIMU.setDetectionThreshold(CURIE_IMU_SHOCK, 1500); // 1.5g = 1500 mg
  CurieIMU.setDetectionDuration(CURIE_IMU_SHOCK, 50);   // 50ms
if (CurieIMU.getInterruptStatus(CURIE_IMU_SHOCK))  {
    BLYNK_WRITE(V1) {
    GpsParam gps(param);
   Blynk.email("Subject: URGENT EMERGENCY Fall has been detected! GPS Coordinates: %d latitude, %d longitude", gps.getLat(), gps.getLon);
   tone (5, 10000);
  }
}
void setup()
{
  // Debug console
  Serial.begin(9600);
  Blynk.begin(auth, ssid, pass);    // get this from your phone
 
  CurieIMU.interrupts(CURIE_IMU_SHOCK);
}
void loop()
{
  Blynk.run();
}

Step 4: App

  • Make a bluetooth (BLE) widget to interface the Arduino board
  • Make a web request widget to communicate with your email server

Step 5: Deploy!

Have the user place this in a pocket or attached to any piece of clothing, so that they are confident in that you will be there to help them if there is need, and you can continue facing challenges in your life head-on knowing that this fall detector will watch over our loved ones for you!

Automation Contest 2017

Participated in the
Automation Contest 2017

Makerspace Contest 2017

Participated in the
Makerspace Contest 2017

Bluetooth Challenge

Participated in the
Bluetooth Challenge

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions

    0
    None
    PureCoffee

    Question 1 year ago on Step 3

    Where does it know what email to send it to?

    Thanks,

    Steve