Coder Social home page Coder Social logo

sim800l-arduino-library-revised's Introduction

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

Original version by: [Cristian Steib] (https://github.com/cristiansteib)

Go to arduino IDE Sketch >> Import Library >> add library... Select the folder Sim800L-revised

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 (DEFAULT)

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
  • If it returns true there is an error

Methods and functions

Name Return Notes
begin() None Initialize the library
begin(number) None Initialize the library with user's baud rate
reset() None Reset the module, and wait to Sms Ready.
setSleepMode(bool) bool enable or disable sleep mode *
getSleepMode() bool return sleep mode status *
setFunctionalityMode(number) bool set functionality mode *
getFunctionalityMode() bool return functionality mode status *
setPIN(String) bool enable user to set a pin code *
getProductInfo() String return product identification information
getOperatorsList() String return the list of operators
getOperator() String return the currently selected operator
calculateLocation() bool calculate gsm position *
getLocationCode() String return the location code
getLongitude() String return longitude
getLatitude() String return latitude
sendSms(number,text) bool both 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() bool Delete all sms *
signalQuality() String return info about signal quality
answerCall() bool *
callNumber(number) None
hangoffCall() bool *
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) bool Return if the rtc was update with date time GSM.

sim800l-arduino-library-revised's People

Contributors

vittorioexp avatar per1234 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.