Skip to content
Library sim800l for Arduino UNO (maybe sim900l work)
C++
Branch: master
Clone or download
Latest commit eb3c0a1 Dec 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Rename sketch file to match folder name Jul 22, 2018
images add some imagesa Apr 26, 2016
README.md Update README.md Feb 11, 2018
Sim800l.cpp Update for sim800c Dec 25, 2018
Sim800l.h Add getNumberSms Apr 29, 2016
_config.yml Set theme jekyll-theme-cayman Feb 9, 2017
keywords.txt Use correct separator in keywords.txt Feb 4, 2018

README.md

Library SIM800l Module for Arduino UNO

The Purpose of This library is to use the module in the most easy way and transparent.
Website: Sim800l library

Download and Install.

Go to Releases click the " Source Code (zip) " button, then rename the uncompressed folder to Sim800l. Check that the Sim800l folder contains Sim800l.cpp and Sim800l.h

Go to arduino IDE Sketch >> Import Library >> add library... Select the folder Sim800l

OR

Place the Sim800l library folder your arduinosketchfolder/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.

Connections & pinouts

Arduino Uno Sim800l Notes
+5v (3.8v)~(4.4v)! Power supply input
10 RX_PIN TX
11 TX_PIN RX
2 RESET_PIN RST Reset Pin
GND GND

Methods and functions

Name Return Notes
begin() None Initialize the library
reset() None Reset the module,and wait to Sms Ready.
sendSms(number,text) true or false parameters must be Strings.
readSms(index) String index is the position of the sms in the prefered memory storage
getNumberSms(index) String returns the number of the sms.
delAllSms() true or false Delete all sms
answerCall() true or false
callNumber(number) None
hangoffCall() true or false
getCallStatus() uint8_t Return the call status, 0=ready,2=Unknown(),3=Ringing,4=Call in progress
setPhoneFunctionality() None Set at to full functionality
activateBearerProfile() None
deactivateBearerProfile() None
RTCtime(int *day,int *month, int *year,int *hour,int *minute, int *second) None Parameters must be reference ex: &day
dateNet() String Return date time GSM
updateRtc(utc) true or false Return if the rtc was update with date time GSM.

You can regulate the voltage to the desired with this, is not the best, but for start it's easy.

alt text

For the reset pin they need NPN transistor, this is an example circuit that you can use.

alt text

You can’t perform that action at this time.