background image

Manual of Board ET-BASE GSM SIM900                       

 

9.4

How to Enable/Disable Echo

Echo is the return of a transmitted command to its source when 
user typed commands on Program Terminal to notify user to know 

what   the   typed   and   transmitted   command   is   (normally,   it   is 
Default value). If user would like to disable this function, it 

uses Command  

ATE0&W

  and follows by  

Enter

; when user types the 

command, user does not see it on Program Terminal because it 

only displays the response from Module SIM900. If user would 
like to enable this function, it only uses the Command  

ATE1&W 

and follows by 

Enter

.

10. How to Setup and Check Configuration

Normally,   there   are   several   ways   to   setup   Configuration   of 

Module   SIM900   such   as   conditions   of   communicating   with   Module; 

moreover, user can change and edit values as required such as Baud 
rate   or   format   of   Handshakes   for   communication.   Remember,   it   is 

necessary to setup Configuration of the Module to suit user’s needs. 
Normally, these conditions always have a fixed value after resetting 

or Power ON; the Module sets conditions for its own when it starts 
running   by   the   values   that   are   setup   and   saved   in   Configuration. 

However,   user   can   change   and   edit   this   Configuration   as   required. 
There   are   2   ways   to   setup   conditions   of   the   Module   as   described 

below;

Permanently Setup

:  It saves conditions of Module according to 

the setting format in the permanent memory  internal Module by 

Command 

AT&W

. After Module starts running or after reset Module 

in   each   time,   the   conditions   of   the   Module   always   are   set 

according to the saved values in Configuration.

Temporarily Setup

: It uses AT Commands to setup condition for 

running Module but is does not save any Configuration by the 

Command  

AT&W

;   so,   the   operation   of   Module   also   changes   and 

varies according to the current command. When reset the Module 

or Power ON, the specification of Module also return to the old 
one instantly.

It can use AT Command to check and save Configurations into Module 

SIM900 as follows;

It uses Command

 AT&V

 to command the Module to show the current 

Configuration.

It uses Command 

AT&F

 to reset all Configurations to be standard 

value.

It uses Command

 AT&W

; it saves the current Configurations that 

are setup by user. 

Suggested Configuration

AT+CMGF=1 

(SMS Message = Text Mode)

ATE=1

 (Echo Mode ON)

AT+CSCLK=0 

(Disable Sleep Mode)

ETT CO., LTD.

-

15

-

           www.etteam.com

Summary of Contents for ET-BASE GSM SIM900

Page 1: ...คู มือการใช งาน ET BASE GSM SIM900 http www etteam com Electronics Technology Team บริษัท อีทีที จำกัด ETT CO LTD ...

Page 2: ...oard ET BASE GSM SIM900 10 9 Example of Using Command about RS232 13 10 How to Setup and Check Configuration 15 11 How to Check Data of Module SIM900 16 12 How to Make Receive and Cancel a Call 17 13 How to Check Balance by USSD 18 14 How to Receive SMS 19 15 How to Send English SMS 20 16 Code of Thai SMS 21 17 Principles of Decoding Unicode 23 18 How to Send Thai SMS 26 19 How to Use SIM Command ...

Page 3: ...t and Firmware internal Module SIM900 completely but it is not ready to use because user has to design the circuit of Peripheral device that is necessary to connect with some partial Pin of Module such as Circuit Power Supply circuit for connecting with SIM Card including Circuit Line Driver of RS232 So ETT Team provides the intermediate board to connect between Module SIM900 and external device i...

Page 4: ...Has circuit to convert Signal Logic TTL 3V 5V to directly connect with Microcontroller without connecting through Circuit Line Driver RS232 Has LED to display the ready status of board status of Power Supply status of Module status of Network Connection and status of Power ON Power OFF of Module Has Connector to connect with Handset microphone and speaker of home phone it uses Connector Standard R...

Page 5: ...least 2A Current No 2 It is Connector RS232 4PIN ETT Standard it interfaces with device that transmits receives data by RS232 such as computer or Board Microcontroller especially be connected through Circuit Line Driver RS232 It arranges signal pins as shown in the picture below No 3 It is Connector TTL 3 5V to connect with Microcontroller directly without interfacing through Circuit Line Driver R...

Page 6: ...d receive a call It can interface with general standard of Handset No 5 It is Jumper to choose if user requires connecting Pin RXD TXD of Module through Circuit Line Driver RS232 If user requires connecting pins through Connector RS232 it has to set Jumper JP2 and JP3 to the position of 232 or if user requires connecting pins through Connector TTL P4 P5 it has to set Jumper JP2 and JP3 to the posi...

