linksprite four band gprs dtu - cloud object storage | …€¦ ·  · 2013-04-08linksprite four...

17
1 / 17 Step-by-Step Tutorial of LinkSprite Four Band GPRS DTU http://www.linksprite.com

Upload: hoangthien

Post on 19-Apr-2018

222 views

Category:

Documents


2 download

TRANSCRIPT

1 / 17

Step-by-Step Tutorial of

LinkSprite Four Band GPRS DTU

http://www.linksprite.com

2 / 17

1. Hardware Need:

a) LinkSprite Four Band GPRS DTU http://www.linksprite.com/product/showproduct.php?id=30&lang=en

b) Module Evaluation Board http://www.cutedigi.com/product_info.php?cPath=301&products_id=4166

2. Software Needed

a) TCP/IP Server Test Tool

http://www.linksprite.com/download/showdownload.php?id=33&lang=en

b) LinkSprite SM5100B GPRS DTU Parameter Setting GUI

http://www.linksprite.com/download/showdownload.php?id=29&lang=en

Optional Software:

X-CTU from Digi.com

Step 1:

Find out the serial port that the eval board is attached to.

3 / 17

Step 2:

Launch GPRS DTU Configuration Utility:

On the eval board, four switches must be on upper positions. SIM card needs to

be inserted.

Default COM setting: 9600: 8: None: 1 : None, and click Open

Configure DTU Parameter:

4 / 17

Port info: the serial port parameter.

APN: the APN name of the carrier.

For AT&T, it’s wap.cingular.

Center Address: It’s the server IP address.

If you are using a router, you can use http://whatismyipaddress.com/ to

find out your WAN IP address. In your router, you must use DMZ to point port to

your host LAN IP address.

Port: server port number.

Mode: please always select “Center”

Heartbeat: The GPRS can periodically send small package to server to

maintain the socket

Running Mode: Support DTU mode and AT command mode.

For AT commands, please download from:

http://www.linksprite.com/download/showdownload.php?id=34&lang=en

5 / 17

Send Trigger Mode:

This defines when the DTU will treat the raw serial data as end and send them

over TCP/IP.

There are two modes: timeout and delimit.

If you are using in North America, you must verify the communication band is

set correctly.

In the following, we are going to first set the module into AT command mode,

and check the communication band setting.

Then click DTU option tab, the following window will pop up.

Click Yes.

6 / 17

Click “Parameter Setting”.

It will report “Confirm”. Now the module is in AT command mode. You will see

SIND messages that are reported in AT command mode.

Click tab “Send Data” to send AT command.

7 / 17

Use AT+SBAND? , and fond out that the communication band is NOT for North

America.

8 / 17

Use AT+SBAND=7 to move the band to North America bands.

You will see LED101 on eval board start blinking, which means that it’s on the

network.

This setting is saved even when you power cycle the module.

Now we are done with the communication band setup. We need to exit the AT

command mode by typing: AT+CDTU=1 to enter into DTU mode.

9 / 17

Step 3: Launch TCP server

10 / 17

Set the port to be same as the DTU’s setting, and click Bind.

11 / 17

12 / 17

Remote GPRS connected right away in this try:

Wah… Keep receiving heartbeat packets….

13 / 17

If we send data at Serial port, we will receive at the TCP server:

14 / 17

15 / 17

If we send data at server end, we will receive at serial port:

16 / 17

What a neat feature!

That’s the beauty of GPRS DTU. You can treat the GPRS module as a transparent

cable.

17 / 17

LinkSprite Technologies, Inc.

Add:1410 Cannon Mountain Dr, Longmont, CO 80503 Tel: 720-204-8599 Email:[email protected] Technical questions: [email protected]

Web:www.linksprite.com