Upload
others
View
20
Download
0
Embed Size (px)
Citation preview
MOD-GSM development boardUser's manual
All boards produced by Olimex are ROHS compliant
Rev. E, February 2013
Copyright(c) 2013, OLIMEX Ltd, All rights reserved
Page 1
INTRODUCTIONMOD-GSM is excellent board for adding remote monitoring and control with the use of the GSM cellular network. With this module you can use all of the the features of each one of Olimex's boards with on-board UEXT connector by GSM network. Also the board can work in stand alone mode, but only when the SIM card is without PIN code. In stand alone mode MOD-GSM don't offer much opportunities. It can receive information by GSM network, but if you want to operate with this information, you will need appropriate board with UEXT connected to MOD-GSM. Choose the other board depending on the application you want to have. MOD-GSM contains quad-band GSM GPRS module 850/900/1800/1900Mhz inside which covers most used GSM networks around the world. The GSM antenna is build in the board so no need for external expensive GSM antennas.
BOARD FEATURES
• GSM/GPRS quad-band MODULE 850/900/1800/1900Mhz with build on-board GSM cellular antenna
• Li-ion backup battery 3.7 V 1200 mAh for up to 200 hours of GSM module stand-by
• SIM-card holder• Status LED • On-GSM module temperature sensor • UEXT• PWR_EXT• PWRKEY• On-board DC-DC converter for stand alone mode and battery recharge• PCB: FR-4, 1 mm (0,039"), solder mask, silkscreen component print• Dimensions: 79.2x57.6 mm (3.1182x2.268")
ELECTROSTATIC WARNING
The MOD-GSM board is shipped in protective anti-static packaging. The board must not be subject to high electrostatic potentials. General practice for working with static sensitive devices should be applied when working with this board.
BOARD USE REQUIREMENTS
Hardware: 12V, 800mA at least Adapter, if you want to recharge the battery. Some of Olimex boards with UEXT on it.
Important: If your board does not work, first try to charge the battery as you power supply the board for few hours. Note that the baud rate it is set on hardware level to 115200. Consider using 115200 when connected to the terminal or host board.
Page 2
MODULE FEATURES– Power Supply – single supply voltage 3.4V – 4.5V
– Power saving – typical power consumption in SLEEP mode to 2.5mA (BS-PA-MFRMS=5)
– Charging – Supports charging control for Li-Ion battery
– Frequency bands:
– SIM340DZ Quad-band: GSM 850, EGSM 900, DCS 1800, PCS 1900. The SIM340DZ can search the 4 frequency bands automatically. The frequency bands also can be set by AT command.
– Compliant to GSM Phase 2/2+
– GSM class – Small MS
– Transmit Power
– Class 4 (2W) at EGSM 900
– Class 1 (1W) at DCS1800 and PCS 1900
– GPRS connectivity
– GPRS multi-slot class 8 (optional)
– GPRS multi-slot class 10 ( default)
– GPRS mobile station class B
– Temperature range
– Normal operation: -20°C to +55°C
– Restricted operation: -30°C to -20°C and +55°C to +80°C
– Storage temperature -40°C to +80°C
– DATA GPRS:
– GPRS data downlink transfer: max. 85.6 kbps
– GPRS data uplink transfer: max. 42.8 kbps
– Coding scheme: CS-1, CS-2, CS-3 and CS-4
– SIM340DZ supports the protocols PAP (Password Authentication Protocol) usually used for PPP connections
– The SIM340DZ integrates the TCP/IP protocol
– Support Packet Switched Broadcast Control Channel (PBCCH)
– CSD transmission rates: 2.4, 4.8, 9.6, 14.4 kbps, non-transparent
– Unstructured Supplementary Services Data (USSD) support
– SMS
– MT, MO, CB, Text and PDU mode
– SMS storage: SIM card
– FAX - Group 3 Class 1
– SIM interface - Support SIM card: 1.8V ,3V
– External antenna - Connected via 50 Ohm antenna connector or antenna pad
Page 3
– Audio features - Speech codec modes:
– Half Rate (ETS 06.20)
– Full Rate (ETS 06.10)
– Enhanced Full Rate (ETS 06.50/06.60/06.80)
– Echo suppression
– Serial interface and Debug interface
– Serial Port: Seven lines on Serial Port Interface
– Serial Port can be used for CSD FAX, GPRS service and sending AT command of controlling module.
– Auto bauding supports baud rates from 1200 bps to 115200bps.
– Debug port: provide two lines on Serial Port Interface /TXD and /RXD
– Debug port is only used for debugging
– Phonebook management - Support phonebook types: SM, FD, LD, MC, RC, ON, ME,BN,VM,LA,DC,SD
– SIM Application Toolkit - Support SAT class 3, GSM 11.14 Release 99
– Real time clock – Implemented
– Timer function - Programmable via AT command
– Physical characteristics
– Size: 33±0.15 x 33±0.15 x 3±0.3 mm
– Weight: 7.8g
– Firmware upgrade – over serial interface
Page 4
SCHEMATIC
NA
NA
0
ON
GSM_PCB_ANT
1x3
90-DEGREE
1000uF/16VDC 2.2uF
100n
F
4.7nF10uF/10V/1206 220uF/10V/tant 1000uF/6.3V/8x12/low_ESR
10nF(NA)
10uF
/10V
/120
6
47uF/6.3V
1000uF/6.3V/8x12/low_ESR
220u
F/10
V/ta
nt
100nF
330pF(NA) 2.2uF(NA) 220nF(NA)1nF(NA)
1N4004(SMD)
1N5822(SMC)
1N5819S
0
OP
EN
15uH/DBS135
+5V VBAT
VBAT
+5V
+12V
VBAT+12V
VB
AT
VBAT
+5V
TB2_3.5MM
CON61.27MM-6-SMALL
BC817
68k4.7k
150k
4.99k/1% 15k/1% 4.99k/1%
2k33k
560R
10k22R
22R
22R
NANA
NA10K
1KNA(3.3K)NA(1K)NA(1K)
1KNA(1K)NA(1K)(NA)1K
33K 10K
220220
SIM-HOLDER
red
SIM340D
BH10R
BD9778HFP
TXD,RXD,RTS,CTS,DTR,DCD,RI,DBG_TX,DBG_RX,MAIN_RX,MAIN_TX
VS
IM,S
IMD
ATA
,SIM
CLK
,SIM
RS
T
AUXADC
AUXADC
CTS
CTS
DBG_RXDBG_RX
DBG_TX
DBG_TX
DCD
DCD
DTR
DTRMAIN_RX
MAIN_RX
MAIN_TX
MAIN_TX
NETLIGHT
NETLIGHT
PWRKEY
PWRKEY
RI
RI
RTS
RTS
RXD
RXD
SIMCLK
SIMCLK
SIMDATA
SIMDATA
SIMRST
SIMRST
TEMP_BAT
TEMP_BAT
TXD
TXD
VSIM
VSIM
1 24V
1 24V_E
1 25V_CHG_E
1 2
AGND_E
ANT
123
BAT 1 2
BAT_E
C2C3 C4 C5
C6 C7 C8
C10
C13 C14
C15
C16
C17
C18 C19 C20C21
D1
D2
D3
1 2DCDC_E
12
DO
WN
LOA
D
1
2
3DRX/MRX
1
2
3DTX/MTX
GND
L112
PWR
PWRKEY
123456
PWR_EXT
Q1
R1
R2R3
R4 R5 R6
R7
R8
R9
R10R11
R12
R13
R14R15
R16R17
R18R19R20R21
R22R23R24R25
R26 R27
R28R29
GND4
SIMCLK3SIMIO
6
SIMNC5SIMRST2
VCC1
SIM
STAT
AGND22
ANTENNA33
AUDIOOUT+26
AUDIOOUT-25
AUXADC29
BACKUP15
CTS45
DCD42
DEBUG_RX1 DEBUG_TX2
DTR43
EAR+23
GND117
GND230
GND331
GND432
GND534
GND635
GND736
GND837
GND948
GPO140
KBROW010
MIC1N20
MIC1P21
MIC2N19MIC2P18
NETLIGHT41
POWERKEY12
RER-24
RI11
RTS44
RXD3
SIMCLK7SIMDATA6
SIMRESET8
SIM_PRESENCE47SPI_CLK13
SPI_CS46
SPI_D/C16
SPI_DATA14
STATUS5
TEMP_BAT27TXD4
VBAT138
VBAT239
VCHG28
VSIM9
U1
1 23 45 67 89 10
UEXT
EN/SYNC7
FB3GND4
INV5
RT6SW
2VIN1
VR1
9-12VDC
MOD-GSM_rev_A1OLIMEX LTD, BULGARIA, 2013
OLIMEX LTD, BULGARIA, 2013
https://www.olimex.com
+
+ +
+ + +
5V_INGNDVBATPWR_INGPIO1AUXADC
POWER SUPPLY CIRCUITThe power supply of MOD-GSM may be done in two ways:
1. Power from +9 - 12VDC without using the external backup battery.In this case the external power supply is used for supplying of 4V to GSM module and thus the module can be powered only from external power supply and the battery must not be connected. In this case the jumpers have to be configured as follows:− jumper BAT_E must be open− jumper 4V_E must be closed− jumper 4V must be closed − jumper 5V_CHG_E must be open. − DCDC_E must be closed
Power consumption in this mode is:− near to 70mA when have a conversation.− around 20mA in normal mode (without conversation).
Important: 4V_E, 4V and 5V_CHG_E jumpers have to be moved together.
2. Power from +12VDC with external 4.2V Li backup battery. The GSM module is powered always via the battery voltage and the external power supply is used only for charging the battery if it is discharged, i.e. if you have plugged external power supply the battery will be charged and if the board is not powered from external power supply the board will work until the battery dies.
In this case the jumpers have to be configured as follows:− jumper BAT_E must be closed− jumper 4V_E must be open− jumper 4V must be open − jumper 5V_CHG_E must be closed − DCDC_E must be closed− Power consumption in this mode:
Depends on live of the battery and vary from 260mA to 330mA (fully discharged battery). If we supply the module only via battery, without external power supply, the current through the battery is between 15mA and 30mA if there is no conversation, and between 180mA - 240mA when there is conversation.
Page 7
CONNECTOR DESCRIPTIONSJTAG
Pin # Signal Name
1 NC
2 GND
3 RXD
4 TXD
5 RTS
6 CTS
7 DTR
8 DCD
9 RI
10 PWRKEY
This connector allows connecting to other Olimex boards with UEXT connector.
SIM-CARD
Pin # Signal Name
1 VSIM
2 SIMRST
3 SIMCLK
4 GND
5 NC
6 SIMDATA
This is standard SIM card connector, to operate MOD-GSM should have inserted valid SIM card for your operator network.
Page 8
PWR-CON
Pin # Signal Name
1 +12V
2 GND
This connector is used to power the MOD-GSM. External (+9-12VDC) power source have to be applied to this pins.
PWR_EXT
Pin # Signal Name Description
1 5V_IN 5V input for battery recharge
2 GND Ground
3 VBAT Output – for power supplying other devices from the GSM battery
4 PWR_IN Optional input for external power supply
5 GPIO1 Doesn't work
6 AUXADC Input for analog signal
BAT
Pin # Signal Name
1 VBAT
2 TEMP_BAT
3 GND
Note: The battery doesn't support TEMP_BAT.
Page 9
JUMPER DESCRIPTIONBAT_E
Connects 3.7V Li-ion battery to the GSM module. Default state is to be open to not drain the battery during stocking the modules.
Default state - open
4V_EThis jumper is used when power the module without battery. When connected enable 4V to the DCDC output.
Default state – open.
4VThis jumper is used when power the module without battery. When connected the jumper enable 4V to VBAT power pins of SIM340D module.
Default state – open.
5V_CHG_EThis jumper is used when the battery is present and allows battery charging. Connects the DCDC converter output (5V or 4V according 4V_E jumper state) to VCHG power pin of SIM340D module.
Default state closed
Important: 4V_E, 4V and 5V_CHG_E jumpers have to be moved together.
Do not plug in external +12V if BAT_E jumper is open!
DCDC_EEnable DCDC. Connect DCDC output ((5V or 4V according 4V_E jumper state) to the module.
Default state closed
DownloadWhen the jumper is closed allow SIM340D firmware upgrade.
Default state is open
DTX/ MTXThe DebugTX/MainTX defines whether Debug TX terminal or Main TX terminal of SIM340D module is connected to FT232RL virtual com port driver.
Default state is DTX
Page 10
DRX /MRXThe DebugRX/MainRX define whether Debug RX terminal or Main RX terminal of SIM340D module is connected to FT232RL virtual com port driver.
Default state is DRX
AGND_EEnable board analog ground.
Default state is closed
INPUT/OUTPUTPWRKEY button – turns on the MOD-GSM module. You can turn on the SIM340D by driving the PWRKEY to a low level voltage for period time from 500mS to 1S Status LED ( red) with name STAT – indicates the state of SIM340D module.STAT is off state - SIM340D is not running64ms On/ 800ms Off - SIM340D does not find the network64ms On/ 3000ms Off - SIM340D find the network64ms On/ 300ms Off - GPRS communication
IMPORTANT NOTE ABOUT THE UEXT
The information below is for older revisions of the board. If your board doesn't have the serial resistors mentioned below then there is no need to perform the actions mentioned below!
If MOD-GSM doesn't transmit properly data on the UEXT of another Olimex board, it might be because some other boards can interfere with MOD-GSM's signals. If the host board has any signal on the I2C and/or the SPI on the UEXT there is very high chance of erroneous behavior.
There are two workarounds:
1. Cut the UEXT cable wires 5,6,7,8,9,10. Only wires 1,2,3,4 (NC, GND, RXD, TXD) should remain.
OR
2. Remove resistors R19, R20, R21, R23, R24, R25
Page 11
AVAILABLE DEMO SOFTWARE
- Please check the MOD-GSM web pages (standard edition and battery edition): https://www.olimex.com/Products/Modules/RF/MOD-GSM/https://www.olimex.com/Products/Modules/RF/MOD-GSM-B/
ORDER CODEMOD-GSM assembled and tested.
How to order? You can order directly from our web shop or from any of our distributors. Check our web site https://www.olimex.com/ for more info. List of distributors: https://www.olimex.com/Distributors/
Board revision historyRev. A - initial releaseRev. A1 - removed resistors R19, R20, R21, R23, R24, R25
Document revision historyRev. B - edited October 2011 – changes in POWER SUPPLY CIRCUIT –
more detailedRev. C - added note about the recommended baud rate on page 2Rev. D - added important note about UEXT line; various formatting
changesRev. E - updated schematic and disclaimer
Page 13
© 2013 Olimex Ltd. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other product names may be trademarks of others and the rights belong to their respective owners.
The information in this document is provided in connection with Olimex products. No license, express or implied or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Olimex products.
The hardware schematic is released under the Creative Commons Attribution-Share Alike 3.0 United States License. You may reproduce it for both your own personal use, and for commer cial use. You will have to provide a link to the original creator of the project https://www.olimex.com on any documentation or website.
You may also modify the files, but you must then release them as well under the same terms. Credit can be attributed through a link to the creator website: https://www.olimex.com
The software is released under GPL.
It is possible that the pictures in this manual differ from the latest revision of the board.
The product described in this document is subject to continuous development and improvements. All particulars of the product and its use contained in this document are given by OLIMEX in good faith. However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded. This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product.
This evaluation board/kit is intended for use for engineering development, demonstration, or evaluation purposes only and is not considered by OLIMEX to be a finished end-product fit for general consumer use. Persons handling the product must have electronics training and observe good engineering practice standards. As such, the goods being provided are not intended to be complete in terms of required design-, marketing-, and/or manufacturing-related protective considerations, including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards.
Olimex currently deals with a variety of customers for products, and therefore our arrangement with the user is not exclusive. Olimex assumes no liability for applications assistance, customer product design, software performance, or infringement of patents or services described herein.
THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE COMPONENTS USED TO CREATE MOD-GSM. THEY ARE CONSIDERED SUITABLE ONLY FOR MOD-GSM.
Page 14
Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information: Olimex Ltd.:
MOD-GSM MOD-GSM-B