Page 7: ...wn Mode No 10 It is Connector Antennae GSM with the Frequency in the range of 850 900 1800 1900MHz No 11 It is Socket to install SIM Card on Module No 12 It is Module SIM900 4 How to Enable Disable Operation of Module SIM900 Normally Module SIM900 has several modes to enable and disable the operation of Module as described below 4 1 Switch ON OFF SW1 It enables disables the operation of Module SIM...

Page 8: ...y in this case it has to set Jumper JP1 to the position of AT 5 How to communicate with Module SIM900 There are 2 types to communicate with Board ET BASE GSM SIM900 Firstly it is connected through RS232 Serial Port by Connector 4PIN that is arranged according to ETT Standard it can be connected with standard Signal RS232 such as computer RS232 Com Port or ETT Board Microcontroller that is Connecto...

Page 9: ... interfaced with RI of the device on the Host side GND of Module SIM900 must be interfaced with GND of the device on the Host side It illustrates how to interface Signals between ET BASE GSM SIM900 and Microcontroller SIM900 Signal Direction MCU DCD DCD TXD RXD RXD TXD DTR DTR RTS RTS CTS CTS RI RI GND ___ GND Table shows the full connection SIM900 Signal Direction MCU TXD RXD RXD TXD GND ___ GND ...

Page 10: ... disable Sleep Mode by Command AT CSCLK 0 and then save this Configuration 7 Example of using AT Command with Module SIM900 Module GSM GPRS model SIM900 is designed and run as Modem it is used to connect command and communicate with Module through RS232 Serial Port it supports Baud Rate in the range of 1200 115200 bps and it uses AT Command Its functions are similar to general Modem but it adds Op...

Page 11: ... that has RS232 Serial Port in order to connect and command Module SIM900 Moreover it depends on ability or basic skill of user to choose any way and language to write program because it needs user with know how to write program to command the device in order to transmit receive data through RS232 Serial Port this manual does not describe any detail of them Initially it is unnecessary to write pro...

Page 12: ...ter at the position that the key is pressed and it auto sends to Pin TXD of Serial Port However if using Windows7 or Windows8 there is no any Program HyperTerminal so this example illustrates how to use Program Tera Term instead as described below 8 1 Install and open Program Tera Term choose the connection as Serial choose Port to interface with ET BASE GSM SIM900 and then click OK as shown in th...

Page 13: ... it means that the Module starts running Moreover it shows message on the screen of Program Tera Term user needs to wait for a while until it shows the message Call Ready it means that the Module searched and found the Network successfully Next user can command the Module to execute by Commands as required If there is no any message on the screen of Program HyperTerminal it may setup Baud Rate of ...

Page 14: ... ask for more information The Module responds IPR and types the all available Parameters of the Command that are 0 300 1200 115200 as shown in the example below the black message is command that is put in to ask for and the red message is the response that the Module answered AT IPR Ent IPR 0 1200 2400 4800 9600 19200 38400 57600 115200 OK If user would like to know what the current Baud Rate is i...

Page 15: ...t has no any Flow Control such as Microcontroller or device only uses 3 Cables RXD TXD and GND Hardware Flow Control RTS CTS Flow Control It uses Hardware to check if Module SIM900 is ready It uses Active LOW Signal CTS to notify the transmitter to stop transmitting data when the Module is not ready to receive any data On the contrary it checks if the status of RTS is Active before transmitting da...

Page 16: ...starts running by the values that are setup and saved in Configuration However user can change and edit this Configuration as required There are 2 ways to setup conditions of the Module as described below Permanently Setup It saves conditions of Module according to the setting format in the permanent memory internal Module by Command AT W After Module starts running or after reset Module in each t...

Page 17: ... of 2 30 it means that the signal is good or if it is 31 it means that the signal is excellent or if it is 99 it means that it cannot check any signal as shown in the example below AT CSQ Ent CSQ 16 0 OK 11 2 How to check Product ID ATI Ent SIM900 R11 0 OK 11 3 How to check Manufacturer ID AT GMI Ent SIMCOM_Ltd OK 11 4 How to check model code AT GMM Ent SIMCOM_SIM900 OK 11 5 How to check Firmware ...

Page 18: ...ne call When there is an incoming call user can hear ringtone from speaker receiver of handset in this case user can use the Command ATA to receive a call and speak instantly through Handset or microphone transmitter of home phone It uses the Command ATH to hang up a telephone or cancel a call This is an example of making a call by VOICE it has to end the command by semicolon sign and Enter 0x0D f...

Page 19: ... receiver of handset It uses the Command ATA in order to receive a call or it uses the Command ATH to hang up or cancel or reject an incoming call as shown in the example below RING ATA Ent OK It uses the Command AT CLIP 1 and follows by Enter in order to show an incoming telephone number the Module will show the incoming telephone number as shown in the example below RING CLIP 0894469xxx 129 0 13...

