Arduino Sim800L GPS Tracker | Arduino GSM GPS tracker
HTML-код
- Опубликовано: 10 сен 2024
- Today's Topic: Arduino Sim800L GPS Tracker | Arduino GSM GPS tracker
In this video I will show you how to make Arduino GSM GPS Tracker with Ublox Neo6M GPS module and Sim800L GSM module. You can track and control your vehicles by using this Arduino based GPS GSM Tracker.
You can use it to control your motor bike, car or any other vehicle. Arduino GPS Tracker has three main features Tracking, Controlling and Anti-Theft. This arduino GPS GSM Tracker provide extra security layer of Anti-Theft.
--------------------------------------------------------------------------------------------------------------------
Parts Required
--------------------------------------------------------------------------------------------------------------------
1 - Arduino UNO - amzn.to/3ZWKAz2
2 - Ublox Neo-6M GPS Module - amzn.to/3YwyWd7
3 - Sim800l GSM Module - amzn.to/3J48mlW
4 - Mini 360 DC to DC Step Down Buck Convertor - amzn.to/3l38IkK
5 - Transistor NPN BC547 - amzn.to/3kYzbjs
--------------------------------------------------------------------------------------------------------------------
Useful Video Links
--------------------------------------------------------------------------------------------------------------------
Send GPS Data To Server Using Arduino and PHP
• SIM800L GPS Tracker | ...
ESP32 SIM800L Firebase
• ESP32 SIM800L Firebase...
--------------------------------------------------------------------------------------------------------------------
Social Media Links
--------------------------------------------------------------------------------------------------------------------
GitHub:
github.com/ahm...
RUclips:
www.youtube.co...
--------------------------------------------------------------------------------------------------------------------
Download Code
--------------------------------------------------------------------------------------------------------------------
github.com/ahm...
--------------------------------------------------------------------------------------------------------------------
Download Arduino Libraries
--------------------------------------------------------------------------------------------------------------------
TinyGPSPlus
github.com/mik...
AltSoftSerial
www.arduinolib...
--------------------------------------------------------------------------------------------------------------------
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.
#Sim800L #Arduino #GpsTracker
Hello, you have used base 5 for the output base of the project in the image, but in the program you have taken 12 outputs and the image is wrong, please correct it.
OK. I have input 12v and output is 5v
@@AhmadLogs no its about the arduino output port in the shematich diagram you connect port number 5 too transistor (in the first picture) . but in the Arduino code you use port number 12 .... and its working but the first picture has mestak
and thanks for you learning and progekt 👌👌👌🌺🌺🌺🌺
@@user-lk1ki2bw3g ohhhh. thanks for figure out the mistake.I have pinned your comment
Thanks for this project. 🤝
I want to use this to do my project 🙏
thanks
Neoway m590 use ker saktay hain
Hello, thank you very much
so nice of you
Sir please make one video on accident detection with accelerometer,fire sensor with gsm and gps
Perfect design.
Can you add RFID-RC522 to this?
Thanks. I will but not sure when?
Me puedes decir que tan bien trabaja ese módulo convertidor?
I don't know why but this code is not working for me ...as I am not getting the location on Sending SMS request. surprisingly the same code was working fine till last month. Initially, I doubted some issue with the gsm module so tested other similar code which works fine...any idea why it happened...any issues with the libraries... can you test your code as well and confirm if its still works for you...
after reading your comment. I have tested the code again and it still working fine. please check wiring if there is some loose connections
I'm trying to implement anti-theft in my project, but I don't understand the bc547 component. where do I connect on the bike?
your ignition wire
that is amazing GPS tracker
thanks
I just want to make it with Arduino Uno, Neo 6M gps and sim800L with out anti theft and other functions so what will be the circuit digram
remove the anti theft parts as well as mini360 buck converter and then supply vcc from li-on battery 3.7v
@@AhmadLogs ok could you give the circuit digram
@@mohammadhilalmalik ok contact me on my fb page
Dear Sir how I design this project with out using arduino uno, because I wanted this project very compact
you can use atmega328p
I am facing a problem that the code does not reply back to the mobile besides that it works fine please help I have checked both gps and GSM module both are working fine,. When I send message get location to the tracker the message appears on the serial monitor after it does nothing no reply back
send me the serial monitor output. just copy from there and paste it here in the comments
Hello! i'm doing a project that needs to acumulate miles, can i calculate the distance using coordinates (lat and long)?
are you talking about geo fencing?
Hi.Is the SIM card not filled by sending and receiving messages? Or is there a plan in the program to empty the SIM card memory.
Thank
yes you are right. there is a plan to delete the sms. just uncomment the line number 124.
//deleteSms();
to
deleteSms();
in serial monitor i am not getting any command ,its stay blank only,i have check all thing twins thing is printing on serial monitor .when i upload sim 800 other program its works with AT commands please reply waiting for solution.and one more thing where to connect anti theft wire in bike
Same error I got did u get any solution for it
How are you my friend When using the atmega328 . microcontroller Alone on the printed board with gsm sim800l is it possible to use one feed for them which is 4.2v although the atmega needs 5 volts, but when connected to the 4.2 it worked
yes, you are right. it is possible
@@AhmadLogs How much effort does the atmega need to work without any damage? How much effort does the GPS also need so as not to be damaged?
Very cool program But you mentioned in another program that the gsm memory accommodates 70 messages. Did you add in this program the code to erase the message, brother? Because it is really amazing
Yes I did, just un-comment line number 124
Is it useful to use a relay instead of a transistor and if it works which one is better, you genius thank you
yes. just use 5v relay (commonly used for Arduino)
@@AhmadLogs ok but if it works which one is bettet transistor or relay
@@ahmedtaher4015 yes it must works.
I recommend relay, because it is easy to handle. but your circuit will become large using relay.
to make circuit more small transistor is best option
Hi Sir
I have done all step by step. tested Sim800l & NEO-6M all working perfect.
But when I load your Code do all the pins as per Code I do get on the serial after sms bike on I get
AT
OK
ATE1
OK
AT+CPIN?
+CPIN: READY
OK
AT+CMGF=1
OK
AT+CNMI=2,2,0,0,0
OK
+CMT: "+27 Follow MobileNumber" , " " , " 23/08/31, 17:41: 50+08 "
bike on
And that is all that happens, no action from there. will you be so kind to assist.
Thank you in advance 👏
and i know i am interfering with you
My question is simply the lm2569 used by Kapoor and connected with it a rechargeable battery so that the fuel fuels it with the tire and in case of the interruption of feeding the battery enters is this useful
Or I will connect a diode between the model and the battery so that it doesn't happen coming back from the battery
use a diode if current is coming back. otherwise it is not required.
can you please give me the kapoor tutorial for batter understanding
@@AhmadLogs OK my friend but the battery will be charged and emptied in case of power outage of the modeol is that true
Sir now 2G sim is not available in market which sim we can use in sim 800l in this project
I will soon try to make video about 4g module
Good project, but where do I get 12 volts continuous from the bike when running or trying to run
from the bike battery.
Dear your project is very good and interesting, I congratulate you for it. A query could add another 2 or 3 more telephone numbers and how would it be done? Thank you
It required lot of change in the code.
Hello again, I forgot to tell you that I'm new to this. perform some tests but I get the following message on the com monitor which means please your help if something else needs to be done to get your project up and running.
ATE1
OK
AT+CPIN?
+CPIN: READY
OK
AT+CMGF=1
OK
AT+CN
@@carlosvilcajeri442 this response indicate that your gsm module is working fine. what else you want.
4G sim card work or Not in SIM 800L
and which sim use in SIM800L module
Plz Reply.................
it will never work
HI Im not getting a response from the module AT commands working as it should any help
what is the led status of yours sim800l module.
@ahmad - I have tested both your gps tracker - SMS based and live tracking.- is there way to combine these both if yes then pls upload - I tried but because I am new and not that good in programing so failed...
Looking for codes where I can track with sms and google maps live tracking.
yes you can combine live tracking as well as sms functionality
Sir, by using what you are powering the buck 360 convertor?
bike 12v battery
Hola , el valor de las resistencias son 1k para el transistor , 10 k y 1M par la ignicion porque la foto segun los colores son otros valores
yes you are right.
the value of the resistors are 1k for the transistor, 10 k and 1M for the ignition
@@AhmadLogs gan itu power sim800l nya bisa memang 5volt
@@chanelelektrik not possible
Hello sir, what is the minimum and maximum voltage of the neo 6 gps module?
3.3v to 5v
hlo sir is it possible power both arduino and gsm by 3.7V.2500mah battery?
which step up converter will i have to use?
thanks
yes it is possible. but the arduino is 5v micro controller. so some time you have faced the over clocking issue. but the project will work fine, I have tested it with 3.7v battery. if you want to use buck converter then you must have set the output voltages of buck converter to 4.2v or 4.3v
@@AhmadLogs thanks for information
can i use TP4056 or any another
@@sumitgarg7805 I have mostly used LM2596
@ahmad Few more questions to understand the codes:-
1) In your code I saw -
yes ask please
I like your project. hope you will add capacitive touch sensor which is attach inside the helmet. if the rider will not wear the helmet the engine will not start.
It mean we need to different micro controller one for gps tracker, and the other one for helmet. and they both communicate with each other. am I right?
Sar gsm not automatic sms delete
Send me ansar
use at+cmgd=1,4
Can we use same code for airtel Sim card
Or different Sim cards needs different codes
you can use it for any 2G Sim card
Hola con el circuito podría obtener el nivel de la batería que alimenta al arduino y al sim con los comandos at????
AT+CBC gives you battery level
Hello sir, I'm trying to do a project very similar to this one but easier. All I want is to ask for the location information via message and the device sends the location information to me. What kind of changes do I need to make in the part of the code you have uploaded to Github? If you could help, you will make people like me happy.
check this the code with work for arduino
ruclips.net/video/GzfvNombSpA/видео.html
sir how to register 5 simcard number in this scope
Assalam o Alaikum great video can you please make this on micro python too with esp8266 or raspberry pi pico
thank you in advance
will try
V in injection 12v resistance 100k and résistance 1M to Gnd calculé v out 10v to A5 ??????Arduino utilisé 5v
hmmmm. just reverse it. 12v resistance 1M and résistance 100k to Gnd => v out 1v to A5
can you make a video on this project just replacing arduino uno with esp32 wifi board without anti-thief feature
PLEASE
I have different videos on esp32 gps sim800L. have you watched. may one of them fulfill your requirements
hello sir i wanna do it this project but i want to send sms to the number registred in sim card not in the code how can i do it .thank you
Today, I have uploaded a video on this topic
@@AhmadLogs thank you so much bro
good morning Greetings and thanks and appreciation for your effort I asked you for an explanation of the circuit, and you made a great effort, even more than wonderful, but with an eps32 module I need this video where is the anti-theft delivery and you when you send the message what happens I hope for a reply and help because I want to do it on my bike Thank you please and sorry to bother you
I am try to make version 2.0 for the project in which I will explain every feature with practical.
@@AhmadLogs I'm waiting for you Please do not be late for us, your explanation is simple and comes to the mind easily
@@ahmedtaher4015 I am going to try but it taking time
Hi sir.. can you do tutorial how to send GPS location to Firebase using GSM sim800l and Arduino... Please help me to my thesis project.. Actually I watch most of your videos but its seems there's no videos that can solve my problem... Please help me this..
I think there are some videos about sim800l and firebase. have you checked that?
Great ♥
thanks
which phone number we have to add in code? personal or sim which inserted in sim800l module? please reply...
personal
@@AhmadLogs I have connected all the components correctly and also tested my gps and gsm module which works properly. but when I upload your code it prints only 2 lines in serial monitor and when I send message through mobile model does not respond even don't get message back . any solution please help. thanks in advance.
@@Swati-tk4ji make a call to your module and see if it is responding or not.
It really is a great program Thank you for this effort But I need an explanation of what this program does. What does Bike on-of mean? And also ignition sensing I just want to send a message that sends me the coordinates Thank you and sorry for the long
I am making version 2 for this tracker in which I will explain all your questions. I will also show you the demo of all the functions practically
@@AhmadLogs that's cool But will you let me know the time, because I need to try the GPS module and long to learn from you if you will allow me to do so Sorry to bother you
Sir,
Can this also be used with Wemos D1 Mini ?
Yes, definitely
I have a problem in code , it reads the message in serial monitor and also displays the RING when I call to the no. present in GSM .
But did not replay and not do the work.
when you receive new sms in serial monitor. what output is displayed there (serial monitor).
check if there +CMTI command is present or not?
@@AhmadLogs No, now it is only showing the call (rings) not the message. It stores the message and do not delete automatically , I have to delete the manually by removing the sim card from the module.
@@narayan_.prasad enter this command in the setup function to delete all sms after pressing reset button.
AT+CMGD=1,4.
when the sms memory is full, then the module will not receive any new incoming sms, until you delete all the sms from the memory.
@@AhmadLogs sendATcommand("AT+CMGD=1,4", "OK", 2000);
This command is added on the line no.234 {on void deleteSms() } . Is it correct?
@@narayan_.prasad I have checked. just change line number 124 //deleteSms();
to
deleteSms();
that's it. give it a try
Do you have an idea on how to send gps coordinates to firebase with this project?
yes it is possible but not reliable. I have already made 1 or 2 videos on this topic.
@@AhmadLogs can I have the link of the videos? 🙏
@@roentgennebit4008 ruclips.net/video/i1yBv1CM7mY/видео.html
ruclips.net/video/gLYaIgAKhjo/видео.html
sir i need help i want to integrate jazz cash gate way
in app can u help me
you may watch my video on "jazcash android integration"
How I can modify this code to trigger SMS if GPS goes outside a predefined geographic area- ?
I think you are talking about geo fencing. I am trying to make the code for geo fencing but not yet completed
@@AhmadLogs yes... I hv the codes for geofencing but yet not tested.. But wud love to hv one single code for 1) GPS location by sending sms 2) live location 3) geo Fencing alert by sms/telegram or whats. All in one
@@srkravikumarsharma hmmmm. Geo fencing is working on google maps. I will try to add these features in the tracker to make it all in one
Hi thanks for cod but two part of ther cod is wrong i cant upload
what is the issue. give me some more detail
But this is not with firebase
hello ..code not doing action. please help
give me some more details
Not working for me :( I tested gsm module and gps module, everything is ok but I dont receiving any sms
I am from Serbia (+381) is it any relation with ANCII coding?
make a call to your gsm module, and check if it is responding or not
@@AhmadLogs Yes it responding, but when i send sms, no reply
i screenshoted serial monitor but youtube dont allow to post links
@@herzile when you send sms what display on the serial monitor?
@@AhmadLogswhen i send a sms first i get one row of unreadable characters, then +CMT, my phone number, date and time and "Get location"
...nothing else
Same problem sir
Tank mi compile sketck error plz hep me ,
what error?
Please help, when I send sms the sms is sending but the sms is not coming back again
check serial monitor
@Ahmad Logs Thank you very much for sharing your projects, could you help me please to run this project on MIT app also connect google map on MIT
Regards,
I am trying to make MIT App for the project. It will be completed soon
@@AhmadLogs thank You very much 🙏
@@nima.nikkhah so nice of you
Sir why its not sending me the location but in serial its already send the message
I need complete serial output to figure out the issue
just copy and paste the serial output here
sim800l already has gps right?
Dear i need this whole setup ready i can't make it ..can you make one for me .i can buy
yes, you may contact me on fb
I have also created an updated version of this tracker
everything works perfectly except that it shows me an error on serial monitor when sending GPS coordinates, please help me
is your gps module working fine? have you test it separately?
@@AhmadLogs yes, with other code it works but in this case the links are different from yours, I think the problem comes from the google maps links
@@amine1931 try to play with baudrate. if might be helpful. set the bauderate for serial, sim800l and gps module for 9600 and then test
@@AhmadLogs thank you, it works perfectly, just one thing, I see on the serial monitor a countdown for the messages received, after 70 messages is it that the gsm module no longer accepts the messages? if it's true how send this.
@@amine1931 its mean message memory is full. and no new sms will receive. just uncomment the line number 24 in the code. deleteSms();
and the sms memory will becomes full
Hello i have a problem
Your code dont send any massage to me
What's happened!?
what is the led status of the sim800l. is you sim800l working fine?
Yeah it working fine
@@AhmadLogs -> +CMT: "","","22/08/11,19:15:12+18"
-> Get location
->
->
-> +CMT: "","","22/08/11,19:16:07+18"
-> bike off
->
->
-> +CMT: "","","22/08/11,19:16:54+18"
-> Bike on
->
@@amirhoseynafshar5753 wow.
@@AhmadLogswhat is problem
how much money you was spend
how to add a fingerprint instead of on/off bike toggle
it requires some changes in both hardware and software
support 4g SIm card ?
it only works on 2g. also most of 4g sim cards have 2g function also
How to resister a mobile number by using sms??
this function is not available in this project. As I know you need to use eeprom
Is SIM800L works with 5V ?
not all sim800l works on 5v. best voltages are between 3.4v to 4.4v. I have both types of gsm modules
@@AhmadLogs Thank you
@@MustaphaElGarni So nice of you
Hi, I did this, I checked the connections several times, but it does nothing, nothing is displayed on the monitor serial
then you need to test each device separately. before connecting all
@@AhmadLogs I tested both modules separately, the serial monitor comes, GSM does not receive or send SMS, is it possible that there is a problem with the code that I copied?
@@AhmadLogs Maybe there is a problem with the library, I used softwareserial in another program and it is true, but I did not use the other two numbers
@@AhmadLogs I'm really confused, please help
@@saeidpourafshar4824 there is no issue with softwaresSerial library. just test sim800l with softwaresSerial separately
Tanhk. arduino nanao can be used Arduino uno
yes
Not working
I want make GPS tracker for bag, please help me
how can I help you
Peace be upon you
I hope you are fine
The GPS was working for me and suddenly it stopped when I downloaded a code to do a test, why did it give me this message
no gps detected check wiring
Its mean you have some loose connections with rx and tx pin of gps module on breadboard with jumper wires. please check your connection carefully.
and let me know if the issue is solved
@@AhmadLogs The GPS worked, but it works for a short time and then disconnects again
I changed the program instead of 8 and 9 and made them 9 and 10
Does this affect him except that he picks up the signal?
When I send the message, he does not read it
What is the problem here?
@@ahmedtaher4015 if you change the pins, I think it does not effect the project functionality. you need to change both in code as well as hardware connection.
please check the serial monitor while testing. may you find some useful information to identify the issue.
recommended pins for AltSoftSerial
RX is digital pin 8
TX is digital pin 9
Reference: www.pjrc.com/teensy/td_libs_AltSoftSerial.html
@@AhmadLogs the seral montor
AT+CMGF=1
Ok
My problem now is that he does not read the message as it was before
Dear sir, If i used atmega328p pl, share the circuit diagram
unfortunately I misplaced it.
Code not work
it must work
add a phone number register, it's better sir
Thanks. I will try
Please what is your Facebook username
bro why doesn’t send SMS?
please tell me in detail
@@AhmadLogs I am sending SMS "bike on". arduino reads sms then sends sms "bike on". but nothing comes to my phone
@@tatarin4015 Its strange! I think there is low balance in your gsm module sim card.
@@AhmadLogs I have a tariff with unlimited SMS
@@tatarin4015 ok. put out sim card from gsm module and insert it in a mobile phone and test it. I think there is an issue with sim card. but not sure just test and tell me your findings
Hi Sir, I am doing a similar project. Could I have your email so I could ask you a few questions about this? Thanks
you can ask anything here.