How to Use SIM800L With Arduino

  Переглядів 54,103

Ahmad Logs

Ahmad Logs

День тому

Today we will learn How to Use SIM800L With Arduino. SIM800L is a cheap and small module with all the capabilities of a simple mobile phone. You can send and receive messages and make calls using this module. Even, you can connect to the internet using the GPRS function of the module. SIM800L does not support 3G and 4G sim cards. It only supports 2G sim card. So make sure you have a micro 2G sim card inserted in the module
Buy SIM800L - amzn.to/3J48mlW
Antenna for SIM800L GSM Module:
You can use 3 types of antenna with SIM800L.
1st one is a Helical GSM antenna that come along with the module. This antenna is very useful for the projects that need to save space but if you put your module inside a metal case then this antenna will not perform well.
2nd one is PCB Antenna. This antenna is better than Helical Antenna. The
3rd one is IPX Antenna. You can connect any 3dBi GSM antenna using, UFL to SMA connector. You can connect this antenna to small UFL connector, that is located on the top left corner of the module. The performance of this antenna is much better then the helical antenna.
Powering SIM800L GSM Module:
To Power up the SIM800L module you need voltages between 3.4v to 4.4v. It requires 2A of current while performing burst operations like Sending and receiving SMS and Making Calls. So, your power supply must be capable of providing 2A of current. The first power source for SIM800L is
1. LiPo battery 3.7v with at least 2000mAh.
2. DC to DC buck converter with 2A rating like LM2596.
LED Blinking Pattern:
1. Blinks in Every Second - means searching for a cellular network. It takes 11 seconds to connect to the network. If the LED keeps blinking every second. this means the device is trying to make a connection to the network, but it failed to connect.
2. Blinks Once in Every 3 Seconds: Connected to the cellular network
3. Blinks Twice in a Second - means, you have connected to the internet using GPRS data connection.
4. Blinks 7 times and then restarts - means, your module not getting enough current. Make sure it gets stable 4 volts, and 2 ampere of current. Keep power line length as short, as possible.
5. Blinks 3 times and then stops for thirty seconds - means, bad serial connection.
--------------------------------------------------------------------------------------------------------------------
Useful Video Links
--------------------------------------------------------------------------------------------------------------------
Arduino Geo Fencing with SIM800L and GPS Module
• Arduino Geo Fencing wi...
Arduino Timer Switch Relay with GSM Module| SIM800L Irrigation System
• Arduino Timer Switch R...
--------------------------------------------------------------------------------------------------------------------
Social Media Links
--------------------------------------------------------------------------------------------------------------------
GitHub:
github.com/ahmadlogs/
UKposts:
ukposts.info?sub...
--------------------------------------------------------------------------------------------------------------------
Download Code
--------------------------------------------------------------------------------------------------------------------
github.com/ahmadlogs/arduino-...
--------------------------------------------------------------------------------------------------------------------
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.
#Arduino #SIM800L #ArduinoUNO

