Accident Alert System Project Using Arduino SIM800L and GPS Module
HTML-код
- Опубликовано: 26 авг 2024
- Today, I am going to build Accident Alert System Project using GPS, GSM and accelerometer. This project detects sudden change in the axis of vehicle due to a crash or accident. And then the project send a call alert by making call to your mobile phone. Accident Alert System Project also send an alert SMS on your Mobile Phone with the location of the accident.
you will need to add the Emergency phone number in the code for receiving SMS alerts as well as call alerts.
The GPS Location of the accident is sent to your phone in the form of Google Map link along with the latitude and longitude. you just tap on the link, to visualize the real time GPS data on Google maps.
This Accident alert system can also be used as GPS Tracking System. you just send the "get gps" command from your phone. and you will receive the location of the vehicle on your phone.
If the project detects false crash due to noise or some other reason. Then you don't want to receive that false accident alert on your phone. So, I have added a push button. If you want to cancel the Alert SMS then you just press this push button within 30 seconds and it will cancel the SMS and Call Alert.
The whole project is based on GSM network. So, No internet connection is required for this project. you just need a 2G sim card and GSM module for sending SMS alerts and making calls.
I have write an Impact Detection Algorithm. This Algorithm detects accident by getting the x, y and z axis values from accelerometer. This is one of the best Crash Detection Algorithm I have ever seen on the internet. This algorithm differentiate between parking mode and driving mode. So, it can detect crashes while you are driving. And It can also detect the crash when the car is parked.
Parts Used In This Project
1. Arduino Nano or UNO - amzn.to/3Fe8vlD
2. LCD I2C - amzn.to/3mFwHqB
3. NEO6M GPS Module - amzn.to/3YAeV5s
4. SIM800L GSM Module - amzn.to/3yyyQH3
5. 2G micro sim card
6. Piezoelectric Buzzer - amzn.to/3Fco4tP
7. push button with 1K Resistor. amzn.to/3ZZVILz
#Arduino #AccidentAlert #SIM800L
--------------------------------------------------------------------------------------------------------------------
Useful Video Links
--------------------------------------------------------------------------------------------------------------------
NodeMCU SIM800L GPS Tracker with Register Phone Number
• NodeMCU SIM800L GPS Tr...
ESP8266 Email Notifier Security System With Motion Sensor and GPS
• ESP8266 Email Notifier...
--------------------------------------------------------------------------------------------------------------------
Social Media Links
--------------------------------------------------------------------------------------------------------------------
GitHub:
github.com/ahm...
RUclips:
www.youtube.co...
--------------------------------------------------------------------------------------------------------------------
Download Code
--------------------------------------------------------------------------------------------------------------------
github.com/ahm...
--------------------------------------------------------------------------------------------------------------------
Disclaimer
--------------------------------------------------------------------------------------------------------------------
Disclaimer: All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
Warning: In some countries it is required to register gsm module from govt authorities before using it. So, get proper understanding of govt laws related to gsm technologies.
I'm Brazilian and I'm glad I found your channel. The content here is top notch, congratulations!
Welcome aboard!
The best guy I have come across. His projects and explanations are just top notch
thanks a lot man
I need help, can you explain why 50g is the threshold? If you have the paper referances that would be plenty. Currently having difficulties on finding a proper threshold, chat gpt just gave me 10, 30, and 60g thresholds but don't have any references to back it up.
I appreciate you; your video is so simple to understand and also very informative to learn about this project.
Can I get Research Paper on it?
Hi, thank you for the guide but I got a bit problem. For the accident alert, I only receive a phone call but no message was received. Do you know what causes this problem?
hi I have same problem, do you have any solution?
Hello Ahmad, you are a very prolific character! Thank you for sharing your projects with us!
I tried some of them and they worked excellently. Since I am a beginner, I would like to ask you to help me with something: I would like the assembly described by you here to be able to communicate with several phone numbers, for safety! Please can you publish the code changes (additions) to make this change. Thank you very much .
Nice brother! Thanks for this great information you helped me a lot!
Glad to hear it!
Can you explain...about the app used? Like how it's used?
Hi ahmad Khan
Your programs are great and useful
Undoubtedly, this program for detecting the amount of acceleration changes in the coordinate axes depends on the exchange rate of GPS sensor data with satellites.
In any case, we will take full advantage of your beautiful ideas and the algorithms used
many many thanks.
one thing you must know. acceleration changes in the coordinate axes are not depends on the exchange rate of GPS sensor data with satellites. the project will work fine without gps module.
Yes, you are right, considering that the data transfer speed and data update rate in GPS modules by default are 9600 and 1Hz, respectively, your program will definitely work.
@@masoudjafarzadeh your suggestions will be highly appreciated about how can I improve this project
@Yuri França I will have to buy it first. then I will be able to tell you how to
If anyone knows about this please reply
Hello brother, is it possible to make an app for this? Like the signal/sms will send to the app and the adding, updating, and deleting contacts is doable through the app? It would be a big help if you reply on my comment. Thanks
Hi
I'm using Arduino nano, gsm sim 800L, GPS Neo 6m, ADXL 345 for accident detection and alert system but I'm not getting source code for this project ? Can anybody help in this?
kallu minginaya
Sir can the accelerometer sensor detect collision impact ?
Our gsm module is not working properly. The light is blinking fast onky. It is not connecting to the network. Please help it is urgent.
Bro my led is only not glowing . please help me
@@mrbear_69 which battery are you using bro?
you are great Ahmad sir, mujhe ak aisa hi project ka required hai kya amount lagega aap bana k mujhe de sakte hai kya plz.
Bro i have installed all liquid crystal library but i get error like " no maching function for call to Liquid Crystal_I2C ::begin()
How to download Arduino file folder to copy librarys
Its really wonderful and innovative project..
Thank you! Cheers!
Can You Make This project using ESP32 And A9G Board ? Please sir 🙏🙏🙏🙏🙏
Great job, Ahmad! This is a very hot topic! Hello from Europe!
glad you like it
another great idea and nice video, many thanks
Glad you liked it!
Can we use SIM7600G GSM Module instead of SIM800L because 4G only available? Do I need to change the entire code of yours?
Same issue with me, will you helpme please
you must have to make modifications in the code.
nice project brother, it was very informative
Glad it was helpful!
Nice we hope to seen your great pdoject as soon as possibls.
I hope so too!
Does 4g sim supports for this project sir....mm?
Excellent video ♥
Thank you
Many thanks!
Hi Ahmad! Nice video of yours. I just have some questions, can I add an ESP8266 so the location or google map link would be sent to a certain app (like blynk app) instead of receiving the location via text message? Kindly help me to my project. Thank you!
With support of only 3.7v battery the project is running & call is made but gps sms is not sent.?
Sir can I use accelero metre MPU6050 and what should be changed in that sir please me I am a really big fan of your sir
once the impact detected call and message are sending repetadlt again and again even acciciden not occured. what could be the problem
hey Ahmed, could i use SIM900D there's no difference ? and please which application you have used for online simulation??
Can we use 4g sim card instead of 2g sim card
hello is there anyone who can explain how to connect the equipments as i can't figure it out using wiring diagram?
Hi bro ye serial port not selected ka a Raha hi iska kise kare
Sir, may I know which website you use for circuit diagram
Bro... Guide me about gsm sim 800L...its not working
I am using arduino uno mpu6050 sensor for get accelerometer axises, it is working for a while and stop.
anyone know what is the problem?
Hi Ahmed i have faced some issues my buzzer is not sound
Why the accelerometer didnt stop in serial monster it is running without hit
I use sim900A and i already change sim800a to sim 900@ but still cannot get the call
How did you design that circuit wiring sir i mean which app?
Battery used?
Thank you very much for your sharing! I have tried but the delay time to transmit signal from 2g sim to make calls is very long. it takes about 1 minute to 2 minutes. can you help me explain?
it is the same for 3g and 4g sims
@v1ngoc89 Bro can u help me I am doing this project
You have 2 power suply? I see (at 3:47) only Li-ion 18650 3.7v connection to GSM. But it not connected to arduino. It means Arduino takes power from USB? I need one Battery 3.7v and one powerbank to work?
just unplug the usb. and connect the battery to 5v pin of arduino. that's all
What was total cost of project😊
Bro can you please do the arduino based fall detection system for elderly person by using gsm and gps network ckt diagram
you can use the same project for fall detection
Hi sir can i replace with gsm 900a and arduino uno it works or not works with same program
Sir can I use 4g sim instead of 2g sim
Nice video bro.
I have a small question, hope you can answer :
why when calculating "magnitude" we use addition (8:16), while scientific articles use subtraction (7:08)
The calculation of the magnitude in the code you provided, magnitude = sqrt(sq(deltx) + sq(delty) + sq(deltz)), is based on the Euclidean distance formula in three dimensions. It calculates the square root of the sum of the squares of the individual components (deltx, delty, deltaz) to determine the overall magnitude.
The use of addition in the formula makes sense because we are interested in the overall magnitude or the total impact force, which is the combination of the three components. By summing the squares of the components and taking the square root, we obtain the magnitude of the resultant vector.
On the other hand, using subtraction, as you mentioned magnitude = sqrt(sq(deltx) - sq(delty) - sq(deltz)), would result in a different calculation. This approach would be appropriate if you were trying to calculate the difference or separation between the components rather than their combined magnitude.
I have just corrected the magnitude value. it must be updated in the scientific report.
@@AhmadLogs thanks bro
This is an excellent system for a car, but can you modify it as a person fall alert for an old person that falls over but does not have a phone???
I will try it
hi ahmad sir can i use gsm sim900A instead of sim800 and in this project can i use 3g sim because airtel networks has 2g 3g and 4g in one sim .can you pls respond sir
can we use same program for sim900a or any changes in the program because i want to use gsm sim900a instead of gsm sim800 sir could you pls respoond sir
Sir we can use 4g sim
Hii bro it is a very nice project, i have a little bit error bro,
"lcd.begin ();" will you say this solution bro
Sir please help me my Adxl335 Not Showing Any Data in Serial Monitor please sir help me and please give me Solution for this Problem 🙏 🙏🙏🙏🙏🙏🙏
then check your hardware connections
@@AhmadLogs bro same problem
can I calculate tilt with the 3 axis accelerometer?
Hi sir emergency phone number kiska lagega Jo gsm me sim lga ha ki Jo app ke mobile me
Sir 2 or 3 mobile number dalna ho to kya kre please help me
Sir near my home area I can't find a 2g sim provider.
Can you please let me know which different GSM module I can use, so that i won't have to change the code provided by you...
use sim7600 4g module
@@AhmadLogs thanks Sir🕶❤🔥
@@AhmadLogs then we have to change code right???? PLEASE REPLY
@@btechstudent3115 unfortunately not
Hi ahmad Khan . I have tried to find a 2G sim card and I didn't find it on the market. Is there any way to use a 3G or 4G sim?
You can use 3G or 4G sim in sim800l module.
If you have issue of connecting then you have voltage supply issue.
Or confirm that your sim800l module has PTA approved..
How can i can that my sim800 module is PTA confirm?
Hello sir! 🙏
The 3.7v battery is enough for the whole project or I have to connect an external power supply to arduino (I mean is it necessary to connect the arduino to the system apart from uploading the code?)
Please help me 🙏.
no it is not required. just disconnect the arduino from the computer and power the arduino from battery
I uploaded to find my lcd display and the code is uploaded but is showing the address for my lcd
hello can i use ADXL337 insted of ADXL335
u can
Sir can you tell that how I can add a relay in this program using the sms function.
Should I change the code if I use GSM Module (SIM900A) instead of 800 ???
just give it a try
@@AhmadLogs thanks dude I tried but GSM is not receiving any signal
@@persis2646 how do you powering your module. the power supply must be capable of providing 2A current
@@persis2646 This is the power issue. you need powers supply with 2 ampere current rating. also test if you sim card is working or not. only 2g sim card will work
Can i use ADXL345 ?
Shall we do this project confidently by ur video...
Hi,
Thanks a lot, its really greate effort and great knowledge.
i need to do a project for a preset position linear actuator with a DC motor abd a stepper motor, with Arduino Mega or UNO but i am not able to write the code and the scheme, can you please help.
Regards
How can I help you?
@@AhmadLogs hi, how to control a stepper motor or a dc brush motor linear movement to a multi preset position using arduino mega or uno with pushbuttons
Regards
@@kifahzaidan4505 hmmm. it is a good idea. I will think about it.
Hello sir can you tell what is the power supply given to it
hi everybody,
i'm dealing with a big issue,
i bought the 800l module and because i was busy i just wanted to test if it works,
so i connected it directly to the Arduino Uno like this :
tx-->rx
rx-->tx
5v-->vcc
gnd-->gnd
without putting the sim card
the gsm module's LED started blinking
after 3 days i did the same but this time with the sim card
the gsm module doesn't work at all, the LED doesn't even turn on with/without sim card
i checked if the LED is working using an external circuit and it worked
i don't even know where the problem is or even if it has been corrupted
power it using 3.7v battery
@@AhmadLogs thank you for replying
i tried to power it with a 3.7 battery but didn't work
i guess i'll just buy a new one
thanks any way
@@aitchjayem2294 yes, you are right
I have followed all the steps but getting error while running the code
#include
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: LiquidCrystal_I2C.h: No such file or directory
What to do to get the gps location by sending sms....it doesn't work....
Hlo can i use another display in this project and how can i make changes in the code
my GSM sim800l is continuously blinking and not connecting to network. What should i do plz reply
this might be helpful ruclips.net/video/6eZRlDDHuCY/видео.html
How can we turn ON buzzer and led located at far end from GPS module
The whole idea is that when an object enters into the geo fence the buzzer and led will turn ON until object is in geo fence.
Please help me with code and hardware
I will try my best
How do I do it with the MPU6050 sensor?
Thanks
will make a video on it soon
do we need to use blynk app as well??
Hello Master. Can the RX GPS base be disconnected so that the GPS is not damaged? Grateful
yes. gps rx pin is not required in this project. If disconnected then It will not damaged the module
Do you have video that uses Dc-Dc buck converter with sim800l, I already got 3 sim800l failed because of power supply I cant make it stable. please help
check out ruclips.net/video/iESO8ae9cA0/видео.html
hi can i use ADXL 337 insted of ADXL 335?
I am not able to find Arduino libraries folder
It showing errors Unknown extor at address Ox7D
Unknown error at address 0x7E
No I2C devices found
Can i use Arduino uno instead of uno ?
Sir can we use 4g sim ,why 2 g sim used here ?
Can we use arduino uno instead of nano
I applied this system as you did, but buzzer always turn on, while I increase sensitivity of accelerometer, how solve this problem?
if the magnitude >= sensitivity then the buzzer will turn ON. so adjust the sensitivity that always greater then the magnitude in normal conditions
Hi please help. For the accident alert, I only receive a phone call but no message was received. Do you know what causes this problem?
try to delete all the sms already stored in sim card
I couldn't find 2g sim... Will there be any difference in coding... I have bought sim800... Tell me please
the project will not work without the 2G sim card.
Can we power Arduino with battery..?
If yes then which battery is required...?
you can use the same battery that is used for powering the sim800l
Nice video ,thanks :)
welcome
Sir can i use 4G sim and if i use this 4G sim any changes in code yes or no.
Sir it is agreat project
I tried itas you said in the video. But cant get the sms and phone call and i an not getting the mistake in it
Did you solve the problem?
Hi, I turned on the device, but when I receive the call and the message does not stop, the call and the sending of messages are repeated. Is there a way to stop this thing?
Bro have u done the project
Plz reply bro
Urgentt
Ammazingggg brooo
thanks
Hello from Turkey
hello
Bro I am facing issue while compiling the code please help
sir plaese help me the project is not sending messages
Nice Project. Can I upgrade this kind of Project?
yes
@Ahmad logs bro if any extra changes when we change in programming
please explain a bit more
Can i used uno instead of nano
hello sir i found this interesting i just wanted to ask do you have the simulation of this project
I am not perfect at simulation. please give me some idea
Hello, sir. May I know what difference would it make using Arduino UNO instead of NANO?
no difference, use the same code and same pinout
Where the code of Arduino
Compilation error: no matching function for call to 'LiquidCrystal_I2C::begin()' why is this error coming?? What should I do?
you have multiple lcd i2c libraries, this makes it use the wrong one. delete the other LCD libraries and use only the one given by him.
TRUE