Page 20: ... third order it has to use the Command as AT CMGR 3 It uses the Command AT CMGL ALL to show all messages that are saved in the memory in this case use can choose type of message as required such as new message or all messages It uses the Command AT CMGD to delete message from the memory For example if user requires deleting the message in the third order it has to use the Command as AT CMGD 3 It u...

Page 21: ...iland such as 089 4469xxx it has to set the telephone number of the receiver as 6689 4469xxx instead so the code of person who receives the message is 66894469xxx When the Module SIM900 receives the Command AT CMGS completely it acknowledges and responds the sign to user next user can type any preferable message to send to the Module instantly Finally it has to end the message by pressing Key Ctrl...

Page 22: ... Unicode For example code of A that is 0041H will be 41H instead 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000F 0010 0011 0012 0013 0014 0015 0016 0017 0018 0019 001A 001B 001C 001D 001E 001F 0020 0021 0022 0023 0024 0025 0026 0027 0028 0029 002A 002B 002C 002D 002E 002F 0 1 2 3 4 5 6 7 8 9 0030 0031 0032 0033 0034 0035 0036 0037 0038 0039 003A 003B 003C 003D 003E ...

Page 23: ...0C 0E0D 0E0E 0E0F ฐ ฑ ฒ ณ ด ต ถ ท ธ น บ ป ผ ฝ พ ฟ 0E10 0E11 0E12 0E13 0E14 0E15 0E16 0E17 0E18 0E19 0E1A 0E1B 0E1C 0E1D 0E1E 0E1F ภ ม ย ร ฤ ล ฦ ว ศ ษ ส ห ฬ อ ฮ ฯ 0E20 0E21 0E22 0E23 0E24 0E25 0E26 0E27 0E28 0E29 0E2A 0E2B 0E2C 0E2D 0E2E 0E2F ะ ั า ำ ั ั ั ั ั š ั ั œ 0E30 0E31 0E32 0E33 0E34 0E35 0E36 0E37 0E38 0E39 0E3A 0E3B 0E3C 0E3D 0E3E 0E3F เ แ โ ใ ไ ๅ ๆ ั ั ั ั ั ั ª ั ั 0E40 0E41 0E42 0E43 ...

Page 24: ... can be displayed instantly or if user found 00H it means that it is English Unicode and its character code will be in the next Byte Data or if user found 0EH it means that it is Thai Unicode and its character code will be in the next data byte as well For example it sends SMS as สวสด Jack to the Module SIM900 the Module received the message successfully and stored the message in the first order i...

Page 25: ...f Thailand that is 0811234567 07 11 22 10 21 37 28 It is date that received the message Referred to the example if it displays the data that received from the Module in the format of HEX String the result of reading the message is shown below 0D 0A 2B 43 4D 47 52 3A 20 22 52 45 43 20 55 4E 52 45 CMGR REC UNRE 41 44 22 2C 22 2B 36 36 38 31 31 32 33 34 35 36 AD 6681123456 37 22 2C 2C 22 30 37 2F 31 ...

Page 26: ... 22 53 4D 22 2C 32 0D 0A CMTI SM 2 Referred to the message CMTI SM 2 it means that there is an incoming message and it is stored in the second order of the message User can read this message by Command AT CMGR 2 as shown in the example below 41 54 2B 43 4D 47 52 3D 32 0D AT CMGR 2 Referred to the example if it displays the data that received from the Module in the format of HEX String the result o...

Page 27: ...to setup new number If no it has to setup new number correctly by Command AT CSCA as shown in the example below Now it illustrates an example of 1 2 CALL 66818310808 and it sends the message as กขค to the telephone number 66811234567 Before sending any data it has to convert values into Unicode first Please refer to the table 1 SMS Service Center of 1 2 CALL telephone number 66818310808 When refer...

Page 28: ... that will be sent is ก 0E01 ข 0E02 ค 0E04 When all values are complete user can send the command as shown in the example AT CMGF 1 Ent OK AT CSCS UCS2 Ent OK AT CSCA 002B00360036003800310038003300310030003800300038 145 Ent OK AT CSMP 17 167 0 25 Ent OK AT CMGS 002B00360036003800310031003200330034003500360037 Ent 0E010E020E04 Ctrl Z ข อความภาษาไทยท จะส6ง GMGS 57 OK ETT CO LTD 27 www etteam com ...

Page 29: ... Happy Refill 2 Choose Language to Top Up 3 Choose Menu Top Up 4 Identify telephone number to Top Up 5 Choose price or amount of money to refill 6 Enter password 7 Confirm After completed all 7 steps above successfully Program Application on SIM is active it commands the mobile phone to send SMS to the Server to refill money or top up to the identified telephone number As mentioned above customer ...

