Vous êtes sur la page 1sur 32

SIMCom SIM900 Module

2010
SIM900 Hardware Overview
The GPRS/GSM engine for the global market.
Quad-band : GSM850, EGSM900, DCS1800, PCS1900
GPRS multi-slot : Class 10 / Class 8
GPRS class : Class B
GPRS coding schemes : CS-1, CS-2, CS-3, CS-4
Voice coders : HR, FR, EFR, AMR
Noise Suppression
(Top View)
Echo Cancellation
Encryption : A5/1, A5/2, A5/3
RF : SAIC (Single antenna interference cancellation)
¾Application: Input voltage: 3.4~4.5V
M2M Sleep mode current consumption: 1.5mA
Smart phone Operation temperature: -30℃~+80 ℃
Tracker

2
SIMCom All right Reserved
SIM900 Hardware Feature

9Tiny Configuration
Size: 24 X 24X 3 mm (SMT), Weight: 3.4g,
Packing : Auto-tray, Tape & Reel
9Low Power Consumption
Sleep Mode : 1.5 mA
9High-Speed Processing
ARM926EJ-S (156MHz)

3
SIMCom All right Reserved
Platform Solution
„ Chipset Solution
PNX4851 :
A single-chip integrated baseband processor and transceiver IC
RF7161 :
RF Power Amplifier supporting quad-band
Memory Chipset (ST/SA) :
NOR Flash + RAM Memory

„ Software Solution
RTOS :
RTK-E
Protocol Stack:
3GPP GSM/GPRS R99

4
SIMCom All right Reserved
Certification
SIM900 Certification Schedule :

5
SIMCom All right Reserved
Pins Diagram

6
SIMCom All right Reserved
Power Supply
„ VBAT --- Input Pin
Design Rule : Vmax = 4.5V, Vmin = 3.4V, Vnorm = 4.0V,
Peak Current : 2 A

Any voltage drops that may occur in a transmit burst should not
exceed 400mV.

7
SIMCom All right Reserved
Power Supply
„ VDD_EXT --- Output Pin
Voltage Reference for the Digital Interface.
Output Voltage : Vmax = 2.95 V, Vmin = 2.6 V, Vnorm = 2.80 V,
Design Rule : Iout(max) = 10mA
Logic Voltage Level :
VILmax=0.15 *VDD_EXT, VIHmin=0.85*VDD_EXT,
VILmin= 0V, VIHmax= VDD_EXT,
VOHmin= VDD_EXT - 0.1V, VOLmax=0.1V
VOHmax= VDD_EXT, VOLmin= 0V

„ VRTC --- Input or Output Pin


– Power input pin,
– Design Rule : Vmax=3.15V, Vmin=2.0V, Vnorm=3.0V
Iout(max)= 300uA, Iin=2 uA

„ GND --- Ground

8
SIMCom All right Reserved
Turn on, Turn off, Reset
„ PWRKEY --- Input Pin
be used to turn on or turn off SIM900

Timing of turning on
9
SIMCom All right Reserved
Turn on, Turn off, Reset

Timing of turning off

„ NRESET --- Input Pin


Reset SIM900 : Driving the pin low for at least 50uS.

10
SIMCom All right Reserved
Serial Port
„ TXD, RXD, CTS, RTS, DSR, DTR, DCD, RI

TXD, RXD --- Data Line


CTS, RTS --- Hardware Flow Control Line
DTR --- Sleep Mode Control Line
DCD --- Data Mode
RI --- Incoming Call, SMS, Arouse host.
DSR --- Reserve

11
SIMCom All right Reserved
SIM Interface
„ SIM_VDD, SIM_DATA, SIM_CLK, SIM_RST, SIM_PRESENCE

12
SIMCom All right Reserved
RF interface
„ RF_ANT

13
SIMCom All right Reserved
Audio Interface
„ MIC_P, MIC_N, SPK_P, SPK_N

14
SIMCom All right Reserved
Debug Port
„ DBG_TXD, DBG_RXD
– Updating Firmware & Capturing Debugging Trace.
– It’s recommended the interface is lead to a connector.

15
SIMCom All right Reserved
Others
„ ADC
– Input Voltage Range : 0 ~ 3 V
– AT+CADC?
+CADC: 1,50

„ NETLIGHT
State SIM900 function

Off SIM900 is not running

64ms On/ 800ms Off SIM900 does not find the network

64ms On/ 3000ms Off SIM900 find the network

64ms On/ 300ms Off GPRS communication

„ PWRKEYOUT, DISP_DATA,DISP_CLK,DISP_C/D,DISP_CS,LINEIN_R,LINEIN_L,
PWM1, PWM2, KBR0~KBR4, KBC0~KBC4, GPIO11, GPIO12
---these pins are available in the customized firmware!

16
SIMCom All right Reserved
Evaluation Board Kit

17
SIMCom All right Reserved
SIM900 ATC Introduction

18
SIMCom All right Reserved
„ Auto-Bauding

SIM900 supports baud rate from 1200 bps to 115200 bps, also support auto-

bauding mode.

When power on under auto-bauding mode, the first letter of command should

be uppercase, such as “AT” or “At”, otherwise, module will not give any

response. Usually, command with all uppercase letters are strongly

recommendatory.

19
SIMCom All right Reserved
Sample:
IIII?  
AT // after power on, uppercase command should be sent

OK
AT+IPR?

+IPR: 0

OK
ATI

SIM900 R11.0

OK
AT+GSV // this command can show firmware version details

SIMCOM_Ltd
SIMCOM_SIM900
Revision:1137B01SIM900M32_ST

OK

20
SIMCom All right Reserved
SIM900 TCPIP Protocol Introduction

21
SIMCom All right Reserved
TCPIP Protocol Architecture

SIM300

Transparent mode Non-Transparent mode

Client Client Server (TCP)

CIPMUX(10id)

22
SIMCom All right Reserved
SIM900

CIPMUX=0 CIPMUX=1 (8id)

Transparent mode NON-Transparent mode NON-Transparent mode

Client Server Client Server

23
SIMCom All right Reserved
SIM900 TCPIP protocol special features

1) CIPMUX mode;
2) DNS parser;
3) AT+CIPCLOSE=1;
4) AT+CIPSEND?
5) AT+CIPQSEND;AT+CIPACK
6) TCP SERVER Configuration (nothing to do with AT+CLPORT)

24
SIMCom All right Reserved
CIPMUX=0

AT+CIPMUX=0 AT+CIPMUX=0

OK OK
AT+CIPMODE=0 // non-transparent mode AT+CIPMODE=1 // transparent mode

OK OK
AT+CIPSTART=“TCP","116.228.221.51","8011" AT+CIPSERVER=1,2200 // open

OK OK

CONNECT OK SERVER OK
AT+CIPSEND=5 // send data in fixed length REMOTE IP: 211.136.130.1

> HELLO CONNECT


SEND OK // +++
AT+CIPACK OK
AT+CIPSERVER=0 // Only close listening status
+CIPACK: 5, 5, 0
OK
OK
AT+CIPSEND SERVER CLOSE

> 0123456789[ctrl+z] // send data by control code HELLO SIM900 // data from remote client
SEND OK AT+CIPCLOSE=1 // close socket forcibly without ACK
AT+CIPACK
CLOSE OK
+CIPACK: 15, 15, 0

OK

25
SIMCom All right Reserved
CIPMUX=1

„ Step 1

AT+CIPMUX=1 // multiplex IP connection

OK
AT+CIPMODE=0 // this command is invalid under CIPMUX=1 mode

+CME ERROR: operation not allowed


AT+CIPMODE=1

+CME ERROR: operation not allowed


AT+CSTT

OK
AT+CIICR

OK
AT+CIFSR

10.79.161.250 // module has attached GPRS network

26
SIMCom All right Reserved
„ Step 2

AT+CIPSERVER=1,2200

OK

SERVER OK

0, REMOTE IP: 211.136.130.129 // Remote client access this server successfully

AT+CIPSTART=1,"TCP","116.228.221.51","8011"

OK

1, CONNECT OK
AT+CIPSTART=2,"UDP","116.228.221.51","9015"

OK

2, CONNECT OK
AT+CIPSEND=1,5 // send data in fixed length

> HELLO
1, SEND OK
AT+CIPSEND=2 // here, “2” means index 2 connection, not data length

> SIMCOM[ctrl+z] // send data via control code


2, SEND OK

27
SIMCom All right Reserved
„ Step 3

AT+CIPACK=2 AT+CIPSEND?

+CIPACK: 6, 0, 6 // UDP +CIPSEND: 0,1460

OK +CIPSEND: 1,1380
AT+CIPACK=1
+CIPSEND: 2,1460
+CIPACK: 5, 5, 0 // TCP
+CIPSEND: 3,0
OK
AT+CIPSEND=2,10 +CIPSEND: 4,0

> 0123456789 +CIPSEND: 5,0


2, SEND OK
AT+CIPACK=2 +CIPSEND: 6,0

+CIPACK: 16, 0, 16 +CIPSEND: 7,0

OK OK

28
SIMCom All right Reserved
„ Step 4

AT+CIPSTATUS

OK

STATE: IP PROCESSING

S: 0,0,"2200""LISTENING“

C: 0,0,"TCP","211.136.130.129","2020","CONNECTED"
C: 1,0,"TCP","116.228.221.51","8011","CONNECTED"
C: 2,0,"UDP","116.228.221.51","9015","CONNECTED"
C: 3,,"","","","INITIAL"
C: 4,,"","","","INITIAL"
C: 5,,"","","","INITIAL"
C: 6,,"","","","INITIAL"
C: 7,,"","","","INITIAL“
AT+CIPCLOSE=0

0, CLOSE OK

Note:under CIPMUX=1mode,after setup server function, 7 connections is maximum


and allowed to setup.

29
SIMCom All right Reserved
Quick send mode

AT+CIPMUX=0

OK
AT+CIPMODE=0

OK
AT+CIPSTART="TCP","116.228.221.51","8011"

OK

CONNECT OK
AT+CIPQSEND=1

OK
AT+CIPSEND=5

> HELLO
DATA ACCEPT:5
AT+CIPSEND=10

> 0123456789
DATA ACCEPT:10 // here, data just sent to module buffer successfully
AT+CIPACK

+CIPACK: 15, 15, 0 // you should check the status of data sent from outside

OK

30
SIMCom All right Reserved
DNS Parser

AT+CIPSTART="TCP","WWW.YAHOO.COM",80
AT+CIPMUX=0
OK
OK
AT+CIPMODE=0 CONNECT OK
AT+CIPSEND=5
OK
AT+CSTT > HELLO
DATA ACCEPT:5
OK AT+CIPACK
AT+CIICR
+CIPACK: 5, 5, 0
OK
AT+CIFSR OK
AT+CIPQSEND=0
10.77.87.14
AT+CDNSGIP="WWW.SIM.COM" OK
AT+CIPSEND=10
OK
> 0123456789
+CDNSGIP: 1,"WWW.SIM.COM","58.32.231.146" SEND OK

31
SIMCom All right Reserved
Thank You !

32
SIMCom All right Reserved

Vous aimerez peut-être aussi