This video, and many other tutorial videos, show the RxD pin connected directly to the Tx pin of a 5V Arduino ? The RxD pin on the SIM800L has a MAXIMUM voltage level of 2.8V. It needs a potential divider network to reduce the 5V signal from the Arduino to the 2.8V input on the SIM800L module. I have no doubt it works without, but it is stressing the SIM800L beyond acceptable limits, and I wonder how long it will last.
@SherkariRaja3 жыл бұрын
Great work sir, I'm following you since a year and making project with help of your video's,i had made an project which controls LEDs over call using DTMF, but i cannot figure out to make it to receive perticular mobile number , right now it is recovering all calls which gets to it, so need your small help to complete this, Once again big thanks for your video's.
@TechToTinker3 жыл бұрын
@Yogesh Sonawane, Im not sure what you want to achieve, but have you seen this video already? kzbin.info/www/bejne/h6bImn-OgauJqq8
@SherkariRaja3 жыл бұрын
@@TechToTinker yes sir i had seen this video, and by using the same code i made project but system is accepting all calls coming to it, so any one can make our led ON or OFF by calling the number , So how to make it to receive only my number and all others will not to receive. Thank you for your reply, Loved your work sir.
@TechToTinker3 жыл бұрын
@@SherkariRaja you can do that by adding additional condition check before executing an action. The additional check of course is the checking if the receive command comes from specific number. Please let me know, if you need further help. By the way, thank you for the kind words. Cheers.
@erik.landen3 жыл бұрын
Thanks for a great tutorial, I only get this to work when commenting out "SIMULATE_BY_SERIAL" any idea why and what is the downside to use it that way?
@TechToTinker3 жыл бұрын
Hello Erik, if the SIMULATE_BY_SERIAL is comment out, it will work in actual and you've got it right. Else the communication with SIM800L will be directed / route to serial. Basically, I used it on development and debugging purposes to save money with sending and receiving sms. You may also use it :). Thanks and you're welcome.
@rockfireist4 жыл бұрын
Wow great job bro ... God bless u
@TechToTinker4 жыл бұрын
Thank you Mahe. God bless you too.
@johnbobbs31624 жыл бұрын
Thanks for such an informative tutorial. Impressive
@TechToTinker4 жыл бұрын
Hi @John Bobbs, thank you for the kind words. Cheers.
@doosetdaramkhodahafez88273 жыл бұрын
Hi sir i'm struggling powering the module can i use lm317 constant voltage circuit which will give me 3.9v thats all i have for now TIA 👍
@TechToTinker3 жыл бұрын
3.9V is ok but Im not sure if it can provide 2A current requirements. You may verify it on its datasheet. Regards.
@juliusalbalos42764 жыл бұрын
Hi. Is the code respond to network signal lost? Does it scan network signal again if in case network signal issue occurs? Thanks
@TechToTinker4 жыл бұрын
hi @Julius Albalos, the code assume an ideal environment. Basically, the SIM800 will try to reconnect by itself to a known network (independent) when network problem occurs. However, problem occurs when you try to send sms while no network because it will fail, and its not handled in the code. I would recommend to check if the sim800 is currently connected to a network using the CREG AT command and handle it accordingly. Hope this helps. Cheers, George Bantique
@FrancisBano-c1u9 ай бұрын
hi sir i need help for our thesis project code fore detection using ultrasonic sensor and gsm module 800l that update me if near to overflow i hope u help me sir
@sagarghode90163 жыл бұрын
Sir my Bsnl sim is not working in SIM800L it's sending sms but received sms is stored in other sim internal memory and not able view it's content ,other sim cards working excellent but problem with Bsnl any settings or suggestions
@TechToTinker3 жыл бұрын
I have not experience that, maybe your sim do it like that.
@sagarghode90163 жыл бұрын
@@TechToTinker ok sir , Thanks
@mohamedminna97323 жыл бұрын
Very useful video. I have a problem. I want to turn lights on and off by sms as well as through dtmf and auto reply to the sender number. Is it possible.
@TechToTinker3 жыл бұрын
That's doable but I am not sure if the memory space will be enough in Uno. Try using ESP32 instead. You may combine the source code from both tutorial.
@kylanicholereyes87402 жыл бұрын
i have the same activity now. Did you use po power adapter here?
@TechToTinker2 жыл бұрын
Hi Kyla, yes I did. I used 12V 2A power supply. You may observed it in the video.
@kylanicholereyes87402 жыл бұрын
How did you lower the output voltage po? It says that sim800L will only need 3.7 - 4.4 V? I'm afraid that I might destroy my module with too much voltage. Thankyou.
@sweetravencurranlabrada41153 жыл бұрын
Good Afternoon Sir! Iwould like to ask questions where can I contact you? Thankyou
@TechToTinker3 жыл бұрын
Hi LABRADA, you may reach me through email: tech.to.tinker@gmail.com Regards,
@dremko773 жыл бұрын
hello at this moment which arduino module works at 4G?
@TechToTinker2 жыл бұрын
I tried searching "4g gsm module" and here is the 1st result: greatcometbroadway.com/4g-gsm-module/ Hope this helps.
@malekiiaetius70363 жыл бұрын
Thanks a lot for the great tutorial. I am using SIM800L EVB with 7 pins and I am confused on how to wire it to Arduino UNO. I tried several combinations in vain. Would you please help on the wiring. Thank you.
@TechToTinker3 жыл бұрын
1. Provide 3.4V to 4.4V to SIM800L VCC pin 2. Connect the GND pin of external power supply to SIM800L GND pin. 3. Connect ***ALSO the SIM800L GND pin to Arduino Uno GND pin. 4. Connect SIM800L Rx pin to Arduino Uno Tx pin. 5. Connect SIM800L Tx pin to Arduino Uno Rx pin. This should give you better idea to properly interface SIM800L to Arduino Uno. Cheers.
@malekiiaetius70363 жыл бұрын
@@TechToTinker Thanks indeed. The wiring is good. The reason was that it keeps resetting was the 1000 capacitor which was under rated. I had to un solder and replace it with 2200uf. Now it registers to the network straight away. I wanted to share this issue with you in case someone else faces the same problem. Thanks again for your prompt reply and good support. Wish you all the best.
@suyashlunkar32674 жыл бұрын
Great Video Sir. I am an engineering student. I need your help for a project. The light should turn on and off, when the message received is from the default number only. Can you implement this with the above code. Thank You.
@TechToTinker4 жыл бұрын
Hello @Suyash, thank you. There is a portion in the source code which parses the sender's number. By searching the string 'CMT:' then 'sender_num' is parse from the SMS received. What you can do is compare it to 'default number' and if its true, then do the necessary action. Hope it helps you.
@suyashlunkar32674 жыл бұрын
@@TechToTinker Thank you sir for response, actually I don't have a coding background. Could you please help me with the syntax and addition of code.
@yawarsaeed64993 жыл бұрын
Hi dear, I want you to confirm that using simulate serial option , do I need the sim800 module to be connected to the breadboard or I can check the commands without the sim module only with the LEDs. Please reply .
@TechToTinker3 жыл бұрын
@Yawar Saeed, simulate by serial is mainly use for debugging the source code. What happens is when you use the simulate by serial, you as serial will act like sim800
@yawarsaeed64993 жыл бұрын
@@TechToTinker Thanks for your prompt response. Yes, I tested the same & it works fine. Regarding NUM change command , I tested it also without Sim800 module , the changed New Numbers are there as long as the Arduino is power up or not reset. Can you please guide as what code modification will be required in order to save them in Eeprom until changed again by the NUM command. Once again Thanks & Kind regards.
@TechToTinker3 жыл бұрын
@Yawar Saeed, you may try to follow this untested steps and let me if it works for you: // #1. include this at the top of the code: #include "EEPROM.h" // #2. in setup function, add this: for (i=0;i
@TechToTinker3 жыл бұрын
What should happen is, every time the default number is command change, it will be saved at eeprom and will be read from eeprom every reset or power up. Rregards.
@yawarsaeed64993 жыл бұрын
@@TechToTinker Thank you very much for the code. I will give it a try and get back to you for the update.
@reddytoplay69162 жыл бұрын
Di mag gana sakin sir😅 kahit naka comment out yung SIMULATE_BY_SERIAL SIM800L EVB kasi yung gamit ko, pero pag naka serial monitor gumagana din naman
@stuartweldon83333 жыл бұрын
Thanks for the project, I learned a lot.
@TechToTinker3 жыл бұрын
@Stuart Weldon, wow that's great. Thanks.
@stuartweldon83333 жыл бұрын
@@TechToTinker could you please suggest a way of programing the switch it only send one text message whilst the switch is pressed.
@TechToTinker3 жыл бұрын
@Stuart Weldon, what do you mean?
@stuartweldon83333 жыл бұрын
@@TechToTinker if you continually hold your switch in your demo it sends multiple messages, I would like it to send only one text,
@TechToTinker3 жыл бұрын
@@stuartweldon8333 I am thinking to do it like as follows: #1. Detect if switch is press. if sw is press and sms_sent=0, send sms and set sms_sent=1 #2. Detect if switch is release if sw is release, sms_sent=0 This way you can avoid sending multiple sms when switch is held press.
@vychau58454 жыл бұрын
What generation of your sim used on the system? Can this system use 3G 4G sim instead of sim 2G? i used sim4G and seems like it didn't work :
@TechToTinker4 жыл бұрын
Hi @Sky Cullen, SIM800L is a GSM module that needs a 2G support. Any SIM cards(i.e. 3G, 4G, 5G) should be backward compatible to 2G but if your country no longer have 2G, SIM800L will not work. I would suggest to look for other version of 3G module, of course that will be more expensive compared to SIM800L. If you look for SIM8xxx other models, the source code should work without modification. Regards, George Bantique | tech.to.tinker@gmail.com #TechToTinker
@yawarsaeed64993 жыл бұрын
Thanks for sharing such an AWESOME project. Can you please add some more feature to this like a 0.96 inch display showing name of the installed SIM operator & RSSI Signal Strength Level on startup of the device & then the other info status according to the current mode accordingly.
@TechToTinker3 жыл бұрын
Hi @Yawar Saeed, I'm glad that you like it. Your suggestion is appreciated, it is a good idea. Lets see in the future if I could come up with this. Cheers.
@jimy90773 жыл бұрын
hi, very nice tutorial, i have a question, im doing a project to control a notice board or a liquid crystal i2c display using the GSM, but it has to be password encrypted, so before the user sends any string of text, they must ensure to input the correct password on the arduino, for the sim shield to output the SMS message onto the screen, any ideas and help much appreciated.
@TechToTinker3 жыл бұрын
Hi @jimy, I would think a little bit different for that to simplify the burden in coding. What I would suggest is to continue checking and parsing the sms as usual. Then for the security, only display the message after correct password entry using 3x4 or 4x4 membrane switch. Or you may use RFID cards as an option. By the way, thank you for the kind words.
@TechToTinker3 жыл бұрын
You may refer to this for the password entry using membrane switch array: kzbin.info/www/bejne/hIHNZnWDi6atp7M
@TechToTinker3 жыл бұрын
and with this for the RFID: kzbin.info/www/bejne/jJjZcnerl7aqqtk
@kmv86994 жыл бұрын
Thanks for your support... Since am a begginer i couldn't able to get the code... Can please modify and send the code for making a call while pressing the button. Sorry to disturb again
@TechToTinker4 жыл бұрын
#1. add this code: void callNumber() { // replaced ZZ with your country code // replaced XXX with mobile number // be sure not to delete ';' // inside the quotation marks SIM800L.println("ATD+ZZXXXXXXXXX;"); } #2. instead of sendSMS(), use callNumber() function.
@hieupham-ff6kw3 жыл бұрын
Thank you very much. Your code help me a lot.
@TechToTinker3 жыл бұрын
@hieu pham, glad that it helps you. Thanks.
@jesthonymahilum84143 жыл бұрын
thank you po..magagamit ko 'to sa project ko..
@TechToTinker3 жыл бұрын
You're welcome :). Thanks
@jesthonymahilum84143 жыл бұрын
@@TechToTinker Good eve po sir. Ano po ang dapat gamitin na simcard for this module? Gamit ko kase is yung 5G globe sim. Wala akong reply nare-receive mula sa module pero sa serial port meron po. Kahit po naka-uncomment na yung simulation..
@jesthonymahilum84143 жыл бұрын
Comment-in na po lahat ng code sir..
@TechToTinker3 жыл бұрын
@@jesthonymahilum8414 I'm not sure if 5G sim cards still supports 2G. Try mo na lang gumamit ng medyo lumang sim card.
@jesthonymahilum84143 жыл бұрын
@@TechToTinker sige po sir. I'll try po maghanap ng lumang simcard. Thank you so much po sir sa reply. God bless and keep safe..
@evangelistajhofelc.59403 жыл бұрын
hello, how to check available balance of gsm module?
@TechToTinker3 жыл бұрын
Hi Jhofel, gsm modules are exactly the same as regular mobile phone. Send an SMS to a certain number for balance inquiry, of course through your gsm module.
@sagarghode90164 жыл бұрын
Very very nice video sir👍👍👍👍
@TechToTinker4 жыл бұрын
@Ghode scientific World, Im glad that you like it. Thank you.
@vivekchauhan74684 жыл бұрын
hii nice video... i have one problem with sim800l. i can't able to recive any sms from sim 800l in android mobile. but i recive sms from sim800l in old keypad mobile. do you have any problem like this ?? help me please...
@TechToTinker4 жыл бұрын
Hi Vivek, do mean like this? SIM800 SMS to android, SMS not receive SIM800 SMS to old phone, Ok If this is your problem, you may try: 1. Put the Sim card of SIM800 to other phone and try to send SMS to your android phone
@vivekchauhan74684 жыл бұрын
thanks i will try this, of course i like your video..
@hamdiahmed54923 жыл бұрын
thank you, I have practically the same tutorial, with the same hardware, I have made copy your program with some modifications of Number. I can't activate the leds with SMS received from my phone. when I try to read the message received, the serial monitor displays these "????" characters. Help please.
@TechToTinker3 жыл бұрын
@hamdi ahmed, It usually happens when baud rate is not the same. Set the same baud rate to your serial monitor to 9600.
@hamdiahmed54923 жыл бұрын
@@TechToTinker of course I used the same baud rate 9600, in the program and in the serial monitor, I also tried with other values, no results, knowing that when I do the test with the commands (AT, AT + ATD, AT + CMGS ...) it works very well
@hamdiahmed54923 жыл бұрын
@@TechToTinker I have two version of GSM module: SIM800L like you, and SIM800A. all the functions (call, receive a call, send a message, receive a message ...) are working very good, the only problem is the display of text message, whatever the message received it shows me these 4 characters "????".did my work on the first with 16F877 microcontroller and I didn't succeed, now I'm trying with arduino and still no result 😟😟😥 Really i need your help please, i
@TechToTinker3 жыл бұрын
@@hamdiahmed5492 did you try what I said regarding changing the baud rate of your serial monitor to 9600?
@hamdiahmed54923 жыл бұрын
@@TechToTinker of course Mr,
@emmanueljideofor68834 жыл бұрын
Great video sir. Please it doesn't respond to commands sent from phone. What could be the problem?
@TechToTinker4 жыл бұрын
Hello @Emmanuel Jideofor, do you read anything from serial monitor? If no, you might have problem with your circuit. If you are receiving some serial dumps, you miight need to change the number written in default_num variable at the top part of the source code. Cheers.
@emmanueljideofor68834 жыл бұрын
@@TechToTinker Thanks a lot, It worked. But what if I wanted two default numbers instead of one and that it doesn't accept commands from a random number, what do I do? I've tried tweaking the code but I'm missing something. Please can you help.
@TechToTinker4 жыл бұрын
Hello Emmanuel, just create another variable lets say default_num_2 and put the 2nd number Then somewhere in your code when you checks for the default_num, make it to be like this: if ( ( num == default_num) || ( num == default_num_2 ) ) { // do a task } Hope this helps. Cheers.
@oualidbachircherif76723 жыл бұрын
thank u sir ur the best
@TechToTinker3 жыл бұрын
Most welcome. Thank you.
@immtco4 жыл бұрын
Hola, ¿podrías ayudarme?, ambos dispositivos funcionan por separado, el arduino ejecuta los comando si los meto manualmente en el monitor serial, y el SIM800L indica que ya está conectado a la red (incluso enlaza si llamo al número que tiene), pero no mandan ni mensajes, ni los mensajes que mando hacen algo, y tampoco funciona escribir comandos AT, no hace nada (he visto que al poner "AT" mínimo debe responder "OK", pero no. :( Agradecería tu ayuda
@TechToTinker4 жыл бұрын
Translation: Hello, could you help me? Both devices work separately, the arduino executes the commands if I manually put them in the serial monitor, and the SIM800L indicates that it is already connected to the network (it even links if I call the number it has), but They do not send messages, nor do the messages I send do anything, and neither does writing AT commands work, it does nothing (I have seen that when putting "AT" minimum, it must respond "OK", but no. :( I would appreciate your help -------- Hi @tcoimm, have you tried swapping your Rx and Tx?
@the_nishu_dixit2 жыл бұрын
sir can you write code of send location using 800l and gps module please sir
@magbomajoshua15853 жыл бұрын
Please I keep getting cme error 58 anytime I try to call my phone from the gsm module, any help ?
@TechToTinker3 жыл бұрын
@Magboma Joshua, how do you get those error?
@sweetravencurranlabrada41153 жыл бұрын
Sir can u help me in programming, if the event is about water sensor that every time it sense water it will send a message to the default number
@TechToTinker3 жыл бұрын
@Labrada, Sweet Raven, first what sensor you are going to use? Is this for flood detection alarm?
@sweetravencurranlabrada41153 жыл бұрын
@@TechToTinker yes sir for flood detection
@sweetravencurranlabrada41153 жыл бұрын
I used floatswitches
@TechToTinker3 жыл бұрын
@@sweetravencurranlabrada4115 ok, if you will use a float switch then I believe there is no need for modification in the code.
@sweetravencurranlabrada41153 жыл бұрын
@@TechToTinker but sir in serial monitor it is working but it wont send messages. What could be the problem
@kmv86994 жыл бұрын
Lot of thks..... Thk u for ur valuable time sir.....thk so much
@TechToTinker4 жыл бұрын
You are welcome @KMV. Does it work?
@TechToTinker4 жыл бұрын
what is configuration of your switch? Active-LOW? Other pin is connected to ground and internally pullup To check: if switch == LOW or Active-HIGH? the pin connected to Uno has pull down resistor going to ground the other pin to VCC To check: if switch == HIGH
@kmv86994 жыл бұрын
Active low switch sir
@TechToTinker4 жыл бұрын
ok, it means no need to change anything in your setup. How does it work?
@kmv86994 жыл бұрын
Sir this program... bool curr state =HIGH; bool prevstate= HIGH; Unsigned long startmills=0; Unsigned long=denounce=50; Void managebutton() If==low Sir
@givenromeo3062 жыл бұрын
i do not receive feedback/sms of led status
@Flowerhgg25233 жыл бұрын
serial command through laptop is working ok but SMS command via Phone is not working. how to fix ? plz help.
@TechToTinker3 жыл бұрын
@saroj singh, you may comment out "#define SIMULATE_BY_SERIAL" and it should work to your phone.
@Flowerhgg25233 жыл бұрын
thanx for your kind response. I did as you suggested but the problem is still the same. plz guide me. The same gsm module working well with your other project but SMS based this one is not
@manivannan50984 жыл бұрын
Sir I have send default num..ardunio rep default num saved. But ardunio is restart default num is erased....how to ardunio on or refresh not erasing the default num.
@TechToTinker4 жыл бұрын
Hi @Mani Vannan, you may use EEPROM to do that. Please refer to this: kzbin.info/www/bejne/f5K4Yqqsf52kpqc
@manivannan50984 жыл бұрын
Thk u sir.i wil try...
@TechToTinker4 жыл бұрын
Hi @Mani Vannan, if you do not yet succeeded in using EEPROM you may try this. Please be noted that this code is still subject for error because I do not test it but the concept is. //include this at the top of the code: #include "EEPROM.h" //in setup function, add this: for (i=0;i
@manivannan50984 жыл бұрын
@@TechToTinker sir I try to eeprom save on number for ur method...but only last four digit only save...pls help explain the code eeprom save
@sagarghode90163 жыл бұрын
@@manivannan5098 yes Sir please help
@ranelbriones72054 жыл бұрын
Nice thank you.
@TechToTinker4 жыл бұрын
You are welcome @Ranel Briones.
@rameshwargadekar76263 жыл бұрын
Niceee 🥰
@TechToTinker3 жыл бұрын
@Rameshwar Gadekar, thanks brother.
@jaysondebelen33653 жыл бұрын
Sir working po sya ang problem po sir hindi po nag sesend ng message sir salamat po.
@TechToTinker3 жыл бұрын
@Jayson Debelen, comment out #define SIMULATE_BY_SERIAL Please let me know your progress.
@jaysondebelen33653 жыл бұрын
@@TechToTinker sir ayaw po tlga sir char sender_num[14] = {'+', '6', '3', '9', '7', '5', '9', '2', '3', '1', '2', '4', '3' }; clrification po sir eto po ba sir yung number ng receiver po sir salamat po
@jaysondebelen33653 жыл бұрын
Good pm po sir nag pm po ako sa gmail nyo na tech.to.tinker@gmail.com
@TechToTinker3 жыл бұрын
@@jaysondebelen3365 yes palitan mo yan ng number mo
@pateldhruv46573 жыл бұрын
My mobul can't send a message but received a message and call . I do everything to solve this problem but I can't find a ans Plz help me how to solve it
@TechToTinker3 жыл бұрын
@Dhruv Patel, Im not sure what do you mean. If you mean to say that the SIM800L can't receive the message sent from your mobile, maybe you don't send the correct format of SMS. Try checking the short details at the top of the sample source code. Cheers, George Bantique | tech.to.tinker@gmail.com
@pateldhruv46573 жыл бұрын
@@TechToTinker I can send image on Gmail id?
@pateldhruv46573 жыл бұрын
Module received message but module can't send a message
@TechToTinker3 жыл бұрын
How did you know that the module received the message? How did you know that it doesn't send a message? Or you may try to fully analyze your problem and give me a complete details.
@pateldhruv46573 жыл бұрын
@@TechToTinker when I send a message from phone it's display on series monitor so i know message was received .
@omranihamza17092 жыл бұрын
Thank you so much but can you share the code please
@saadelm29554 жыл бұрын
Plz haw matche the value of the résistor.. Rx
@TechToTinker4 жыл бұрын
Hi @Saad Elm, you may try to use this site to calculate Voltage divider circuit resistors. ohmslawcalculator.com/voltage-divider-calculator Vs should be 5V Vout is 3.3 Then if you have 560 Ohms for R1, you may press calculate buttons it will give 1087 Ohms. You may use 1K Ohms resistor for R2. Hope this helps you.
@varunnambiar75343 жыл бұрын
What is the capacitance of capacitor?
@TechToTinker3 жыл бұрын
@V V, I can't remember the capacitance of that capacitor as of now :) . Anyways, you may use any capacitor around 100 to 220uF 16V or 25V or whatever is available. Cheers.
@jaysondebelen33653 жыл бұрын
How to know the code.
@TechToTinker3 жыл бұрын
@Jayson Debelen, check the video description. It usually contains additional information.
@sureshgurjar22623 жыл бұрын
Gsm call automotion with Ripley message
@TechToTinker3 жыл бұрын
Yes you can do that by replying to every sms received.
@fhilipinotech73183 жыл бұрын
Can you give the code sir. Thank you
@TechToTinker3 жыл бұрын
Hi Jay, kindly check the video description. The links to the source should be there. Cheers.
@randaroro4041 Жыл бұрын
@@TechToTinkeramazing work sir . I have a question can I receive a readings of gauge in sms and what is the code to do that can you help me sir?
@marksomersonaguirre66314 жыл бұрын
sir pwede pashare ng wiring diagram?
@TechToTinker4 жыл бұрын
Hi Mark, here is the link: techtotinker.blogspot.com/2020/08/tutorial-how-to-use-sim800l-gsm-module.html. Edit: I checked and I forgot to create the circuit diagram. Anyways, you may try this for the mean time: Red led to D7 Green led to D6 Blue led to D5 Button to D4 SIM800 Rx to D12 SIM800 Tx to D11 Be sure to use limiting resistors. Thank you
@TechToTinker4 жыл бұрын
Hi Mark, I just updated the blog post to include the circuit diagram. Please check it. Enjoy.
@kmv86994 жыл бұрын
Sir which part add on ATD CMD on this program....🖕
@TechToTinker4 жыл бұрын
@KMV, it depends on your application. Lets say you want to call a number when a button is press so you will create a check to the button. like if (button == LOW) { // this is an active-low button, // else replaced it with == HIGH // call call_a_number() } the you will create a function like void call_a_number() { // ATD here to dial }