Page 30: ...se there is Program Application that supports all operation completely moreover there is keyboard and screen to display data conveniently If using Module SIM900 to perform the process it cannot perform directly because there is no any readymade Program Application that supports SIM unlike mobile phone However user can use Commands of Module SIM900 to communicate with SIM for example access Applica...

Page 31: ...0 0 PSSTK GET ITEM LIST 2 2 4 True Product 0 0 0 PSSTK GET ITEM LIST 3 3 4 True Payment 0 0 0 PSSTK GET ITEM LIST 4 4 4 Other Service 0 0 0 PSSTK GET ITEM LIST 5 5 4 True Transfer 0 0 0 PSSTK GET ITEM LIST 6 6 4 Fun Smart 0 0 0 PSSTK GET ITEM LIST 7 7 4 Setting2Play 0 0 0 OK Use Command to choose Menu True Money Referred to the example it chooses the first Menu it shows 6 sub menus in Menu True Mo...

Page 32: ...mand to choose Menu Check Balance as shown in the example Next it shows warning message to force customer to enter password according to the registration with True Money AT PSSTK SELECT ITEM 1 1 0 0 Ent OK PSSTK GET INPUT 1 0 4 1 4 password 0 0 255 1 4 0 Use Command to enter password 1234 as shown in the example below AT PSSTK GET INPUT 1 4 1234 0 0 OK PSSTK NOTIFICATION 1 19 0 255 0 0 Enter Comma...

Page 33: ...E internet DTAC www dtac co th This example illustrates how to pull data from web site www etteam com by sending the commands below please read more information from the Document SIM900_IP_Application Note_V1 03 pdf AT SAPBR 3 1 Contype GPRS Ent เรQ มเป ดการใช งาน GPRS OK AT SAPBR 3 1 APN internet Ent OK AT SAPBR 1 1 Ent OK AT SAPBR 2 1 Ent SAPBR 1 1 10 179 72 166 OK AT HTTPINIT Ent เรQ มการใช งาน...

Page 34: ...wn in the example below If user requires terminating HTTP Connection it has to use Command AT HTTPTERM and Command AT SAPBR 0 1 to close GPRS Connection respectively NOTE While connecting GPRS it charges customers for connection so customer needs to study and understand service fee of each facilitator well Moreover it should disable the connection when it is unused ETT CO LTD 33 www etteam com ...

Page 35: ...ext open Example Program SMS_Send as shown in the picture This example illustrates how to send message to the number of receiver it needs to edit the message XXXXXXXXXX to be the telephone number that user needs to command ET BASE GSM SIM900 to send message Next it should choose Verify and Upload the program that has been edited completely please wait for a while until it shows the message Hello f...

Page 36: ...Manual of Board ET BASE GSM SIM900 ETT CO LTD 35 www etteam com ...

Page 37: ...2400mil 3200mil 950mil 100mil 125mil ...

Page 38: ...60 96mm 81 28mm 24 13mm 2 54mm 3 18mm ...

Page 39: ...2 4inch 3 2inch 0 95inch 0 1inch 0 13inch ...

Page 40: ...47 GPIO7 KBC3 48 GPIO8 KBC2 49 GPIO9 KBC1 50 GPIO10 51 NETLIGHT 52 GND 53 GND 54 VBAT 55 VBAT 56 VBAT 57 GND 58 GND 59 RF_ANT 60 GND 61 GND 62 GND 63 GND 64 GND 65 STATUS 66 GPIO11 67 GPIO12 68 U2 J1 C4 C2 VCC C1 RST C2 CLK C3 GND C5 VPP C6 I O C7 SIM1 R21 R22 R23 C14 C7 1 2 3 6 5 4 U4 Q2 R8 R10 R9 Q3 R15 R17 R16 C5 Q1 R7 R6 Q4 R19 R18 1 2 3 JP1 C1 1 C1 3 C2 4 C2 5 T1IN 11 T2IN 10 R1OUT 12 R2OUT 9...

Page 41: ... 2 ENABLE 1 VO 4 GND 3 ADJ 5 TAB TAB U5 C27 C28 D1 3 1 2 J3 R30 R29 C29 C30 C31 IN 1 GND 2 OUT 5 EN 3 NC FB 4 U6 C32 C33 C34 1 2 3 4 5 6 7 8 9 10 P4 1 2 P6 1 2 3 4 5 6 P5 C15 C16 C17 C18 C19 C20 1 2 3 4 J2 C21 C22 C23 C24 C25 C26 LED4 R28 2 1 JP4 PWRKEY PWRKEY RXD RXD RTS DTR STATUS STATUS TXD TXD CTS NRESET MIC_P SPK_P DCD MIC_N SPK_N ETT CO LTD Date 1 23 2013 9 45 58 AM Sheet 2 2 REV Project Tit...

Reviews: