simcom sim900 module 2010

32
SIMCom SIM900 Module 2010

Upload: johnatan2500

Post on 09-Apr-2015

1.995 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Simcom Sim900 Module 2010

SIMCom SIM900 Module

2010

Page 2: Simcom Sim900 Module 2010

SIMCom All right Reserved 2

SIM900 Hardware Overview

(Top View)

The GPRS/GSM engine for the global market. Quad-band : GSM850, EGSM900, DCS1800, PCS1900GPRS multi-slot : Class 10 / Class 8GPRS class : Class BGPRS coding schemes : CS-1, CS-2, CS-3, CS-4 Voice coders : HR, FR, EFR, AMR

Noise SuppressionEcho Cancellation

Encryption : A5/1, A5/2, A5/3RF : SAIC (Single antenna interference cancellation) Input voltage: 3.4~4.5VSleep mode current consumption: 1.5mAOperation temperature: -30℃~+80 ℃

Application:M2MSmart phoneTracker

Page 3: Simcom Sim900 Module 2010

SIMCom All right Reserved 3

SIM900 Hardware Feature

Tiny Configuration Size: 24 X 24X 3 mm (SMT), Weight: 3.4g,

Packing : Auto-tray, Tape & Reel Low Power Consumption

Sleep Mode : 1.5 mAHigh-Speed Processing

ARM926EJ-S (156MHz)

Page 4: Simcom Sim900 Module 2010

SIMCom All right Reserved 4

Platform SolutionChipset Solution PNX4851 :

A single-chip integrated baseband processor and transceiver ICRF7161 :

RF Power Amplifier supporting quad-bandMemory Chipset (ST/SA) :

NOR Flash + RAM Memory

Software SolutionRTOS :

RTK-EProtocol Stack:

3GPP GSM/GPRS R99

Page 5: Simcom Sim900 Module 2010

SIMCom All right Reserved 5

CertificationSIM900 Certification Schedule :

Page 6: Simcom Sim900 Module 2010

SIMCom All right Reserved 6

Pins Diagram

Page 7: Simcom Sim900 Module 2010

SIMCom All right Reserved 7

Power SupplyVBAT --- 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 notexceed 400mV.

Page 8: Simcom Sim900 Module 2010

SIMCom All right Reserved 8

Power Supply

VDD_EXT --- Output PinVoltage Reference for the Digital Interface. Output Voltage : Vmax = 2.95 V, Vmin = 2.6 V, Vnorm = 2.80 V, Design Rule : Iout(max) = 10mALogic 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

Page 9: Simcom Sim900 Module 2010

SIMCom All right Reserved 9

Turn on, Turn off, ResetPWRKEY --- Input Pin

be used to turn on or turn off SIM900

Timing of turning on

Page 10: Simcom Sim900 Module 2010

SIMCom All right Reserved 10

Turn on, Turn off, Reset

Timing of turning off

NRESET --- Input PinReset SIM900 : Driving the pin low for at least 50uS.

Page 11: Simcom Sim900 Module 2010

SIMCom All right Reserved 11

Serial PortTXD, RXD, CTS, RTS, DSR, DTR, DCD, RI

TXD, RXD --- Data LineCTS, RTS --- Hardware Flow Control LineDTR --- Sleep Mode Control LineDCD --- Data ModeRI --- Incoming Call, SMS, Arouse host.DSR --- Reserve

Page 12: Simcom Sim900 Module 2010

SIMCom All right Reserved 12

SIM InterfaceSIM_VDD, SIM_DATA, SIM_CLK, SIM_RST, SIM_PRESENCE

Page 13: Simcom Sim900 Module 2010

SIMCom All right Reserved 13

RF interfaceRF_ANT

Page 14: Simcom Sim900 Module 2010

SIMCom All right Reserved 14

Audio InterfaceMIC_P, MIC_N, SPK_P, SPK_N

Page 15: Simcom Sim900 Module 2010

SIMCom All right Reserved 15

Debug PortDBG_TXD, DBG_RXD

– Updating Firmware & Capturing Debugging Trace. – It’s recommended the interface is lead to a connector.

Page 16: Simcom Sim900 Module 2010

SIMCom All right Reserved 16

OthersADC

– Input Voltage Range : 0 ~ 3 V– AT+CADC?

+CADC: 1,50

NETLIGHT

GPRS communication64ms On/ 300ms Off

SIM900 find the network64ms On/ 3000ms Off

SIM900 does not find the network64ms On/ 800ms Off

SIM900 is not runningOff

SIM900 functionState

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!

Page 17: Simcom Sim900 Module 2010

SIMCom All right Reserved 17

Evaluation Board Kit

Page 18: Simcom Sim900 Module 2010

SIMCom All right Reserved 18

SIM900 ATC Introduction

Page 19: Simcom Sim900 Module 2010

SIMCom All right Reserved 19

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.

Page 20: Simcom Sim900 Module 2010

SIMCom All right Reserved 20

