Index
1. Introduction
2. GPRS Module basic description
3. General specifications
4. Example of a SIM800L Arduino Library
Introduction of SIM800L Arduino Library use in our GPRS PLC
This post shows how to use the Sim800L GPRS Module Library
This library is developed by Adafruit and communicates with the GSM modules through Serial TTL.
In the case of Ardbox PLCs, you need to use the library SoftwareSerial.h
GPRS Module basic description
Industrial controller based on Arduino technology designed for professional use. This programmable logic controller has 17 I/Os. It also contains several communication ports which provide more flexibility and control.Â
The GPRS/GSM Controller Arduino offers the possibility to expand up to 127 modules through I2C. This model also includes GPRS Hardware for GPRS communication. SIM card is not included!
Sim800L general specifications (GPRS Integrated module)
§ Quad-Band GSM 850/900/1800 / 1900MHz
§ GPRS multi-slot class 12/10
§ GPRS mobile station class B
§ GSM 2/2 +FM frequency between 76 MHz and 109 kHz adjustable by step 50AT command set support (3GPP TS 27.007, 27.005 and augmented by SIMCOM AT)
§ Class 4 (2W at 850 / 900MHz)
§ Class 1 (1 W at 1800 / 1900MHz)
§ Serial interface
§ SIM card interface 3 V / 1.8 V
Example of a SIM800L Arduino Library
This code will receive an SMS, identify the sender's phone number, and automatically send a response.
The internal connections between the internal Arduino Mega of the GPRS Module and the Sim800L are shown below:
Arduino Mega Pinout | Sim800L Pinout |
5Vdc | Vcc |
GND | GND |
Tx1 (Pin 18) | TxD |
Rx1 (Pin19) | RxD |
Pin 2 | RST |
REMEMBER:Â Open up the serial console on the Arduino at 115200 baudrate!
SIM800L Library use in our Industrial Arduino GPRS PLC