Iot Report
Iot Report
Iot Report
A
Project Report
on
Internet Of Things
B. E. III, Semester - VI
Submitted by:
Academic
year (2023-24)
Internet of Things(3160716)
Place:
Date: SSASIT, Surat
Chapter 1: Introduction
The "Guardian Alert: GPS-GSM Emergency Button" project combines GPS and GSM modules with an
Arduino microcontroller to create a portable device capable of sending location information to predefined
contacts during emergencies. Triggered by a press of a button, the system swiftly dispatches an SMS
containing real-time coordinates, providing immediate assistance to the user in distress.
Arduino Nano:
3
Internet of Things(3160716)
4
Internet of Things(3160716)
Working Principle:
Satellite Signal Reception: The NEO-6M module receives signals from multiple GPS satellites, as well as
other satellite constellations like GLONASS, Galileo, and BeiDou. These satellites transmit signals
containing precise timing information and their own orbital data. It continuously tracks the device’s location
via satellite signals.
Here's a simplified explanation of its working principle:
1. GPS Reception: The module receives signals from GPS satellites orbiting the Earth. These satellites
constantly transmit signals containing information about their position and the exact time of
transmission.
2. Signal Processing: The NEO-6M module processes these signals using its internal hardware,
including a GPS receiver chip and an antenna. It decodes the signals to extract information such as
satellite IDs, signal strength, and time stamps.
3. Position Calculation: By triangulating signals from multiple satellites, the module determines its
own position on Earth through a process called trilateration. This involves calculating distances from
the module to each satellite based on signal travel time.
4. Data Output: Once the module calculates its position, it outputs this data in a standard format,
typically including latitude, longitude, altitude, and time. This data can be accessed by a
microcontroller or other computing device connected to the module.
5. Serial Communication: The NEO-6M module typically communicates with external devices using
serial communication (UART). It sends the processed GPS data to the connected device, which can
then use this information for various purposes such as navigation, tracking, or time synchronization.
Application:
Vehicle Tracking:
GPS modules like the NEO-6M are often used in vehicle tracking systems for fleet management,
logistics, and stolen vehicle recovery. They provide real-time location data that can be monitored
remotely.
Navigation Systems:
The module can be integrated into navigation devices such as car GPS systems, handheld GPS units, and
marine navigation equipment to provide accurate positioning and route guidance.
Geographic Information System:
In GIS applications, GPS modules are used for mapping and surveying purposes to collect spatial data
such as coordinates, elevation, and distance measurements.
5
Internet of Things(3160716)
SIM800L is a miniature cellular module which allows for GPRS transmission, sending and receiving SMS
and making and receiving voice calls. Low cost and small footprint and quad band frequency support make
this module perfect solution for any project that require long range connectivity. After connecting power
module boots up, searches for cellular network and login automatically. On board LED displays connection
state (no network coverage - fast blinking, logged in - slow blinking).
6
Internet of Things(3160716)
Chapter 2: Implementation
The GPS-GSM emergency button operates by combining the capabilities of GPS and GSM technologies to
provide a rapid response mechanism in times of crisis. Upon activation, typically by pressing a designated
button, the GPS component pinpoints the device's precise location using signals from satellites. This location
data is then relayed through the GSM module, establishing communication with cellular networks.
Hardware Requirements:
Arduino Nano
GPS Module
GSM Module
Push Button
Adapter
Ion battery
Circuit Diagram:
7
Internet of Things(3160716)
Connection Steps:
1. Gather Components
Arduino Nano
GPS Module
GSM Module
Push button
Adapter
Ion Battery
2. Wire connections
Connect the Neo-6M GPS module to the Arduino Uno:
o NEO-6M VCC to Arduino 5V
o NEO-6M GND to Arduino GND
o NEO-6M TX to Arduino RX (pin 0)
o NEO-6M RX to Arduino TX (pin 1)
Connect the SIM800L GSM module to the Arduino Uno:
o SIM800L VCC to Arduino 5V
o SIM800L GND to Arduino GND
o SIM800L TX to Arduino RX (pin 2)
o SIM800L RX to Arduino TX (pin 3)
Connect the push button to the Arduino Uno:
o One pin of the push button to Arduino digital pin (e.g., pin 7)
o The other pin of the push button to Arduino GND
o You may need a pull-up or pull-down resistor depending on the button configuration.
3. Power supply connections
Connect the positive terminal of the battery to the Arduino's VIN pin and the negative terminal to
GND.
4. Connection with laptop
Connect the Arduino with laptop.
Upload the code to Arduino Nano.
INPUT:
#include <SoftwareSerial.h>
#include <TinyGPS++.h>
const String phone = "+919879894854"; // Replace with your recipient's phone number
String emergencyMessage = ""; // Global variable to hold the emergency message
void setup() {
// Initialize serial communication
Serial.begin(9600);
gsmSerial.begin(9600);
gpsSerial.begin(9600);
void loop() {
// Check if button is pressed
if (digitalRead(BUTTON_PIN) == LOW) {
// Button is pressed, send emergency message with GPS coordinates
sendEmergencyMessage();
delay(1000);// Delay to avoid sending multiple messages
}
void sendEmergencyMessage() {
// Send SMS message with emergency alert and GPS coordinates
gsmSerial.println("AT+CMGF=1"); // Set SMS mode to text
delay(100);
gsmSerial.print("AT+CMGS=\"");
gsmSerial.print(phone);
gsmSerial.println("\"");
delay(100);
gsmSerial.print(emergencyMessage); // Send the emergency message stored in the global variable
delay(100);
gsmSerial.write(26); // End SMS with CTRL+Z
delay(100);
Serial.println(emergencyMessage); // Send the emergency message stored in the global variable
Serial.println("SMS Content: " + emergencyMessage);// Serial print the message content
Serial.println("SMS Sent Successfully: " + emergencyMessage); // Serial print the message sent
}
OUTPUT:
1
0
Internet of Things(3160716)
1
1
Internet of Things(3160716)
In conclusion, the GPS-GSM emergency button represents a crucial advancement in personal safety
technology, offering a lifeline in times of peril. By seamlessly integrating GPS for precise location tracking
and GSM for instantaneous communication, this device provides individuals with a powerful tool to
summon help swiftly and efficiently. Whether in remote areas or urban environments, the ability to transmit
accurate location data to designated contacts or emergency services can make all the difference in critical
situations. The GPS-GSM emergency button stands as a beacon of reassurance, ensuring that help is always
within reach, no matter the circumstances. Its role in enhancing emergency response capabilities and
safeguarding lives underscores its indispensable value in today's interconnected world. GPS-GSM
Emergency Button" offers a robust solution for prompt assistance during emergencies. Its compact design
and intuitive operation empower users with a reliable means of seeking aid. The selection of a 1 amp TV
adapter ensures consistent power supply, enhancing system stability. Future enhancements may include
battery monitoring, smartphone app integration, and emergency service collaboration for enhanced response
capabilities.
Future Scope:
The future scope of GPS-GSM emergency buttons holds significant potential for further innovation and
advancement in personal safety technology. Here are some potential directions for future development:
1. Enhanced Connectivity: Future GPS-GSM emergency buttons could leverage emerging communication
technologies such as 5G or satellite-based communication systems to improve connectivity and coverage,
ensuring that emergency alerts can be transmitted even in remote or challenging environments.
2. Integration with Wearable Devices: Integration with wearable devices such as smartwatches or health
trackers could enable seamless incorporation of emergency button functionality into everyday
accessories. This would enhance accessibility and encourage widespread adoption among users
concerned about personal safety.
3. Real-Time Monitoring and Response: Advanced GPS-GSM emergency buttons could incorporate real-
time monitoring features, allowing designated contacts or emergency services to track the user's location
continuously. This capability would facilitate faster response times and enable proactive assistance in
emergency situations.
4. AI and Machine Learning Integration: Integration of AI (Artificial Intelligence) and machine learning
algorithms could enable GPS-GSM emergency buttons to analyze data patterns and predict potential
emergencies based on user behavior or environmental factors. This proactive approach could help prevent
accidents or mitigate risks before they escalate.
5. Multi-Functional Capabilities: Future GPS-GSM emergency buttons may offer expanded functionality
beyond emergency alerts, such as health monitoring, environmental sensing, or integration with smart
home automation systems. This would transform the device into a versatile tool for personal safety and
well-being.
12
Internet of Things(3160716)
7. Global Adoption and Standardization: Efforts to promote global adoption and standardization of GPS-
GSM emergency button technology could facilitate interoperability between devices and ensure
consistent performance and reliability across different regions and jurisdictions.
13
Internet of Things(3160716)
References
1. https://www.youtube.com/watch?v=E-5vazIDznc
2. https://components101.com/wireless/sim800l-gsm-module-pinout-datasheet-equivalent-circuit-
specs
3. https://justdoelectronics.com/gps-neo-6m-module/#:~:text=different%20electronic
%20devices.-,Working%20Principle,and%20their%20own%20orbital%20data.
4. https://techiesms.com/product/multipurpose-gps-tracker-kit/
14