IIII?  AT // after power on, uppercase command should be sent

OKAT+IPR?

+IPR: 0

OKATI

SIM900 R11.0

OKAT+GSV // this command can show firmware version details

SIMCOM_LtdSIMCOM_SIM900Revision:1137B01SIM900M32_ST

OK

Sample:

Page 21: Simcom Sim900 Module 2010

SIMCom All right Reserved 21

SIM900 TCPIP Protocol Introduction

Page 22: Simcom Sim900 Module 2010

SIMCom All right Reserved 22

TCPIP Protocol Architecture

Transparent mode

SIM300

Non-Transparent mode

Server (TCP)ClientClient

CIPMUX(10id)

Page 23: Simcom Sim900 Module 2010

SIMCom All right Reserved 23

SIM900

CIPMUX=0 CIPMUX=1 (8id)

Client Server

Transparent mode NON-Transparent mode NON-Transparent mode

ServerClient

Page 24: Simcom Sim900 Module 2010

SIMCom All right Reserved 24

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)

Page 25: Simcom Sim900 Module 2010

SIMCom All right Reserved 25

AT+CIPMUX=0

OKAT+CIPMODE=0 // non-transparent mode

OKAT+CIPSTART=“TCP","116.228.221.51","8011"

OK

CONNECT OKAT+CIPSEND=5 // send data in fixed length

> HELLOSEND OKAT+CIPACK

+CIPACK: 5, 5, 0

OKAT+CIPSEND

> 0123456789[ctrl+z] // send data by control codeSEND OKAT+CIPACK

+CIPACK: 15, 15, 0

OK

CIPMUX=0

AT+CIPMUX=0

OKAT+CIPMODE=1 // transparent mode

OKAT+CIPSERVER=1,2200 // open

OK

SERVER OKREMOTE IP: 211.136.130.1

CONNECT // +++

OKAT+CIPSERVER=0 // Only close listening status

OK

SERVER CLOSE

HELLO SIM900 // data from remote clientAT+CIPCLOSE=1 // close socket forcibly without ACK

CLOSE OK

Page 26: Simcom Sim900 Module 2010

SIMCom All right Reserved 26

CIPMUX=1

AT+CIPMUX=1 // multiplex IP connection

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

+CME ERROR: operation not allowedAT+CIPMODE=1

+CME ERROR: operation not allowedAT+CSTT

OKAT+CIICR

OKAT+CIFSR

10.79.161.250 // module has attached GPRS network

Step 1

Page 27: Simcom Sim900 Module 2010

SIMCom All right Reserved 27

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 OKAT+CIPSTART=2,"UDP","116.228.221.51","9015"

OK

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

> HELLO1, SEND OKAT+CIPSEND=2 // here, “2” means index 2 connection, not data length

> SIMCOM[ctrl+z] // send data via control code2, SEND OK

Step 2

Page 28: Simcom Sim900 Module 2010

SIMCom All right Reserved 28

AT+CIPACK=2

+CIPACK: 6, 0, 6 // UDP

OKAT+CIPACK=1

+CIPACK: 5, 5, 0 // TCP

OKAT+CIPSEND=2,10

> 01234567892, SEND OKAT+CIPACK=2

+CIPACK: 16, 0, 16

OK

Step 3

AT+CIPSEND?

+CIPSEND: 0,1460

+CIPSEND: 1,1380

+CIPSEND: 2,1460

+CIPSEND: 3,0

+CIPSEND: 4,0

+CIPSEND: 5,0

+CIPSEND: 6,0

+CIPSEND: 7,0

OK

Page 29: Simcom Sim900 Module 2010

SIMCom All right Reserved 29

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

Step 4

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

Page 30: Simcom Sim900 Module 2010

SIMCom All right Reserved 30

Quick send mode

AT+CIPMUX=0

OKAT+CIPMODE=0

OKAT+CIPSTART="TCP","116.228.221.51","8011"

OK

CONNECT OKAT+CIPQSEND=1

OKAT+CIPSEND=5

> HELLODATA ACCEPT:5AT+CIPSEND=10

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

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

OK

Page 31: Simcom Sim900 Module 2010

SIMCom All right Reserved 31

AT+CIPMUX=0

OKAT+CIPMODE=0

OKAT+CSTT

OKAT+CIICR

OKAT+CIFSR

10.77.87.14AT+CDNSGIP="WWW.SIM.COM"

OK

+CDNSGIP: 1,"WWW.SIM.COM","58.32.231.146"

AT+CIPSTART="TCP","WWW.YAHOO.COM",80

OK

CONNECT OKAT+CIPSEND=5

> HELLODATA ACCEPT:5AT+CIPACK

+CIPACK: 5, 5, 0

OKAT+CIPQSEND=0

OKAT+CIPSEND=10

> 0123456789SEND OK

DNS Parser

Page 32: Simcom Sim900 Module 2010

SIMCom All right Reserved 32

Thank You !