
If you have already watched my previous video on SIM 800L AT commands you can go further about the module from this tutorial. It is the basic and important part to understanding the working of SIM 800L module. Now in SetNfix shall we go for more advance part that to understand the way of applying this module in to practical.
Watch before start the project
Therefore, i change and made updates to sim800l Library. because sim 800l library can only get the massage details but we need only massage body. I will give you all the links at the end of this page.
Wiring part is same as my previous lesson PART 01, If you have not read that lesson, please read it. Only deference is i have added an LED to pin number 12 of Arduino Uno board.

Only for understanding I have added an LED if you want to operate AC device or any high volt device, you can add a relay instead of LED. I hope you know how to add a relay, but for beginners I have added that circuit below.
Following are the pin connection
If the wiring part is completed upload the codes
Our code is like this, If you want to On the device you have to send "#ON" without comma and also if you want to off the device you have to send an sms as "#OFF". the # mark is the identity to understand this device it as a command to active arduino code.
If you read the code, you can make more improvements to this code.
Download the coding file and library from the link given below.
Click on following to download Library and codes

If you have any doubt, please feel free to put a comment below.
hello.. i have given connections..as shown in the video,currently i am facing problem in detecting the input message #ON , in serial monitor it is showing only 'Ready to work'.. i have waited for long time..for further process..but nothing is happening , plz help me ..actually my btech project is mainly related to this concept,so please help me, my mailId : [email protected]
ReplyDeleteFirst check with AT commands to make sure your device is working propperly
DeleteI wrote AT in serial monitor and it shows OK but when i wrote AT+CMGF=1(to turn it into text mode) it shows error. what does this mean? is my device working well or it is not working properly? tell me.. i am a beginner,i don't have much knowledge in this, please help me.
ReplyDeleteyour device is working well, but check whether your sim card is working and in the correct direction. https://youtu.be/oR64FGbymHY
Deletehi sir,
ReplyDeleteis there any configuration before using the module .
i do one project by using sim800l module in my project i need the sms from the module in that sms i need the gps values (lat,long).... i write one code for the process but it is not working plz tell me the process..
SIM800L module has no GPS facility. No need to do any special configuration.
ReplyDeletehi sir,
ReplyDeleteI got these error upon compiling:
C:\Users\xxx\Documents\Software\Arduino\arduino-1.0.6\libraries\Sim800lEM\Sim800l_EM.cpp: In member function 'int Sim800l::getCountsms()':
C:\Users\xxx\Documents\Software\Arduino\arduino-1.0.6\libraries\Sim800lEM\Sim800l_EM.cpp:233: error: ISO C++ forbids comparison between pointer and integer
C:\Users\xxx\Documents\Software\Arduino\arduino-1.0.6\libraries\Sim800lEM\Sim800l_EM.cpp:242: error: invalid conversion from 'const char*' to 'int'
C:\Users\xxx\Documents\Software\Arduino\arduino-1.0.6\libraries\Sim800lEM\Sim800l_EM.cpp:245: error: invalid conversion from 'const char*' to 'int'
Did you download the library?
DeleteIt shows "Error compilling" Would you please help?
ReplyDeleteC:\Users\AGB\Documents\Arduino\libraries\Sim800l_EM\Sim800l_EM.cpp: In member function 'int Sim800l::getCountsms()':
C:\Users\AGB\Documents\Arduino\libraries\Sim800l_EM\Sim800l_EM.cpp:231: error: ISO C++ forbids comparison between pointer and integer
C:\Users\AGB\Documents\Arduino\libraries\Sim800l_EM\Sim800l_EM.cpp:239: error: invalid conversion from 'const char*' to 'int'
C:\Users\AGB\Documents\Arduino\libraries\Sim800l_EM\Sim800l_EM.cpp:242: error: invalid conversion from 'const char*' to 'int'
Did you download the library?
DeleteSir,I got same type of module..Led blinks every second..sim is inserted correctly..But is doesn't register to network...signal strength is full..I tried at commands ..Most of them worked..But when I tried AT+COPS? it returns to zero..By this I came to know its not registering..Plzz help me
ReplyDeleteinsert a sim and get a phone call to module and check whether you can hear ringing tone
DeleteSir I have same problem , how I can solve it.plz help ...([email protected])
DeleteHi Sir,
ReplyDeleteI got this error 'class Sim800l' has no member named 'AT'
Due to its cost effective and reliable features, a large number of entrepreneurs have already started to use short message service as an effective marketing tool padisoft company
ReplyDeletePopular reality TV shows like Australian Idol, Big Brother, Dancing with the Stars, American Idol, and others, use SMS technology to generate millions of dollars of revenue directly from the SMS votes that will be used to determine the winners.
ReplyDeletepadisoft.org
ReplyDeleteexit status 1
Error compiling for board Arduino/Genuino Uno.
Please I am unable to get the code and the library. Kindly forward to my email: [email protected] Thank you
ReplyDeleteHowever, it’s identified to be sluggish to print, and its $4,080 price tag is quite of|is sort of} excessive. Additionally, the present price and pace of 3D printing can pose an issue for supply chain integration, Boisvert defined. At the tip of the day, the decision to make use of 3D printing boils down to whether it truly is smart for your business and if the price is value the|definitely worth the} benefit. Additive manufacturing, however, thrives on low volumes of manufacturing, because of|as a result of} 3d printers run on software program, which is simpler complicated} Heaters and cheaper to vary than bodily moulds.
ReplyDelete