GSM/GPRS sim900 module(gsm module arduino)
Human-machine or machine-machine communication can be considered as a new type of dialogue possible. Thinking of GSM telecommunication technology, it immediately comes to mind voice communication, sending and receiving SMS and MMS and mobile internet. We can therefore imagine, using these services provided through GSM technology, that remote control and control of machines, alarm systems and surveillance are possible.
The user: allows you to send a message to a GSM module by a mobile phone (The message contains coded information for the commands).
GSM module: allows you to receive or send text messages and communicate with an electronic card through a serial communication (UART). The commands used in this connection are AT COMMANDS.
Electronic card: allows you to communicate with the GSM module, read messages, send commands and execute the various processes such as processing, decoding and storing information, displaying messages, etc.
Short Message Service (SMS)
The Short Message Service (SMS) consists of sending and receiving alphanumeric messages with only a mobile terminal (mobile GSM). Short SMS messages are specified by ETSI. There are two ways to send an SMS message, either in PDU (Protocol Description Unit) mode or in TEXT mode. The TEXT mode, not supported by most mobile phones and GSM modules, allows to send SMS without coding prior to scanning.
On the other hand, in PDU mode, which is the basic mode, the message to be sent is codified into a sequence of hexadecimal characters before it is transformed into a binary train in order to increase the number of characters that an SMS can contain. Different types of encoding are used to switch from PDU to TEXT mode. The most answered is the one called «7-bit GSM alphabet» which offers the maximum number of characters to send (160 characters). For this type of encoding each character is code on seven bits.
Description of the GSM/GPRS sim900 module
General features
Voice, Data and SMS Transmission
Power supply 3.4 V to 4.5 V, typically 3.8 V
Frequency bands GSM 850 MHz, EGSM 900 MHz, DCS 1800 MHz, PCS 1900 MHz
Absorbed Current: GSM900: 147 mA (900 mA max)
GSM1800: 127 mA (700 mA max)
GSM1900: 113 mA (650 mA max)
Transmit power Class 4 (2 W) for GSM/EGSM Class 1 (1 W) for DCS/PCS bands
SIM card reader Integrated in the module, supports 3v and 1.8v SIM cards
Operating temperature - 40°C to + 85°C
External Coil by MMCX Connector
Mass 3.4 g
Size GSM07.07 and GSM07.05
GPRS Data Services GPRS multi-slot class (MSC) 10 (4+1, 3+2), GPRS PBCCH/PCCCH support, GPRS Class B and CC
SMS messages (Short Message Service) It is thus possible to send small amounts of data via the mobile network (ASCII or hexadecimal data)
Embeds a TCP/UDP stack To send data on a web server
Control with AT commands Standard commands: GSM 07.07 and 07.05 Extended commands: SIMCOM AT Commands
The SIM 900 module
The SIM 900 module is written on the following figure:
A SIMCom Logo
B Module name
C Module part number
D Module serial number and barcode
E IMEI Module and Bar Code
F Identification authenticated by FCC
G Logo authenticated by CE
Data Characteristics
- Class 10de GPRS: maximum 85.6 Kbps (downlink).
- Data transmission CSD , GPRS.
- SIM900 integrates TCP/IP protocol and extended TCP/IP AT commands that are very useful for data transfer applications.
- Non-transparent mode.
Features for SMS via GSM/GPRS
- Sending out the text cells.
- The supported modes are text mode and PDU mode.
AT COMMANDS
The communication tool used to control modems and phones with another machine is ATCOMMANDS. These are instructions used in a system such as sending a text or making a call for example.
AT: Attention code. It is the prefix of a command line that tells the modem that a command or sequence of commands will be sent.
Types of AT COMMANDS and responses
SMS service dedicated AT order
AT+CSMS Courier Service Selection
AT+CPMS Memory area selection for storage
of SMS
AT+CMGF SMS format selection (PDU or TEXT)
AT+CSCA Setting the Email Centre Address
AT+CSDH Displays the SMS settings in TEXT mode
AT+CSAS Configuration backup
AT+CRES Restore default setting
AT+CNMI Indication concerning a new SMS
AT+CMGL List SMS stored in memory
AT+CMGR Reading an SMS
AT+CMGS Sends SMS
AT+CMSS Sending an SMS stored in memory
AT+CMGW Writing an SMS.
AT+CMGD Clears an SMS