Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

-gps-communication_project

📲 What the Code Does

  • Initialization (setup):

Begins serial communication for GSM and GPS modules.

Configures the GSM module to send SMS in text mode.

Sets up input (button) and output (buzzer) pins.

  • Main Loop (loop):

Continuously listens to the GPS module for updated location data.

Monitors the button press.

  • When the Button is Pressed:

GPS location (latitude and longitude) is read.

An SMS is sent to a predefined phone number (phone_no) with:

Latitude and longitude

A Google Maps link showing the location

Buzzer sounds for 1 second after successful SMS.

  • SMS Send Prevention:

A flag (isSMSsent) ensures the SMS is sent only once per press to avoid spamming.

About

This Arduino project is an emergency alert system using GPS and GSM modules. When a button is pressed, it captures the current location and sends an SMS with a Google Maps link to a predefined phone number. A buzzer activates to confirm the message was sent. The system is ideal for personal safety or emergency tracking applications.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages