Inspiration

This project's idea was thought by me and my brother long a while ago and finally got a chance to implement it in this hackathon. The project is a watch which can help safeguard women in the public by telling about unsafe places also being able to send SOS text to our loved ones with a help of single push button.

What it does

It helps in sending SOS SMS with help of Twilio API and GPS Sensor. It also informs the watch user whenever he/she enters a unsafe zone with help of Display on watch. Along with all these functionalities it also works as a Clock whcih tells time and date.

  1. SOS Button to send Text Message with GPS Coordinates
  2. Send ALert when entered in Unsafe Location
  3. Get Time and Date

How we built it

We used ESP8266 as main controller for the watch. Then the sensors used were Neo-GPS Module to get GPS coordinates and a OLED Display to show the messages. The SOS button is a simple push button attached to ESP8266 with help of resistor and controlled with external interrupts.

  1. The Time and Date is calculated using Network TIme Protocol NTP Library which calls API to get time every 15 mins.
  2. The SOS button when pressed starts the GPS sensor and sends the location coordinates every 5 seconds using SMS.
  3. The SMS are send using Twilio API which uses custom Mobile number to send SMS and API request are sent with message body and reciever's phone number.
  4. The Thingsboard is also use to log the GPS data incase if reciever has no phone or SMS service. Where path is drawn on dashboard which is accessible via login.
  5. The unsafe locations are detected when user is standing in a area with unsafe coordinates which is stored in ESP itself.

The circuit is built using perf board and we tried to create a compact version by attaching all sensors and display on both sides of circuit board.

The enclosure is 3D Printed and CAD is done using Autodesk Fusion 360.

Challenges we ran into

  1. Using the GPS was difficult due to range problems and so was solved by using external antenna.
  2. The Push Button was having troubles due to multiple delay statements within code so was solved by using concept of external interrupts.

Accomplishments that we're proud of

  1. Creating a viable prototype within 24 hours
  2. Connecting multiple modules and libraries in single code was challengeing as well as rewarding.

What we learned

  1. External Interrupts
  2. I2C and UART protocols
  3. Twilio API
  4. ThingsBoard API
  5. MQTT Publish Subscribe

What's next for Safety Watch

  1. Adding more compact enclosure and module placing on circuit board
  2. Adding more functionality using vibration motor for Alerts and Notifications
  3. Using IMU for extra features like health tracking and emergency gestures

Built With

  • c++
  • electronics
  • esp8266
  • iot
  • nodemcu
  • thingsboard
  • twilio
Share this project:

Updates