项目介绍

cristiansteib/Sim800l 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,目前获得 230 个 Star、81 次 Fork。

仓库全名
cristiansteib/Sim800l
Star 数
230
Fork 数
81
未关闭 Issue
16

README 摘要

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Sim800l 用什么语言开发?

主要使用 C++ 编写,目前有 230 个 Star。

如何获取 Sim800l 的源码?

可以直接克隆仓库:git clone https://github.com/cristiansteib/Sim800l.git,默认分支为 master;安装与运行步骤见仓库 README。

Sim800l 最近还在维护吗?

仓库最近一次更新为 2021年2月17日,当前有 16 个未关闭 Issue;Star 数为 230,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Library sim800l for Arduino UNO (maybe sim900l work)

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
416
价值分
163
活跃状态
活跃

语言占比

C++

Release

README

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

评论

暂无评论