I am from India..you are a best programmer brother ..thank you.
@AhmadLogs Жыл бұрын
So nice of you
@hnmscreentech568011 ай бұрын
Excellente pédagogie. Travail remarquable de présentation de la vidéo. MERCI (de France)
@PradeepKumar-ce6qb2 жыл бұрын
Thank you brother for the video. You are a best programmer and a best Teacher as well.
@AhmadLogs2 жыл бұрын
Wow, thanks
@bharathasrimal8641 Жыл бұрын
Sir your explanations are very much clear and easy to understanding !!!
@AhmadLogs Жыл бұрын
Thanks and welcome
@mb106429 Жыл бұрын
This is a nice snippet of code with a superb explanation to help us repurpose it easily
@AhmadLogs Жыл бұрын
thanks
@masoudjafarzadeh2 жыл бұрын
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 👍
@AhmadLogs2 жыл бұрын
that's great
@suyashmirajkar67842 жыл бұрын
thank you Ahmad !! fantastic logic and great explenation . thank you once again..
@AhmadLogs2 жыл бұрын
You are very welcome
@peraxoritis10 ай бұрын
Thanks for sharing with us you are the best developer thank you.
@chethiyawijewickrama64254 ай бұрын
This was really use full project. Specially the AT respond check part. Can we do this same while when reading sensor data.
@shakerileiwat43412 жыл бұрын
Masha' Allah, excellent explanation ♥♥♥
@AhmadLogs2 жыл бұрын
Many many thanks
@mohammadkarimi61152 жыл бұрын
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.??!!
@warrenscorner2 жыл бұрын
Excellent video Ahmad!
@AhmadLogs2 жыл бұрын
thank you so much
@AAdnaanmtl2 жыл бұрын
Excellent explanation sir. Sir we are waiting for your 4 in 1 gsm project with eeprom option in future thanks for sharing great ideas
@AhmadLogs2 жыл бұрын
I will try my best
@AAdnaanmtl2 жыл бұрын
@@AhmadLogs thanks sir appreciate
@hackknowledge24 Жыл бұрын
Your explanation is some sir ,do some more video and explain every concepts sir please eeeeeeeee
@AhmadLogs Жыл бұрын
ok
@rockfireist2 жыл бұрын
Wow gr8 bro...
@AhmadLogs2 жыл бұрын
Thanks ✌️
@mibrahim42452 жыл бұрын
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 ? ..
@AhmadLogs2 жыл бұрын
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
@mibrahim42452 жыл бұрын
@@AhmadLogs thanks 🙏
@mibrahim42452 жыл бұрын
@@AhmadLogs what type of connection does it have? Like 3g? 4g?
@mohammadkarimi61152 жыл бұрын
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.
@asadeeshprabhakar2 жыл бұрын
I am facing the same problem...you rectified the issue? Pls let me know how to solve
@mohammadkarimi61152 жыл бұрын
@@asadeeshprabhakar There was an antenna problem, I connected it to an external antenna and the problem was solved
@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 Жыл бұрын
the same code will be used for ATmegs328P. just connect a 16mhz crystal to ATmegs328P.
@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?
@kitkirkyen200210 ай бұрын
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..
@alektronix11 ай бұрын
In my case it is showing angstrom and reverse question mark instead of AT and OK
@joelcanada71372 жыл бұрын
Thank you very much Sir Ahmad.
@AhmadLogs2 жыл бұрын
thanks for the visit
@mohammadkarimi61152 жыл бұрын
Hello, in the first connection, sms read and call read messages appear on the computer monitor serial and after resetting esp32, everything is fixed.
@AhmadLogs2 жыл бұрын
it required to update the code and we also need current and voltage sensor. I will try
@ammarchebbi15469 ай бұрын
Great. Thank you.
@rampage_xdit2 жыл бұрын
You are master.بارک الله
@AhmadLogs2 жыл бұрын
thnaks
@stefanhollrigl58032 жыл бұрын
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?
@vinothram2 жыл бұрын
Very understandable 👍 thankyou
@maihuutanmai334 Жыл бұрын
i really like your video.
@AhmadLogs Жыл бұрын
thanks
@zeeshanakram87512 жыл бұрын
sir is there any video describing how to read response of outgoing call?
@zeeshanakram87512 жыл бұрын
sir please make next video on this topic, it is very important. Thanks.
@surajbaghel2979 Жыл бұрын
Hi i want to send my sensor data on google spread sheet have u any idea just tell me how to write code
@luciafatima72298 ай бұрын
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... 🙏🙏🙏
@amrzakaria52902 жыл бұрын
Very good , nice job.
@AhmadLogs2 жыл бұрын
Thank you very much!
@PradeepKumar-ce6qb2 жыл бұрын
Looking for more such videos
@AhmadLogs2 жыл бұрын
give me some suggestions
@s.husain61252 жыл бұрын
Thank you sir please make viedo on sleep mode and wake up the sim800l module to save battery
@AhmadLogs2 жыл бұрын
hmmmm. trying
@s.husain61252 жыл бұрын
@@AhmadLogs ok sir thanx
@kouameraouphbini16592 жыл бұрын
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
@AhmadLogs2 жыл бұрын
ask for your sim card provider for the apn setting
@icconicko4737 Жыл бұрын
Hi can I ask a question? How to program limited sms in sim800L.
@AhmadLogs Жыл бұрын
please explain
@balbirsinghheer13702 жыл бұрын
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
@balbirsinghheer13702 жыл бұрын
Loke pin2 is D4 of nodemcu
@AhmadLogs2 жыл бұрын
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
@alperkaplan54002 жыл бұрын
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.
@AhmadLogs2 жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
sim800l not work with 3g or 4g. you can use sim7600
@mokh32572 жыл бұрын
Thanks for the effort
@AhmadLogs2 жыл бұрын
My pleasure
@benadjilabillal28662 жыл бұрын
Good job. 👍
@AhmadLogs2 жыл бұрын
thanks
@rijarazaka82722 жыл бұрын
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 Жыл бұрын
but I never work on sim808
@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 Жыл бұрын
Glad it helped
@mehdikarimpoor94012 жыл бұрын
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?
@AhmadLogs2 жыл бұрын
you must have a look. docs.espressif.com/projects/esp-idf/en/latest/esp32/security/flash-encryption.html
@masoudjafarzadeh2 жыл бұрын
bravo to you and excellent
@AhmadLogs2 жыл бұрын
thanks
@masoudjafarzadeh2 жыл бұрын
Would you please uplod this code🙏
@AhmadLogs2 жыл бұрын
@@masoudjafarzadeh uploaded
@masoudjafarzadeh2 жыл бұрын
@@AhmadLogs tanks sir 🙏
@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 Жыл бұрын
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 Жыл бұрын
THANKS BRO
@AhmadLogs Жыл бұрын
also watch this kzbin.info/www/bejne/ooqxaZung6Z-mLc
@iantcroft2 жыл бұрын
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.
@AhmadLogs2 жыл бұрын
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
@iantcroft2 жыл бұрын
@@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.
@AhmadLogs2 жыл бұрын
@@iantcroft Yes you have told me before. I think there is some with software serial while reading characters. So, I will try using altsoftserial
@ahmedgaballa85422 жыл бұрын
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
@AhmadLogs2 жыл бұрын
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
@ahmedgaballa85422 жыл бұрын
@@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
@AhmadLogs2 жыл бұрын
@@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
@ahmedgaballa85422 жыл бұрын
@@AhmadLogs I select 9600 baud rate
@ahmedgaballa85422 жыл бұрын
@@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 ?🥺
@RideTheGnar2 жыл бұрын
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!!
@AhmadLogs2 жыл бұрын
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
@RideTheGnar2 жыл бұрын
@@AhmadLogs Thank you very much! Please let me know, I really tried everything to my knowledge and could not debug it!
@AhmadLogs2 жыл бұрын
@@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
@RideTheGnar2 жыл бұрын
@@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.
@RideTheGnar2 жыл бұрын
@@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ش2 жыл бұрын
سلام ، چطور به سورس کد دسترسی داشته باشیم..؟
@mdtanvirshakil39412 жыл бұрын
Please make a video on sim800l firmware flash or update .please
@AhmadLogs2 жыл бұрын
I have tried many times but not any success
@shivampathak24596 ай бұрын
hi i want send sms through api and get sms responce hit api whith response
@mibrahim42452 жыл бұрын
Original .. Thanks
@AhmadLogs2 жыл бұрын
Thank you too!
@nctzen1453 Жыл бұрын
can you tell me how to program sim800l with esp32?
@AhmadLogs Жыл бұрын
the same concept wiil be used for esp32
@nctzen1453 Жыл бұрын
@@AhmadLogs does the program code use the same program code?
@AhmadLogs Жыл бұрын
@@nctzen1453 almost same
@AhmadLogs Жыл бұрын
@@nctzen1453 check this kzbin.info/www/bejne/mqjFc2aPfMd1qLs
@nctzen1453 Жыл бұрын
my sim800l module can't send messages. I don't know why, even though the led blinks once every 3 seconds