Skip to content

IoT project with mobile app interface (React Native). Upon device detecting impact, connected mobile phone will send SMS with info on your current location and health status to your pre-set emergency contacts.

Notifications You must be signed in to change notification settings

ngwanzhen/GloverAndroid

Repository files navigation

Project #4: Glover

Glover is a collision detection device and phone application that will notify your loved ones on your location when you are out cycling, skiing or even driving. The device should be attached somewhere that may sense the impact and this triggers your phone to send out an SMS to your designated emergency contact with your location and other health related details like blood type and allergies.

This project makes use of:

Hardware

  • Arduino Uno
  • Piezo Sensor
  • 1 Mohm resistor
  • 9V battery
  • Bluetooth module (HC-05)

Software

  • React Native
  • Bluetooth library to pair with hardware
  • GPS library
  • Native geolocation
  • Communications library to send SMS

Getting Started

  1. Go to React Native documentations
  2. Click on 'Building Projects with Native Code' (Note: Target OS: Android)
  3. Install dependencies
  4. Clone this repo
  5. Run yarn install and react-native run-android inside your React Native project folder

ERD

Wireframe


IOT

User Stories

  • User should be able to register and log-in subsequently.
  • Registration page will prompt user to key in health-related details and emergency contact.
  • Logged-in user should be able to start session that will trigger pairing of bluetooth device for crash detection and turn on GPS for location sensing.
  • Upon collision, app will start a 10 seconds countdown that user can dismiss if false-alarm triggered by a bump on the road or a minor accident.
  • If user is in a serious accident and is unable to dismiss the countdown, the app will then automatically send out a SMS with information on user's current location and health status to user's pre-set emergency contacts.

Challenges

  1. Will locked phone disable sending SMS?
  2. Will app running in background continually sense location coordinate and receive bluetooth data?
  3. iOS doesn't seem to allow apps to send messages without prompting users to click 'send'

Future Plans

  1. Deployment to Play Store
  2. Live-tracking of location & time to enable live updates to emergency contacts even without crash event. This will enable app to double up as a 'run-keeper' for cyclists, skiers, motorists or even joggers.
  3. Implementation of accelerometer for increased accuracy
  4. 'Forget Password' feature
  5. Provide settings page to enable users to amend details such as emergency contact, allergies and health status

Authors

Acknowledgments

About

IoT project with mobile app interface (React Native). Upon device detecting impact, connected mobile phone will send SMS with info on your current location and health status to your pre-set emergency contacts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published