Personal safety band with SOS location

Many women travel alone on late buses and cabs. A small band whose hidden button sends the live location to chosen contacts, and sounds a loud alarm, is a common and valued final-year topic.

ESP32Major projectECE, CSE, EIE
ESP32GPS4G12.97NFeatured
Parts
₹3,290
Build
13 weeks
Board
ESP32
Objectives
6

Block diagram

Inputs
  • SOS buttonStarts the alert
  • GPS
    GPS moduleGives the location
Controller
  • ESP32
    ESP32Runs the alert sequence
Power
  • +
    Battery packKeeps it wearable
  • POWER
    Power monitorMeasures current to work out battery life+
Outputs
  • 4G
    4G modemSends SMS and calls
  • BuzzerDraws attention
  • PHONE
    Phone appShows readings and sends commands over Bluetooth+

Objectives

  1. To send an SMS with a map link within 30 seconds of the SOS press (long press, so it is not set off by accident).
  2. To call the first contact automatically.
  3. To send updated locations every two minutes until cancelled.
  4. To measure battery life in standby and during an alert.
  5. To monitor and control the system from a phone over Bluetooth.
  6. To reduce average current with sleep modes and verify the battery life by measurement.

Parts and specifications

Total about ₹3,290 at typical online prices. Tap a part for its pinout and datasheet notes.

Design calculations

Long press

Require 2 s hold so knocks do not trigger. At 100 Hz sampling that is 200 consecutive low reads.

Data cost

An SMS every 2 minutes for 30 minutes = 15 SMS per alert, within any SMS pack.

Standby life

Modem in sleep 2 mA, GPS backup off, ESP32 deep sleep 0.15 mA ≈ 2.5 mA total. 2600 mAh × 0.8 / 2.5 mA ≈ 35 days. During an alert about 250 mA average gives about 8 hours.

Pin map

SignalPin or connection
SOS buttonGPIO 27 (pull-up, long press 2 s)
GPS TX → RX1GPIO 4
A7670C TX/RX / PWRKEYGPIO 16 / 17 / GPIO 5
Buzzer (via transistor)GPIO 26
Battery senseGPIO 34 via divider

Firmware outline

  1. Deep sleep with the SOS pin as wake source.
  2. On wake, confirm a 2 s press, then power up GPS and the modem.
  3. Sound the buzzer pattern and send an SMS with the map link (or 'location pending').
  4. Call the first contact with ATD.
  5. Every 2 minutes send the updated location until the button is held 5 s to cancel.
  6. Return to deep sleep after cancel.

Test plan

TestExpected result
Short tapNo alert
2 s pressSMS within 30 s with a working map link
Alert runningUpdates every 2 minutes
Cancel holdStops and sends 'I am safe'
Standby over 3 daysCurrent measured, life worked out

These rows start your results table when you plan the project.

Viva practice

Say your answer out loud first, then check. The first 2 answers are free; Maker opens all 5.

1. Why a long press?
2. How does the modem send SMS?
3. What if there is no GPS fix indoors?
4. Why deep sleep?
5. What laws apply to personal data here?

Make it yours

One or two upgrades for a mini project, two to four for a major one.

Build these first

Datasheets and sources to cite

  • u-blox NEO-6 datasheet
  • SIMCom A7670 series AT command manual
  • NCRB Crime in India report

About this project

How much does the personal safety band with sos location project cost?

About ₹3,110 for the parts in the base list: ESP32 DevKit V1, NEO-6M GPS module, A7670C 4G LTE module, 12 V piezo alarm, Push button 12 mm, 18650 cell 2600 mAh (branded), TP4056 charger with protection, MT3608 boost (3.7 V to 5 V), Band, wires and 3D-printed case.

How long does it take?

About 10 weeks for the base project, built on an ESP32. Each upgrade adds time.

Which branches is it suitable for?

Electronics and Communication, Computer Science / IT (IoT, AI), Instrumentation, as a major project.

Which pins and design calculations does it use?

SOS button on GPIO 27 (pull-up, long press 2 s); GPS TX → RX1 on GPIO 4; A7670C TX/RX / PWRKEY on GPIO 16 / 17 / GPIO 5. Worked calculations on this page: long press, data cost, standby life.

How do I test it?

Short tap: No alert. 2 s press: SMS within 30 s with a working map link. Alert running: Updates every 2 minutes. Cancel hold: Stops and sends 'I am safe'. Standby over 3 days: Current measured, life worked out.

What are the objectives?

To send an SMS with a map link within 30 seconds of the SOS press (long press, so it is not set off by accident). To call the first contact automatically. To send updated locations every two minutes until cancelled. To measure battery life in standby and during an alert.