КОМЕНТАРІ: 145
@warrenscorner
@warrenscorner 2 роки тому
Great video Ahmad! You have the best SIM800 videos on UKposts!
@AhmadLogs
@AhmadLogs 2 роки тому
Wow, thanks!
@abduprogrammer
@abduprogrammer 2 місяці тому
​@@AhmadLogs Can you help me. I need to make the SIM 800 l gsm module receive sms
@MrBobWareham
@MrBobWareham Рік тому
Thank you for the video, very informative and helpful Cheers Bob in the UK
@AhmadLogs
@AhmadLogs Рік тому
Glad it was helpful!
@pushpasaichellaboyina1656
@pushpasaichellaboyina1656 6 місяців тому
Thank you very much I have tried so many your video helped me a lott ❤❤❤
@munip9237
@munip9237 6 місяців тому
@ahmadlogs can we used simcard that support 2G,3G and 4G?
@shahadathusain3002
@shahadathusain3002 7 місяців тому
how long does it take to initialize after uploading to Arduino board?
@sathyasathya-dm7xj
@sathyasathya-dm7xj Рік тому
“The best “ explanation on UKposts
@AhmadLogs
@AhmadLogs Рік тому
thanks
@alfredkaserekasivanzire9488
@alfredkaserekasivanzire9488 11 місяців тому
Some people were saying that we need to flash the Sim800L before we use them in Africa because it is programmed on Asian networks. I want to know how to flash them. Is it necessary to flash them? (I am using a Samsung bought in china, I didn't flash it either)
@__-em4pi
@__-em4pi 3 місяці тому
Hello good day. I want to ask something about the GSM. Is it possible for this to work with only arduino + gsm + raspberry pi. Because I cant connect the gsm to a computer while it is operating
@BradlyMcGregorHale
@BradlyMcGregorHale 5 днів тому
Thank you for the video. Very helpful!
@habibhussainhabib8971
@habibhussainhabib8971 Рік тому
I am using both espwifi and 800l which ever will be available it will send data to firebase, i don't know how to connect sim 800l to internet along with wifi
@saadelm2955
@saadelm2955 2 роки тому
All of your posts are very useful.. very nice
@AhmadLogs
@AhmadLogs 2 роки тому
Glad to hear that
@ahsanulhasib8554
@ahsanulhasib8554 Місяць тому
Will 3.7V battery be enough for power supply?
@MrGlaiconn
@MrGlaiconn 4 місяці тому
sim800l não acende a luz LED. Estou trabalhando com 4.1v e 2a. O LED pisca apenas se o chip for considerado ou o LED deve piscar mesmo sem chip??? thanks
@Unicprofits
@Unicprofits Рік тому
How can we program to ardino to auto pickup calls
@varunraghuwanshi3177
@varunraghuwanshi3177 3 місяці тому
Hi I trying sim800l and sim800l v2 both module but they unable to interact with Arduino and i am not getting any response on serial monitor why? I am making a call and it's ringing even my MSG also delivered to sim800l module what may be the problem?
@pradeepram9694
@pradeepram9694 10 місяців тому
If the sim card is inserted in the GSM how the msg will send to the phone
@godcanonen2634
@godcanonen2634 5 місяців тому
Hi, i have a problem with using any AT commands When i used your code Mr Ahmad in serial monitor i can see only the word "Initializing.." and that's all there is no At commands work Pls help me, what did I do wrong
@mohamedesalem
@mohamedesalem Рік тому
very very usefull video thank you so much ❤
@AhmadLogs
@AhmadLogs Рік тому
so nice of you
@sheenayu3035
@sheenayu3035 3 місяці тому
is there a code just for mq2 sensor?
@benbitrus7486
@benbitrus7486 Рік тому
How do I configure the sender name?
@TEGHENFRED-wn7pg
@TEGHENFRED-wn7pg 2 місяці тому
Super la vidéo! Bien expliqué merci
@aidahudulova
@aidahudulova 2 місяці тому
Hi, my sim800l not gives at ok messages. İt writes initializing... And ? this question marks 3 time
@abduprogrammer
@abduprogrammer 2 місяці тому
Can you help me. I need to make the SIM 800 l gsm module receive sms 6:30
@saadelm2955
@saadelm2955 2 роки тому
Thanks so much for the informations.. Brother...
@AhmadLogs
@AhmadLogs 2 роки тому
My pleasure
@nehatukuriya4278
@nehatukuriya4278 Рік тому
Is sim800l also comes with 5v tolerance? If yes then please tell me that how to check this 5v tolerance property . Please
@AhmadLogs
@AhmadLogs Рік тому
sim800l v2 is a 5v tolerance module. it is a 7 pin module
@maheshmustapure7668
@maheshmustapure7668 Рік тому
Great video My gsm is only Blinking only onec when powered up I tried powering up with Buck converter but didn't helped What to do ?
@AhmadLogs
@AhmadLogs Рік тому
use a battery 3.7v. if you are using buck converter the set the output voltages to 4.2 volts.
@tidesofwaves
@tidesofwaves 26 днів тому
hi we have made a project on arduino based obstacle avoiding robot with crash detection and gps system . we have used sim 800l for the gps tracking n sms alert but it doesn't seem to work in our areaa(we use 2g sim) so what changes can we make to improve this??
@SuSu-lg8rx
@SuSu-lg8rx 25 днів тому
Hi, i'm from banglore, im also working on arduino based crash detection and gps system, but gps system is not working, i dont have 2g sim either, did u find an alternative for this problem, if u find, please let me know, i too will update if i figure it out
@tidesofwaves
@tidesofwaves 25 днів тому
@@SuSu-lg8rx yes sure , i will lyk and r u done with the model and codes?
@mokh3257
@mokh3257 2 роки тому
شكرا على المجهود
@AhmadLogs
@AhmadLogs 2 роки тому
thanks
@muruganjo3931
@muruganjo3931 2 роки тому
In some time my sim800l module is disconnected from the network automatically after it will connected, but the arduino can't work after the connection because of all the AT commands are placed in setup function, so how to I use when the GSM MODULE reconnected to network & work properly with ardunio
@AhmadLogs
@AhmadLogs 2 роки тому
I am trying to make a video on sim800l programing. I think it will solve your issue. so be patient
@muruganjo3931
@muruganjo3931 2 роки тому
@@AhmadLogs Thankyou brother
@kouameraouphbini1659
@kouameraouphbini1659 Рік тому
hello I'm working with SIM800L to send sensor data to firebase. The first tests I had to do I managed to connect via GPRS but now I can't connect to the server when I send the data without the sensors I manage to connect but when I connect the sensors to send their data the connection fails.
@AhmadLogs
@AhmadLogs Рік тому
sim800l is not performing well while working with firebase due to it slow internet connection.
@ObaidullahKakar
@ObaidullahKakar Рік тому
AOA, Is there is any possibility to reset Arduino through sim800 , In my some project Arduino didn't respond while receiving the commands through sim800 , what will be the issue here . Thanks
@AhmadLogs
@AhmadLogs Рік тому
Let me check
@ObaidullahKakar
@ObaidullahKakar Рік тому
@@AhmadLogs thanks Bhai Jan
@sukhpalsingh371
@sukhpalsingh371 Рік тому
Hi Plz tell me that is sim800l support 4g sim . Because no one company selling 2G sim in my region.
@AhmadLogs
@AhmadLogs Рік тому
only 2g
@abduprogrammer
@abduprogrammer 2 місяці тому
i used sim 800 l gsm module. sms came and after some time . SMS has stopped. Please help me to solve this problem module is crashing after sending sms help me code
@giga-chadsingh8727
@giga-chadsingh8727 10 місяців тому
Sir do we need to insert a 2g sim in sim800l module ?
@AhmadLogs
@AhmadLogs 10 місяців тому
yes 2g sim card
@masoudjafarzadeh
@masoudjafarzadeh 2 роки тому
Hi Ahmad Great In previous programs, you used delay (); command . In this program, you used the waitForResponse (); function. Would you explain this difference?
@AhmadLogs
@AhmadLogs 2 роки тому
Arduino do nothing while in delay time. so, to increase the performance of the program I have used waitForResponse() function without using any delay(). But this function is under development. I am working on it to make the code more efficient.
@masoudjafarzadeh
@masoudjafarzadeh 2 роки тому
@@AhmadLogs Thank you for your attention and explanation
@johnmarkmanuel2681
@johnmarkmanuel2681 11 місяців тому
sir what load does it need? regular or plan
@AhmadLogs
@AhmadLogs 11 місяців тому
it is upto you. you can use both
@wolfkind6985
@wolfkind6985 2 роки тому
ممنون احمد جان
@AhmadLogs
@AhmadLogs 2 роки тому
thanks
@Teja-gh5co
@Teja-gh5co 13 днів тому
IS SIM800l SUPPORT 4G AIRTEL SIM
@meetsoni1487
@meetsoni1487 Рік тому
How to check the gsm module is 5v tolerant?
@AhmadLogs
@AhmadLogs Рік тому
check the available description while you purchasing it
@meetsoni1487
@meetsoni1487 Рік тому
@@AhmadLogs thanks
@nafisashamimrafa4492
@nafisashamimrafa4492 Рік тому
Hello. I get "Error" and "No carrier" on my serial monitor when I pass the "S" and "C" commands. What could be the reason?
@AhmadLogs
@AhmadLogs Рік тому
I think it is the signal issue with sim800l have you attached antenna to you module. if yes then try to replace it.
@nomiahmad5268
@nomiahmad5268 Рік тому
Hi, i do have sim800l using zong sim.. for last 4days i was able to send sms through sim800 but after that it stop connecting to network , red led i blinking every second. What could be the problem its been two days i am working on this. Kindly help me..
@AhmadLogs
@AhmadLogs Рік тому
have you registered your gsm module from the PTA? if not then it is possible that the PTA has blocked your gsm module IMEI number
@hishcodes
@hishcodes 19 днів тому
Using Airtel sim. But led keeps on blinking every 1 seconds. Plz help me.
@OMARMGE
@OMARMGE 10 місяців тому
thank you .
@AhmadLogs
@AhmadLogs 10 місяців тому
You are welcome!
@OMARMGE
@OMARMGE 10 місяців тому
I have a question, I need advice. I want to control pump and fan remotely by GSM. What do you use as a controller? stm 32 . adruino nano ? The choice in terms of cost and ease of programming and installation.
@nithishtech8922
@nithishtech8922 2 роки тому
Nice bro 🤠
@AhmadLogs
@AhmadLogs 2 роки тому
🥳
@nithishtech8922
@nithishtech8922 2 роки тому
@@AhmadLogs bro help me to modify that code to adx 345 plz bro
@officalxsuit6262
@officalxsuit6262 Рік тому
Hi, Bro how to get 2g sim nowadays because i only have 4g sims
@houneidasaouli7445
@houneidasaouli7445 Рік тому
It's okay to use 4g Sim ,you cannot access the internet only.
@rajaduraisangari
@rajaduraisangari Рік тому
Hi sir, I have two different Sim800L, S2-1065J this type sim800l works very well, And I have another sim800L S2-105HE this type unable to received and send the SMS and serial monitor also nothing, but I will call to sim800L they have ringing, indicating every 3 seconds also fine, how to settle the problem?
@AhmadLogs
@AhmadLogs Рік тому
try AT+CFUN=1,1 to turn on the full functionality of sim800l. then try again with sms
@rajaduraisangari
@rajaduraisangari Рік тому
@@AhmadLogs thank you sir, I will try and let you know sir
@rajaduraisangari
@rajaduraisangari Рік тому
@@AhmadLogs sir, I try this but cannot, serial monitor showing the quotation marks only
@rajaduraisangari
@rajaduraisangari Рік тому
@@AhmadLogs sir, can send me the full code?
@AhmadLogs
@AhmadLogs Рік тому
@@rajaduraisangari unfortunately I dont have the full code
@nsk6914
@nsk6914 Рік тому
Can I insert 4g sim I don't have a 2 g sim
@ARK-Iot-Engineer
@ARK-Iot-Engineer Рік тому
Yes You can use.
@pookoye
@pookoye Рік тому
message getting delivered on the phone as , but able to receive SMS, call-out & in what could be the reason?
@AhmadLogs
@AhmadLogs Рік тому
which mobile phone you have used. the sms content are simple text and all the mobile phone support text. so it is strange. have you made any change in the code.
@pookoye
@pookoye Рік тому
@@AhmadLogs does this code works with ESP-12E & nodeMCU?
@pookoye
@pookoye Рік тому
@@AhmadLogs resolved by adding below command under void reply sim800.print ("AT+CSMP=17,167,0,0 ");
@AhmadLogs
@AhmadLogs Рік тому
@@pookoye OK thanks
@0124akash
@0124akash 11 місяців тому
Sir can i create wifi signal from sim800l module ?
@AhmadLogs
@AhmadLogs 11 місяців тому
no
@shubhamubarhande2122
@shubhamubarhande2122 11 місяців тому
Does this gsm module work on 4g sim?
@AhmadLogs
@AhmadLogs 11 місяців тому
no
@shubhamubarhande2122
@shubhamubarhande2122 11 місяців тому
@@AhmadLogs then which sim card do we have to use?plz tell.will our regular sim card that we use in mobile phones be okay?
@sajidd7222
@sajidd7222 Рік тому
*Assalamu Alaikum* How to purchase your home appliances product?
@AhmadLogs
@AhmadLogs Рік тому
I never sell any. tell me how can I sell?
@arunachalam.s8680
@arunachalam.s8680 10 місяців тому
I tried this but it didn't work in serial monitor it just shows initialising and nothing after that and my gsm module just keeps blinking can u please help me with this
@AhmadLogs
@AhmadLogs 10 місяців тому
most of the time this is power supply issue. provicde stable 3.7 to 4.4V,
@officalxsuit6262
@officalxsuit6262 Рік тому
Ahmad Bro I'm Using 3.7V li-ion battery but its LED is still blinking for 7 times and repeat
@AhmadLogs
@AhmadLogs Рік тому
use short length wires from battery to sim800l or try another sim card
@sumitpandey-tw7rm
@sumitpandey-tw7rm 9 місяців тому
Charge your battery
@gauravsinghthakur259
@gauravsinghthakur259 Рік тому
Serial monitor is stuck to Initializing And even I am not getting any message or call
@CurioCascade
@CurioCascade 5 днів тому
Mine also same. Have you found any solution??
@mohammadkarimi6115
@mohammadkarimi6115 2 роки тому
I tested the circuit several times, everything is fine, but the SMS is not received, it rings and is available, and the SMS is sent.
@mohammadkarimi6115
@mohammadkarimi6115 2 роки тому
for esp32
@AhmadLogs
@AhmadLogs 2 роки тому
try following at the end of the setup function. sim800.println("AT+CNMI=1,2,0,0,0");
@amirtelecom6898
@amirtelecom6898 2 роки тому
@@AhmadLogs Hi sir I want to contact you Facebook or WhatsApp Thanks...
@mohammadkarimi6115
@mohammadkarimi6115 2 роки тому
Thanks, exactly where to add
@chetanc8984
@chetanc8984 Рік тому
how to fix no dailtone error?
@AhmadLogs
@AhmadLogs Рік тому
this issue is not related to the sim800l directly. there is some issue with you sim card network provider. so just wait and try again
@pookoye
@pookoye Рік тому
is there any alternative module other than 2G which supports this project?
@AhmadLogs
@AhmadLogs Рік тому
you might use sim7600 4g module but you need to update the code
@pookoye
@pookoye Рік тому
@@AhmadLogs module keeps blinking every second, I have sent AT command but no reply? how to check the module?
@AhmadLogs
@AhmadLogs Рік тому
@@pookoye if the module is keeps blinking then it mean your sim card is not working or else your module is damaged
@johnmarkmanuel2681
@johnmarkmanuel2681 11 місяців тому
@@AhmadLogs sir I'm using 4G sim and the module blink fast and then it blink slower is it okay to use?
@AhmadLogs
@AhmadLogs 11 місяців тому
@@johnmarkmanuel2681 just make a call to the module to see if it is working or not
@Sekhar_Home
@Sekhar_Home Рік тому
Where could i got 20k resistor?
@AhmadLogs
@AhmadLogs Рік тому
you need 3.3v logic. you might use other combination of resistors.
@Sekhar_Home
@Sekhar_Home Рік тому
@@AhmadLogs anather qsn, i am not getting signal from network as led blink in 1sec. Sim is ok and it is 2g active sim. Attached a 3.9vollt lithium battery. Stil problem there but in at command the arduino shoows the sim number. It means sim reading is ok.
@AhmadLogs
@AhmadLogs Рік тому
@@Sekhar_Home 1. some to the AT commands always works even if your gsm module not connected to the network. 2. try another 2g sim card just for testing. 3. you need to try another sim800l module. it might be damaged.
@Sekhar_Home
@Sekhar_Home Рік тому
@@AhmadLogs yes i will check
@AhmadLogs
@AhmadLogs Рік тому
@@Sekhar_Home great
@msravika2078
@msravika2078 Рік тому
serial monitor does not work
@AhmadLogs
@AhmadLogs Рік тому
then check your serial connection, set the correct baud rate from the serial monitro
@nishantkumar5582
@nishantkumar5582 Рік тому
Sim 800l not working
@melissahealy1950
@melissahealy1950 2 місяці тому
2g is being shut down in many parts of the world that may already be the case where you are
@shivaraghav2899
@shivaraghav2899 Рік тому
Sir where to purchase 2G sim now
@AhmadLogs
@AhmadLogs Рік тому
50 to 60 percent world is still on 2G
@alfredkaserekasivanzire9488
@alfredkaserekasivanzire9488 11 місяців тому
Use the one you have, wether it is 3G or 4G, 2G is also inside.
@Tx_6969
@Tx_6969 9 місяців тому
Please give me a code to make calls with just a push button
@AhmadLogs
@AhmadLogs 9 місяців тому
use some older version of esp8266 core in arduino ide.
@ekdilipkumar
@ekdilipkumar 5 місяців тому
We should assume this video is out dated for India, because 2G sim is nomore in the market, we have only 4G sim.
@krutavshah1515
@krutavshah1515 4 місяці тому
no brother its working till date (19/12/2023)
@narutosingh5239
@narutosingh5239 4 місяці тому
Except Jio, all service providers will work...
@krutavshah1515
@krutavshah1515 4 місяці тому
@@narutosingh5239 ya actually I had a 4g sim but changed the network settings to 2g using a old device
@skarailfan5257
@skarailfan5257 3 місяці тому
​@@krutavshah1515 you have changed the settings in phone and used that sim in SIM 800L module ?
@krutavshah1515
@krutavshah1515 3 місяці тому
@@skarailfan5257 yes I changed the network preferences to 2g/3g but I used an older phone , I don't know it will work in newer devices or not
@Unicprofits
@Unicprofits Рік тому
CAN I contact you bro
Tutorial: How to use SIM800L GSM Module with Arduino
13:50
TechToTinker
Переглядів 180 тис.
Зомби Апокалипсис  часть 1 🤯#shorts
00:29
Surprise Gifts #couplegoals
00:21
Jay & Sharon
Переглядів 27 млн
Sending and Receiving SMS with a SIM800 GSM Module - Tutorial (#124)
26:44
SIM800L GSM Made easy -AT commands Dial & SMS
12:44
Saravanan AL
Переглядів 74 тис.
inventor aw - This Device is very helpful ,, you can make at home
6:47
NEO 6M GPS Module with Arduino : Introduction Video
9:16
SetNFix
Переглядів 7 тис.
Зомби Апокалипсис  часть 1 🤯#shorts
00:29