SIM800L Programming With Arduino - GSM Module Arduino UNO

  Рет қаралды 21,693

Ahmad Logs

Ahmad Logs

Күн бұрын

Пікірлер: 139
@allumolusrinivasu1529
@allumolusrinivasu1529 Жыл бұрын
I am from India..you are a best programmer brother ..thank you.
@AhmadLogs
@AhmadLogs Жыл бұрын
So nice of you
@hnmscreentech5680
@hnmscreentech5680 11 ай бұрын
Excellente pédagogie. Travail remarquable de présentation de la vidéo. MERCI (de France)
@PradeepKumar-ce6qb
@PradeepKumar-ce6qb 2 жыл бұрын
Thank you brother for the video. You are a best programmer and a best Teacher as well.
@AhmadLogs
@AhmadLogs 2 жыл бұрын
Wow, thanks
@bharathasrimal8641
@bharathasrimal8641 Жыл бұрын
Sir your explanations are very much clear and easy to understanding !!!
@AhmadLogs
@AhmadLogs Жыл бұрын
Thanks and welcome
@mb106429
@mb106429 Жыл бұрын
This is a nice snippet of code with a superb explanation to help us repurpose it easily
@AhmadLogs
@AhmadLogs Жыл бұрын
thanks
@masoudjafarzadeh
@masoudjafarzadeh 2 жыл бұрын
In Iran, to send a text message in Persian, you must hex the mode of sending the text message and after sending it, convert it to gsm to receive it again. Sometimes the sim settings are converted to hex again and it does not receive distorted text messages in English I used a millis function to fix these bugs like you 👍
@AhmadLogs
@AhmadLogs 2 жыл бұрын
that's great
@suyashmirajkar6784
@suyashmirajkar6784 2 жыл бұрын
thank you Ahmad !! fantastic logic and great explenation . thank you once again..
@AhmadLogs
@AhmadLogs 2 жыл бұрын
You are very welcome
@peraxoritis
@peraxoritis 10 ай бұрын
Thanks for sharing with us you are the best developer thank you.
@chethiyawijewickrama6425
@chethiyawijewickrama6425 4 ай бұрын
This was really use full project. Specially the AT respond check part. Can we do this same while when reading sensor data.
@shakerileiwat4341
@shakerileiwat4341 2 жыл бұрын
Masha' Allah, excellent explanation ♥♥♥
@AhmadLogs
@AhmadLogs 2 жыл бұрын
Many many thanks
@mohammadkarimi6115
@mohammadkarimi6115 2 жыл бұрын
Hello, the circuit I made when connected to the computer in the serial monitor receives and sends messages, but when it works alone, only SMS messages are received, and by pressing the reset button esp32 is fixed and sends messages too.??!!
@warrenscorner
@warrenscorner 2 жыл бұрын
Excellent video Ahmad!
@AhmadLogs
@AhmadLogs 2 жыл бұрын
thank you so much
@AAdnaanmtl
@AAdnaanmtl 2 жыл бұрын
Excellent explanation sir. Sir we are waiting for your 4 in 1 gsm project with eeprom option in future thanks for sharing great ideas
@AhmadLogs
@AhmadLogs 2 жыл бұрын
I will try my best
@AAdnaanmtl
@AAdnaanmtl 2 жыл бұрын
@@AhmadLogs thanks sir appreciate
@hackknowledge24
@hackknowledge24 Жыл бұрын
Your explanation is some sir ,do some more video and explain every concepts sir please eeeeeeeee
@AhmadLogs
@AhmadLogs Жыл бұрын
ok
@rockfireist
@rockfireist 2 жыл бұрын
Wow gr8 bro...
@AhmadLogs
@AhmadLogs 2 жыл бұрын
Thanks ✌️
@mibrahim4245
@mibrahim4245 2 жыл бұрын
crystal clear explanation !! .. I wanted to ask you ... what is the best and most efficient way to send the location from arduino ? .. if we connect a GPS and send the location in SMS by making a google maps link each time we recieve an sms.. will be okay .. but.. what if we want a real time tracking ? ..
@AhmadLogs
@AhmadLogs 2 жыл бұрын
The best way to send the location using sim800l by send sms. sim800l has slow speed internet. so, it is not reliable for real time location, you need some stable internet connection for realtime tracking
@mibrahim4245
@mibrahim4245 2 жыл бұрын
@@AhmadLogs thanks 🙏
@mibrahim4245
@mibrahim4245 2 жыл бұрын
@@AhmadLogs what type of connection does it have? Like 3g? 4g?
@mohammadkarimi6115
@mohammadkarimi6115 2 жыл бұрын
Hello, help me. I made the circuit, everything works well when connected to the computer, but when the battery or external power is used, everything is fine and it just doesn't send SMS. Look at my code in the gate.
@asadeeshprabhakar
@asadeeshprabhakar 2 жыл бұрын
I am facing the same problem...you rectified the issue? Pls let me know how to solve
@mohammadkarimi6115
@mohammadkarimi6115 2 жыл бұрын
@@asadeeshprabhakar There was an antenna problem, I connected it to an external antenna and the problem was solved
@lamlastemela5343
@lamlastemela5343 Жыл бұрын
Amazing explanation and thanks for that. How can I use a stand alone ATmega328P to drive a relay without the ARDUINO board itself but using the same code. In other words , shrinking the whole setup to GSM800l , ATmegs328P , Relay and Power Supply.
@AhmadLogs
@AhmadLogs Жыл бұрын
the same code will be used for ATmegs328P. just connect a 16mhz crystal to ATmegs328P.
@jumbo999614
@jumbo999614 Жыл бұрын
I'm going to buy sim800L but I can't decide. There 2 version of SIm800L. Red and Blue. Which one should I get for Arduino UN0? Is sim900A newer than sim800L?
@kitkirkyen2002
@kitkirkyen2002 10 ай бұрын
SIR, YOU ARE REALLY AMAZING ANG GREAT! I ALWAYA FOLLOW YOUR VIDEOS AND WATCH IT.. THE ONLY PROBLEM THAT I HAVE NOW IS TO EXTRACT THE SENDER NUMBER AND COMPARE IT TO THE MY NUMBER IN SIMPLER CODING UF POSSIBLE. CAN YOU PLEASE SHARE SOME. THANK YOU ONCE AGAIN..
@alektronix
@alektronix 11 ай бұрын
In my case it is showing angstrom and reverse question mark instead of AT and OK
@joelcanada7137
@joelcanada7137 2 жыл бұрын
Thank you very much Sir Ahmad.
@AhmadLogs
@AhmadLogs 2 жыл бұрын
thanks for the visit
@mohammadkarimi6115
@mohammadkarimi6115 2 жыл бұрын
Hello, in the first connection, sms read and call read messages appear on the computer monitor serial and after resetting esp32, everything is fixed.
@AhmadLogs
@AhmadLogs 2 жыл бұрын
it required to update the code and we also need current and voltage sensor. I will try
@ammarchebbi1546
@ammarchebbi1546 9 ай бұрын
Great. Thank you.
@rampage_xdit
@rampage_xdit 2 жыл бұрын
You are master.بارک الله
@AhmadLogs
@AhmadLogs 2 жыл бұрын
thnaks
@stefanhollrigl5803
@stefanhollrigl5803 2 жыл бұрын
Hello, i would send a Sms to my Smartphone with the command AT+CMGS, but i dont know, what the expected answer ist... Could you help me?
@vinothram
@vinothram 2 жыл бұрын
Very understandable 👍 thankyou
@maihuutanmai334
@maihuutanmai334 Жыл бұрын
i really like your video.
@AhmadLogs
@AhmadLogs Жыл бұрын
thanks
@zeeshanakram8751
@zeeshanakram8751 2 жыл бұрын
sir is there any video describing how to read response of outgoing call?
@zeeshanakram8751
@zeeshanakram8751 2 жыл бұрын
sir please make next video on this topic, it is very important. Thanks.
@surajbaghel2979
@surajbaghel2979 Жыл бұрын
Hi i want to send my sensor data on google spread sheet have u any idea just tell me how to write code
@luciafatima7229
@luciafatima7229 8 ай бұрын
Can you make tutorial aboun when receive sms the sms will display in dot p10 and sms is scroling when midul sim800l receive new sms will clear the previous sms that displai in p10 display and show the new sms in p10 display... 🙏🙏🙏
@amrzakaria5290
@amrzakaria5290 2 жыл бұрын
Very good , nice job.
@AhmadLogs
@AhmadLogs 2 жыл бұрын
Thank you very much!
@PradeepKumar-ce6qb
@PradeepKumar-ce6qb 2 жыл бұрын
Looking for more such videos
@AhmadLogs
@AhmadLogs 2 жыл бұрын
give me some suggestions
@s.husain6125
@s.husain6125 2 жыл бұрын
Thank you sir please make viedo on sleep mode and wake up the sim800l module to save battery
@AhmadLogs
@AhmadLogs 2 жыл бұрын
hmmmm. trying
@s.husain6125
@s.husain6125 2 жыл бұрын
@@AhmadLogs ok sir thanx
@kouameraouphbini1659
@kouameraouphbini1659 2 жыл бұрын
Hello thank you for the tutorials it helps a lot by the way i am currently working on an IOT project with an ESP32 SIM7000G card i followed your example of GPS with sim800l but i have a problem i want to send the sensor data to firebase via sim7000g but i can't connect to the apn the apn connection fails i really need your help please
@AhmadLogs
@AhmadLogs 2 жыл бұрын
ask for your sim card provider for the apn setting
@icconicko4737
@icconicko4737 Жыл бұрын
Hi can I ask a question? How to program limited sms in sim800L.
@AhmadLogs
@AhmadLogs Жыл бұрын
please explain
@balbirsinghheer1370
@balbirsinghheer1370 2 жыл бұрын
Sir i have a nodemcu but I'm using it with blynk iot can you please tell me which pin of nodemcu is equal to which pin like A1 A2 A3 a full chart
@balbirsinghheer1370
@balbirsinghheer1370 2 жыл бұрын
Loke pin2 is D4 of nodemcu
@AhmadLogs
@AhmadLogs 2 жыл бұрын
you must have a look on it i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2019/05/ESP8266-NodeMCU-kit-12-E-pinout-gpio-pin.png?quality=100&strip=all&ssl=1
@alperkaplan5400
@alperkaplan5400 2 жыл бұрын
hello mr. Ahmad. will u be adding the new sim800l code to old codes? I mean I want to combine your old sim800l+esp32 relay controler code with the new code you wrote. Please record a video that combines old code with new works.
@AhmadLogs
@AhmadLogs 2 жыл бұрын
I will definitely use the updated code in my new projects. I will try to update the code for my old project. but I have a very little times so I dont know when?
@amtech-technology3186
@amtech-technology3186 Жыл бұрын
Hello sir... Can the sim800l work with a 3G and 4G sim card?? If it doesn't support it please tell me I need an answer... I need an help sir
@AhmadLogs
@AhmadLogs Жыл бұрын
sim800l not work with 3g or 4g. you can use sim7600
@mokh3257
@mokh3257 2 жыл бұрын
Thanks for the effort
@AhmadLogs
@AhmadLogs 2 жыл бұрын
My pleasure
@benadjilabillal2866
@benadjilabillal2866 2 жыл бұрын
Good job. 👍
@AhmadLogs
@AhmadLogs 2 жыл бұрын
thanks
@rijarazaka8272
@rijarazaka8272 2 жыл бұрын
thank you MASTER,I FOLLOWED YOUR TUTORIAL ABOUT SENDING DATA TO FIREBASE, IT WORKS GOOD, AFTER I USED DFROBOT LIBRARY FOR SIM808 MODULE, TO GET GPS COORDINATES, THE CODE COMPILE, BUT IT CANNOT SEND GPS COORDINATES , PLEASE HELP,,, i m a student electronics and computer sience,, ,,,,,
@AhmadLogs
@AhmadLogs Жыл бұрын
but I never work on sim808
@Amryou
@Amryou Жыл бұрын
thank you for the great job i understood every thing but in my project i need to get the sender number to resend a sms to him , their is any method for that??
@AhmadLogs
@AhmadLogs Жыл бұрын
Glad it helped
@mehdikarimpoor9401
@mehdikarimpoor9401 2 жыл бұрын
Hello Ahmad, good morning great job I am programming for esp32 with Micropyton. And I use Thonny ide. How can I protect the app from being accessed after uploading?
@AhmadLogs
@AhmadLogs 2 жыл бұрын
you must have a look. docs.espressif.com/projects/esp-idf/en/latest/esp32/security/flash-encryption.html
@masoudjafarzadeh
@masoudjafarzadeh 2 жыл бұрын
bravo to you and excellent
@AhmadLogs
@AhmadLogs 2 жыл бұрын
thanks
@masoudjafarzadeh
@masoudjafarzadeh 2 жыл бұрын
Would you please uplod this code🙏
@AhmadLogs
@AhmadLogs 2 жыл бұрын
@@masoudjafarzadeh uploaded
@masoudjafarzadeh
@masoudjafarzadeh 2 жыл бұрын
@@AhmadLogs tanks sir 🙏
@tusharbhardwaj7511
@tusharbhardwaj7511 Жыл бұрын
Hi, I actually wanted to ask that I'm using sim800l with Arduino uno to send SMS and make call simultaneously one after another but the problem is that after connecting to network call function is working really fine but SMS are not sent somehow,.... I've tried tons of code but SMS are not being sent please help if anyone can ! I would be really thankful
@AhmadLogs
@AhmadLogs Жыл бұрын
I'd be happy to help you with this issue. use the following code to test the sim800l #include SoftwareSerial sim800l(2, 3); // RX, TX pins for SIM800L module void setup() { // initialize serial communication for debugging purposes Serial.begin(9600); while (!Serial); // initialize SIM800L module sim800l.begin(9600); delay(1000); // wait for network connection while (!sim800l.available()) { Serial.println("Waiting for network connection..."); delay(1000); } // successful network connection Serial.println("Network connected."); } void loop() { // make a call callNumber("1234567890"); // wait for call to end delay(10000); // send an SMS sendSMS("1234567890", "Hello World!"); // wait for SMS to send delay(5000); } void callNumber(String number) { sim800l.println("ATD" + number + ";"); Serial.println("Calling " + number); } void sendSMS(String number, String message) { sim800l.println("AT+CMGF=1"); // set SMS text mode delay(1000); sim800l.println("AT+CMGS=\"" + number + "\""); // send SMS to number delay(1000); sim800l.print(message); // send SMS message delay(1000); sim800l.write(26); // send CTRL+Z to end SMS message Serial.println("Sending SMS to " + number + " with message: " + message); }
@rajapathamuthug608
@rajapathamuthug608 Жыл бұрын
THANKS BRO
@AhmadLogs
@AhmadLogs Жыл бұрын
also watch this kzbin.info/www/bejne/ooqxaZung6Z-mLc
@iantcroft
@iantcroft 2 жыл бұрын
Very well explained video, thanks. altSoftSerial is a more reliable alternative than softwareSerial, can simultaneously transmit and receive but only available on set pins. Could you create the same functions using character arrays without the use of String? Thanks.
@AhmadLogs
@AhmadLogs 2 жыл бұрын
Yes, you are right. but I never used altsoftserial simultaneously. I will try it in my gps and gsm projects I have tried many times with I will try to write the same function using character array. but I never feel comfortable with character array with sim800l
@iantcroft
@iantcroft 2 жыл бұрын
@@AhmadLogs Try using hardware port (TX RX) for gps and altSoftSerial for Sim800L. I’ve been told to stay away from String and instead use character arrays. Thanks.
@AhmadLogs
@AhmadLogs 2 жыл бұрын
@@iantcroft Yes you have told me before. I think there is some with software serial while reading characters. So, I will try using altsoftserial
@ahmedgaballa8542
@ahmedgaballa8542 2 жыл бұрын
I have a question i try send sms and call it work successfully but in case of gprs i don't why it didn't work that mean there is problem in the power of the module it is lithium-ion battery 3.7 v the current supposed to be 2A but by using a meter we read 1.2 A is that the problem
@AhmadLogs
@AhmadLogs 2 жыл бұрын
sim800l required 2A current in a fraction of a second, so you cannot measure it using multi meter, you need oscilloscope for this. 1. 3.7v battery is adequate 2. have you entered the correct apn and password of your sim card network provider 3. what is displaying on the serial monitor while connecting to the serial monitor
@ahmedgaballa8542
@ahmedgaballa8542 2 жыл бұрын
@@AhmadLogs yes i have make call and it was received and send sms the problem i don't see in serial monitor the response of module even when i make the call and sms
@AhmadLogs
@AhmadLogs 2 жыл бұрын
@@ahmedgaballa8542 1. It means there is some issue with your serial connection to the sim800L. please double check the connection. 2. have you select the correct baud rate from the serial monitor
@ahmedgaballa8542
@ahmedgaballa8542 2 жыл бұрын
@@AhmadLogs I select 9600 baud rate
@ahmedgaballa8542
@ahmedgaballa8542 2 жыл бұрын
@@AhmadLogs Sir our graduation project Send reads of ultrasonic to firebase as percent using sim800L and access by application To firbase and read these percent We use mega and same code of sending dht reads But coonect tx 18 Rx 19 We should convert long int reads to string ? Can find response from gsm Or what the problem ?🥺
@RideTheGnar
@RideTheGnar 2 жыл бұрын
Hi Ahmad! Thank you very much for this tutorial, it's been really helpful! I wanted to ask you something: The main functions work flawlessly with an Arduino UNO, but I cannot make it work with a NodeMCU (ESP32). I'm using Serial2 instead of software serial, but I get an infinite loop with the getResponse or tryATcommand funcionts. The response is OK, but there is something with the function that cannot take the value and get the correct flag. Do you know how to solve this? I'm using exactly the same program in both, but replacing sim800l with Serial2 and not including the softwareSerial library. Thanks again!!
@AhmadLogs
@AhmadLogs 2 жыл бұрын
its OK to use hardware serial ports of the esp32 instead of using any softwareSerial library. I have built this code on the Arduino UNO. I never tested it on the esp32. So, I will test it for the esp32 myself, and will try to figure out the issue. It must work with esp32. I think there is some little logic fail for the esp32. so I will try to fix this issue and let you know as soon as the issue is resolved
@RideTheGnar
@RideTheGnar 2 жыл бұрын
@@AhmadLogs Thank you very much! Please let me know, I really tried everything to my knowledge and could not debug it!
@AhmadLogs
@AhmadLogs 2 жыл бұрын
@@RideTheGnar you might check the code of this project kzbin.info/www/bejne/hXvGeIxqrrimatE I have updated the getResponse function and also added the resetSIM800L function. this code might be helpful
@RideTheGnar
@RideTheGnar 2 жыл бұрын
@@AhmadLogs Hi Ahmad! I tried with the updated function but I still get the same output. It cannot break the loop for the tryATcommand and I get something like this: .AT AT OK .AT AT OK Etc.
@RideTheGnar
@RideTheGnar 2 жыл бұрын
@@AhmadLogs Let me add that my main goal is to use the bottom "failsafe" for this program (the part that checks if the module is working fine and is connected to the microcontroller). Do you believe there's another way to make this failsafe? I was looking at your video on how to control a relay with an ESP32 from April 2021 (saw that this program doesn't have a failsafe). Thanks again!
@محمدعلیرضایی-ث9ش
@محمدعلیرضایی-ث9ش 2 жыл бұрын
سلام ، چطور به سورس کد دسترسی داشته باشیم..؟
@mdtanvirshakil3941
@mdtanvirshakil3941 2 жыл бұрын
Please make a video on sim800l firmware flash or update .please
@AhmadLogs
@AhmadLogs 2 жыл бұрын
I have tried many times but not any success
@shivampathak2459
@shivampathak2459 6 ай бұрын
hi i want send sms through api and get sms responce hit api whith response
@mibrahim4245
@mibrahim4245 2 жыл бұрын
Original .. Thanks
@AhmadLogs
@AhmadLogs 2 жыл бұрын
Thank you too!
@nctzen1453
@nctzen1453 Жыл бұрын
can you tell me how to program sim800l with esp32?
@AhmadLogs
@AhmadLogs Жыл бұрын
the same concept wiil be used for esp32
@nctzen1453
@nctzen1453 Жыл бұрын
@@AhmadLogs does the program code use the same program code?
@AhmadLogs
@AhmadLogs Жыл бұрын
@@nctzen1453 almost same
@AhmadLogs
@AhmadLogs Жыл бұрын
@@nctzen1453 check this kzbin.info/www/bejne/mqjFc2aPfMd1qLs
@nctzen1453
@nctzen1453 Жыл бұрын
my sim800l module can't send messages. I don't know why, even though the led blinks once every 3 seconds
@lesterD0059
@lesterD0059 10 ай бұрын
Can you help me brother on my arduino code?
@yawarsaeed6499
@yawarsaeed6499 2 жыл бұрын
Awesome 👍
@AhmadLogs
@AhmadLogs 2 жыл бұрын
Thank you! Cheers!
@ezeoluchukwu5104
@ezeoluchukwu5104 2 жыл бұрын
NICE ONE MY ENGINEER. BUT CODE NOT YET UPLOADED.
@AhmadLogs
@AhmadLogs 2 жыл бұрын
Updated
@karthik.g5154
@karthik.g5154 Жыл бұрын
Awesome 👌
@AhmadLogs
@AhmadLogs Жыл бұрын
Thank you! Cheers!
How to Use SIM800L With Arduino
9:55
Ahmad Logs
Рет қаралды 68 М.
SIM800L GSM Made easy -AT commands Dial & SMS
12:44
Saravanan AL
Рет қаралды 79 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН
SIZE DOESN’T MATTER @benjaminjiujitsu
00:46
Natan por Aí
Рет қаралды 4,1 МЛН
Thank you Santa
00:13
Nadir Show
Рет қаралды 38 МЛН
Arduino UNO R4 Lesson12 - millis Function | Handling Multiple Tasks | Non-Blocking Code
23:38
Tutorial: How to use SIM800L GSM Module with Arduino
13:50
TechToTinker
Рет қаралды 201 М.
GSM RELAY Control from  Registered Number Call
11:46
Saravanan AL
Рет қаралды 42 М.
techiesms Sound Box | ESP32 Projects | IOT projects
18:57
techiesms
Рет қаралды 41 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН