RavenXTG Sierra Wireless Cellular Modem Revision: 9/11 C o p y r i g h t © 2 0 0 6 - 2 0 1 1 C a m p b e l l S c i e n t i f i c , I n c .
Warranty “PRODUCTS MANUFACTURED BY CAMPBELL SCIENTIFIC, INC. are warranted by Campbell Scientific, Inc. (“Campbell”) to be free from defects in materials and workmanship under normal use and service for twelve (12) months from date of shipment unless otherwise specified on the corresponding Campbell invoice. Batteries, fine-wire thermocouples, desiccant, and other consumables have no warranty.
Assistance Products may not be returned without prior authorization. The following contact information is for US and International customers residing in countries served by Campbell Scientific, Inc. directly. Affiliate companies handle repairs for customers within their territories. Please visit www.campbellsci.com to determine which Campbell Scientific company serves your country. To obtain a Returned Materials Authorization (RMA), contact CAMPBELL SCIENTIFIC, INC., phone (435) 227-2342.
RavenXTG Table of Contents PDF viewers note: These page numbers refer to the printed version of this document. Use the Adobe Acrobat® bookmarks tab for links to specific sections. 1. General Description.....................................................1 2. Establish Cellular Service...........................................1 2.1 RavenXTG Cellular Coverage/Service Requirements..............................1 3. Specifications ..............................................................2 3.
RavenXTG Table of Contents D. EmailSend Using the Gmail Outgoing SMTP Server.....................................................................D-1 D.1 Setting up a Gmail Account ................................................................ D-1 D.2 Sending to Multiple Addresses ........................................................... D-1 D.3 Sending a Text Message to a Phone.................................................... D-1 Figures 4.2-1. Modem Interface Options ..............................
RavenXTG Sierra Wireless Cellular Modem 1. General Description This manual provides information for interfacing the Sierra Wireless RavenXTG cellular modem to Campbell Scientific dataloggers. A Sierra Wireless CD ships with the modem that includes Sierra Wireless manuals and software utilities. Sierra Wireless manuals referenced in this manual include: Raven_XT_Quickstart.pdf Raven_XT_UserGuide.
RavenXTG Sierra Wireless Cellular Modem AT&T will provide a SIMM card for each modem. In some cases the SIM can be picked up at a local AT&T store. The SIMM card must be installed inside of the modem as described in Appendix B. In addition to the SIM card, you should receive: 10-digit MSISDN number (used for billing) IP Address and APN for GPRS service AT&T can also setup a Custom APN. A Custom APN takes 4-6 weeks to setup and costs about $1000.
RavenXTG Sierra Wireless Cellular Modem 4. Configuration 4.1 Base Station Requirements for RavenXTG PC running Campbell Scientifics’ LoggerNet or PC400 software, with access to the internet. 4.2 Datalogger Site Equipment • Raven modem with power cable (included with modem). • Datalogger—21X, CR510, CR10(X), CR23X, CR7, CR1000, CR5000, CR3000, CR800. • SC105 or SC932A Interface—connects the modem to the 21X, CR510, CR10(X), CR7, or other dataloggers’ CS I/O port.
RavenXTG Sierra Wireless Cellular Modem Wiring: Red 12V (or switched 12V) Black G White Not Used PN 18663 PN 18663 Null Modem Cable—connects the modem to the CR23X, CR3000, CR800, CR2XX, CR1000 or CR5000 RS-232 port (not compatible with the 21X, CR510, CR10X, or CR7 dataloggers).
RavenXTG Sierra Wireless Cellular Modem Wiring: Red 12V (or switched 12V) Black G White Not Used 10873 serial cable provided with the SC105 SC105 Settings: CS I/O Mode: SDC Address 7 RS-232 Mode: Modem Baud Rate: 115.2K or 9600 baud depending on datalogger model 8 data bits, 1 stop bit, no parity SC105 interface connects the modem to a datalogger’s CS I/O port; recommended for dataloggers with the PakBus Operating System.
RavenXTG Sierra Wireless Cellular Modem Wiring: Red 12V (or switched 12V) Black G White Not Used 10873 serial cable provided with the SC932A SC932A interface connects the modem to the CS I/O port; recommended for dataloggers with the Mixed-Array Operating System. FIGURE 4.2-1. Modem Interface Options.
RavenXTG Sierra Wireless Cellular Modem • PN 13494 Raven Mounting Kit—includes mounting hardware for securing the modem to below referenced environmental enclosure and a 9-pin male to 9-pin female cable. • Antenna—the following antennas are available from Campbell Scientific. Contact a Campbell Scientific Applications Technician for help in determining the best antenna for your application. o The 20679 is a dual-band, omnidirectional antenna for our CDMA and GPRS/EDGE digital-cellular modems.
RavenXTG Sierra Wireless Cellular Modem PN 20679 Omni Directional Antenna PN 18285 1 dBd Omni Directional Antenna PN 14454 9dBd Directional Yagi Antenna PN 21831 Half-Wave Dipole Whip Antenna FIGURE 4.2-2.
RavenXTG Sierra Wireless Cellular Modem • Power Supply (see power considerations). • Environmental Enclosure— ENC 10/12, ENC 12/14, or ENC 16/18. 4.3 Power Considerations • A power cable included with the modem connects to the datalogger's 12 V or switched 12 V terminal. Connection to the switched 12 V terminal allows the datalogger to switch power to the modem during scheduled transmission intervals if desired.
RavenXTG Sierra Wireless Cellular Modem Run AceManager to get the following screen: Click the Connect icon in the Configuration Panel to open the connection options dialogue box. Select PPP, and the COM port the modem is connected to. Do not change the Password (the default password is 12345). Click OK to continue. If the modem has been configured for “PPP” (see appendix B), then you may have to check the “Use SOS Mode” box. Click the Load icon in the Configuration panel.
RavenXTG Sierra Wireless Cellular Modem NOTE Baud rate can be changed from 9600, to a higher baud rate supported by the datalogger (e.g., 115200 for a CR1000).
RavenXTG Sierra Wireless Cellular Modem Click on EDGE/HSDPA Group to get the following screen: For a data account with the I2GOLD APN, enter the APN as shown in the following screen. The example is for an APN = “I2GOLD”. After the template file has been loaded, and the APN entered, click the Write icon to save the changes in the modem. Account options prior to the “I2Gold” included a data account with “Feature Code G821”.
RavenXTG Sierra Wireless Cellular Modem IP Manager is a free service provided by Sierra Wireless for the Raven to translate a dynamic IP address into a fully qualified domain name so it can be contacted directly on the Internet. IP Manager translates a dynamic IP address to a fully qualified domain name so you can contact your Raven by name as if it had a static IP. If the Raven is configured for Dynamic IP, when the Raven first connects to the Internet, it sends an IP change notification to IP Manager.
RavenXTG Sierra Wireless Cellular Modem IP changes (i.e. if the modem is reset or is assigned a different IP). The value can be set from 0 - 255 minutes. Restrictions for Modem Name • Must begin with a letter or number • Can include a hyphen (-) • Cannot contain spaces • Must be no longer than 20 characters total Click the Write icon to save the changes. Click the Reset icon to restart the modem. Click the Disconnect icon to terminate communications with the modem. 5.
RavenXTG Sierra Wireless Cellular Modem Light Patterns The LEDs on the front of the modem will respond in different patterns to indicate modem states. • Normal—Each LED, mentioned above, lit as applicable. • Start up—The LEDs will cycle from left to right. • PassThru mode—Network and Signal LEDs will blink in tandem. The Activity LED will blink when transmitting or receiving data. • SOS—The Network LED blinks. • Configuration Reset—The LEDs will cycle left to right and then right to left 4 times.
RavenXTG Sierra Wireless Cellular Modem LoggerNet Device Map Accounts with the I2Gold APN with have a Static IP address, which is entered as xxx.xxx.xxx.xxx:3001, where 3001 is the port number set by the template file. Preceding zeros are not entered in the Internet IP Address (e.g. 070.218.074.247 is entered as 70.218.74.247). For a Dynamic IP using Sierra Wireless’s IP Manager (Section 5.2), enter the internet IP address as: xxxx.
RavenXTG Sierra Wireless Cellular Modem Uncheck “PakBus Port Always Open”. Enter PakBus address that has been set in the datalogger (default is 1).
RavenXTG Sierra Wireless Cellular Modem 7. Troubleshooting If LoggerNet/PC400 software is unable to establish a connection with the modem: 7.1 Check the Modem Configuration 18 a. Check the GPRS cellular account information, and verify there is GPRS coverage at the site. Dynamic IP accounts require a Dynamic Domain Name Server (DDNS) (Section 5). b.
RavenXTG Sierra Wireless Cellular Modem The Device Port gets changed from the default 12345 to 3001 when the template file is loaded into the modem (Section 5). The Device Port number gets entered with the IP address in LoggerNet (Section 6). Connect to the modem with AceManager (Section 5.3). Select the “Serial” Group, and make sure the “AT Verbose Mode” is set to “Numeric” for use with the CR10(X), CR510, and CR23X dataloggers, or “Verbose” for other dataloggers (e.g. CR1000).
RavenXTG Sierra Wireless Cellular Modem NOTE Baud rate changes require the modem to be reset before the change takes affect. Click the Reset icon in AceManager to the reset the modem and implement the change. Verify the APN has been entered in the NETAPN and +CGDCONT fields as shown above (where I2GOLD is the APN). e. If an SC105 interface is used, its default baud rate of 9600 will have to be changed to match the baud rate of the modem (using CSI’s DevConfig utility). f. Check the Network light.
RavenXTG Sierra Wireless Cellular Modem connects with the IP address, but not with the modem name.domain name, then there may be a problem with the Dynamic IP setup in the modem (Section 5). 7.2 Verify Connections at the Datalogger Verify the modem is connected to 12 V and the power led is on (green). Check the Network light on the modem. The Network light should be solid green, which indicates the modem is registered with the cellular network. Make sure the antenna is properly connected and oriented.
RavenXTG Sierra Wireless Cellular Modem 7.3 LoggerNet/PC400 Device Map Check your LoggerNet setup. a. Make sure the port number at the end of the IP address matches the port number of the Raven (e.g. 3001, see Figure 7.3-1). FIGURE 7.3-1. Device Port Configuration b. Try adding a few seconds to the extra response time on the IP Port in LoggerNet (you should not need more than 5 seconds). c. If you are trying to communicate to a PakBus datalogger: i.
RavenXTG Sierra Wireless Cellular Modem 7.4 Using AceManager to Check Modem Communications with Datalogger The modem’s “Host Serial Bytes Sent” and “Host Serial Bytes Received” windows can indicate whether or not the modem is communicating with the datalogger. Establish a connection with the modem through the cellular network using AceManager (click on the Modem menu item, Connect, UDP. Enter the IP address, and click OK).
RavenXTG Sierra Wireless Cellular Modem 24
Appendix A. Wireless Ace Setup without Template File Wireless Ace 3G is used to program settings in the RavenXTV and RavenXTG modems to make the modems compatible with CSI dataloggers. Airlink CDMA and GPRS/EDGE template files to send the modems are available on the CSI website (http://www.campbellsci.com/downloads). The procedure for sending the template files is described in Section 5. When the template files are not available, Wireless Ace 3G can be used to change the settings described below.
Appendix A. Wireless Ace Setup without Template File A-2 • S23 – Configure Serial Port – The baud rate needs to be configured to match a valid datalogger baud rate. For a CR10X: 9600,8N1 and for a CR1000: 115200,8N1. • \Q – Serial Port Flow Control – This should be set to None. • V – AT Verbose Mode – Set this to Numeric.
Appendix A. Wireless Ace Setup without Template File • S0 – TCP Auto Answer – Set to On • TCPT – TCP Idle Timeout -- Set to a reasonable value like 2 min.
Appendix A. Wireless Ace Setup without Template File This is a blank page.
Appendix B. Installation of SIM Card in the RavenXTG The Subscriber Identity Module (SIM) in the Raven is a smartcard securely storing the key identifying a mobile subscriber. Generally, you will only need to install the SIM once in the life of the modem. Installing the SIM To install the SIM, you will only need a small Phillips head screw driver. Opening the Case 1. Unplug the modem power and all cables. 2.
Appendix B. Installation of SIM Card in the RavenXTG 4. B-2 Replace the faceplate; the installation of the SIM is complete.
Appendix C. Configuring the Raven for PPP The Raven template file configures the Raven to function as a serial server. As a serial server, the modem has an IP address, and port number (3001) for the Raven’s RS232 port. LoggerNet sends data via TCP/IP over the internet to the datalogger. The modem removes the data from the TCP packet and sends the data out the RS232 port to the datalogger. Returning data is put into a TCP packet by the modem and sent back to LoggerNet.
Appendix C. Configuring the Raven for PPP Use WirelessAce to configure the following PPP settings: • • HOSTPRIVMODE = 1 (Changed from 0 — use Public IP) HOSTPRIVIP = 192.168.1.1 This will configure the Raven to use NAT (Network Address Translation). These settings should be configured by the template. Use WirelessAce to configure the following UDP setting: • MD = 02-PPP (Changed from 00 — Normal, AT command) After the changes have been made, click the Write icon to save the changes in the modem.
Appendix C. Configuring the Raven for PPP Datalogger Settings: Using the Device Configuration Utility, configure the following setting on the TCP/IP tab: • • • • • Config Port Used = RS232 IP Address = 0.0.0.0 Modem Dial String = PPP Modem Dial Response = CONNECT User Name and Password are blank Using the Device Configuration Utility, select the “Net Services” tab. The “PakBus/TCP Service Port” default is 6785.
Appendix C. Configuring the Raven for PPP Using the Device Configuration Utility, fix the RS232 Baud Rate to “115200 Fixed” from the “Port Settings” tab. LoggerNet Settings: Enter the IP address of the Raven, and the PakBus/TCP Service Port number of the datalogger (e.g. 6785 as explained above).
Appendix C. Configuring the Raven for PPP Example CR1000 Program The following example sends an email message when an alarm condition is True. Both the CR1000 and Raven modem must be configured as PPP as described above. CR1000 Program Example to Send Email Message 'Main program variables Public Batt, RefTemp, Temp 'declare Email parameter strings (as constants), Message String & Result Variable Const ServerAddr="smtpauth.earthlink.net"'"207.69.189.201" Const ToAddr="datalogger@hotmail.
Appendix C. Configuring the Raven for PPP This is a blank page.
Appendix D. EmailSend Using the Gmail Outgoing SMTP Server The datalogger has a mail client in it similar to a mail client on a computer. For the datalogger to send an email, it needs an SMTP server to send through like any other mail client. The Gmail SMTP server can be used for sending outgoing email from the datalogger. Both the modem and the datalogger must be configured for PPP as described in Appendix C. D.
Appendix D. EmailSend Using the Gmail Outgoing SMTP Server Email to Text Message Gateways T-Mobile: phonenumber@tmomail.net Virgin Mobile: phonenumber@vmobl.com AT&T: phonenumber@txt.att.net Sprint: phonenumber@messaging.sprintpcs.com Verizon: phonenumber@vtext.com EmailSend Program Example The following example sends an email message when an alarm condition is True. Both the CR1000 and Raven modem must be configured as PPP as described in Appendix C.
Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbellsci.com Campbell Scientific Africa Pty. Ltd. (CSAf) PO Box 2450 Somerset West 7129 SOUTH AFRICA www.csafrica.co.za • cleroux@csafrica.co.za Campbell Scientific Australia Pty. Ltd. (CSA) PO Box 444 Thuringowa Central QLD 4812 AUSTRALIA www.campbellsci.com.au • info@campbellsci.com.au Campbell Scientific do Brazil Ltda.