link sprite gprs dtu

Upload: maria-loaisa

Post on 07-Apr-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 Link Sprite Gprs Dtu

    1/17

    1 / 17

    Step-by-Step Tutorial of

    LinkSprite Four Band GPRS DTU

    http://www.linksprite.com

  • 8/6/2019 Link Sprite Gprs Dtu

    2/17

    2 / 17

    1. Hardware Need:a) LinkSprite Four Band GPRS DTUhttp://www.linksprite.com/product/showproduct.php?id=30&lang=en

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

    2. Software Neededa) TCP/IP Server Test Toolhttp://www.linksprite.com/download/showdownload.php?id=33&lang=en

    b) LinkSprite SM5100B GPRS DTU Parameter Setting GUIhttp://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.

  • 8/6/2019 Link Sprite Gprs Dtu

    3/17

    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:

  • 8/6/2019 Link Sprite Gprs Dtu

    4/17

    4 / 17

    Port info: the serial port parameter.

    APN: the APN name of the carrier.

    For AT&T, its wap.cingular.

    Center Address: Its 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

  • 8/6/2019 Link Sprite Gprs Dtu

    5/17

    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.

  • 8/6/2019 Link Sprite Gprs Dtu

    6/17

    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.

  • 8/6/2019 Link Sprite Gprs Dtu

    7/17

    7 / 17

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

  • 8/6/2019 Link Sprite Gprs Dtu

    8/17

    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 its 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.

  • 8/6/2019 Link Sprite Gprs Dtu

    9/17

    9 / 17

    Step 3: Launch TCP server

  • 8/6/2019 Link Sprite Gprs Dtu

    10/17

    10 / 17

    Set the port to be same as the DTUs setting, and click Bind.

  • 8/6/2019 Link Sprite Gprs Dtu

    11/17

    11 / 17

  • 8/6/2019 Link Sprite Gprs Dtu

    12/17

    12 / 17

    Remote GPRS connected right away in this try:

    Wah Keep receiving heartbeat packets.

  • 8/6/2019 Link Sprite Gprs Dtu

    13/17

    13 / 17

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

  • 8/6/2019 Link Sprite Gprs Dtu

    14/17

    14 / 17

  • 8/6/2019 Link Sprite Gprs Dtu

    15/17

    15 / 17

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

  • 8/6/2019 Link Sprite Gprs Dtu

    16/17

    16 / 17

    What a neat feature!

    Thats the beauty of GPRS DTU. You can treat the GPRS module as a transparent

    cable.

  • 8/6/2019 Link Sprite Gprs Dtu

    17/17

    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