Sim800l-master

所属分类:通讯编程
开发工具:C/C++
文件大小:37KB
下载次数:0
上传日期:2020-09-02 15:27:31
上 传 者chinoxl
说明:  SIMCOM 808L module C commands / SMS and CALL examples

文件列表:
Sim800l.cpp (7931, 2018-12-28)
Sim800l.h (2365, 2018-12-28)
_config.yml (26, 2018-12-28)
examples (0, 2018-12-28)
examples\getTimeRTC (0, 2018-12-28)
examples\getTimeRTC\getTimeRTC.ino (1742, 2018-12-28)
examples\readSms (0, 2018-12-28)
examples\readSms\readSms.ino (1576, 2018-12-28)
examples\readSmsAndFilterNumber (0, 2018-12-28)
examples\readSmsAndFilterNumber\readSmsAndFilterNumber.ino (2905, 2018-12-28)
examples\sendSms (0, 2018-12-28)
examples\sendSms\sendSms.ino (1570, 2018-12-28)
examples\updateRtcWithGSM (0, 2018-12-28)
examples\updateRtcWithGSM\updateRtcWithGSM.ino (1817, 2018-12-28)
images (0, 2018-12-28)
images\RESET.png (19597, 2018-12-28)
images\power_supply.png (8384, 2018-12-28)
keywords.txt (891, 2018-12-28)

## 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](https://cristiansteib.github.io/Sim800l) ## Download and Install. Go to [Releases](https://github.com/cristiansteib/Sim800l/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](https://github.com/cristiansteib/Sim800l/blob/master/images/power_supply.png "LM317") For the **reset pin** they need NPN transistor, this is an example circuit that you can use. ![alt text](https://github.com/cristiansteib/Sim800l/blob/master/images/RESET.png "reset_circuit")

近期下载者

相关文件


收藏者