background image

Using with Campbell Scientific Dataloggers 

Appendix D for more information). Your airtime provider will normally supply 
you with an extra phone number for the SIM specifically for data use. 

4.1  Network Coverage 

One of the main advantages of using a cellphone network is being able to set up a 
communications link to a datalogger virtually anywhere without installing land or 
telephone lines. However, this only applies if a suitable GSM network covers your 
installation site. 

Within the UK the coverage of GSM networks is good in most areas. However, 
coverage in remote areas can still be quite poor and is not likely to improve, as it 
offers little commercial advantage to the network companies. Unless coverage is 
known to be good at the proposed site, we strongly recommended that you test the 
coverage using a standard GSM handset (on the same network as the COM110 
modem is to be used) to measure the exact signal strength.  

Even areas shown as having good coverage on network maps can 
have ‘holes’ due to local interference or other technical reasons, so 
site testing is recommended. 

 

In areas of normal signal strength the COM110 modem can be used with a small, 
low cost antenna (as supplied in the CS-GSM/GPRS package). However, if the 
signal strength is marginal it may be possible to improve reception using a raised 
and/or a higher gain antenna. Poor quality reception will normally lead to breaks 
in communication or result in the PC software having to make multiple requests to 
ensure uncorrupted data is collected. This will not usually lead to data loss or 
corruption, but may result in longer calls and thus higher call charges. 

The network maintainer will be able to offer advice on coverage problems. 
Campbell Scientific can also offer further advice on suitable antennae to suit the 
application. 

4.2  GSM data call charges 

Call charges on cellular-based phones are usually much higher than landline based 
systems and can therefore be quite high for a long-term data collection campaign. 
Careful choice of the tariffs available can result in a considerable reduction in the 
total bill.  

One major factor, which can determine call costs, is the method used to connect to 
the remote COM110 modem. If you call the COM110 modem from a landline 
phone modem, you will normally pay your landline phone company the same 
(high) cost as calling a voice cellphone. This is independent of your agreement 
with the cellphone airtime provider. In many cases it may be cheaper to buy an 
extra COM110 modem or another GSM phone for your base station, thus avoiding 
the use of the land-based phone line altogether. Also, the set-up time from a GSM 
to GSM modem is usually much lower and the overall call will thus be shorter and 
thus cost less. 

When selecting a tariff beware that most data tariffs relate to GPRS 
data transfer, not dial-up, C.S.D. data transfer. 

If you cannot use a base station GSM modem, lower cost calls may also be 
possible by programming the datalogger to call back to the land-line phone base 
station, as the special airtime rates will normally apply to such calls too. 

NOTE 

NOTE 

Содержание CS-GSM/GPRS

Страница 1: ...CS GSM GPRS Digital Transceiver Kits including the COM110 modem Issued 16 9 13 Copyright 2013 Campbell Scientific Ltd CSL 997 USER MANUAL...

Страница 2: ......

Страница 3: ...e repair is under guarantee or not Please state the faults as clearly as possible and if the product is out of the guarantee period it should be accompanied by a purchase order Quotations for repairs...

Страница 4: ......

Страница 5: ...t for recycling Any batteries contained within the product or used during the products life should be removed from the product and also be sent to an appropriate recycling facility Campbell Scientific...

Страница 6: ......

Страница 7: ...up modewhen it isset for GPRS comms 12 5 6 Sending configuration commandsin themodem 12 6 Installation of the COM110 modem 13 6 1 Configuring and Fitting theSIM 13 6 2 Connection to aDatalogger 13 6 2...

Страница 8: ...Advanced fault finding 34 11 5 GPRSFault finding when using themodem TCP IP stack 35 Appendices A Using the COM110 with the PIN Security Feature Enabled A 1 A 1 Introduction A 1 A 2 CRBasic Program Ex...

Страница 9: ...Basic Program Example E 1 E 3 CR10X Program Example E 2 F Configuring the COM110 via the datalogger F 1 Table 1 COM110 modem Power Supply ConnectionsviaaPSW12 switch 15 Figures 1 Connecting theCOM110...

Страница 10: ......

Страница 11: ...ction It is therefore commonly called a modem It has the following features Standard RS232 serial port Relatively low power consumption Wide operating temperature range 30 C to 75 C Can be used to col...

Страница 12: ...05 or RS232 variants can also be use for GSM dial up use All modem are preconfigured so they should work out of the box for GSM dial up use This section of the manual gives brief instructions and poin...

Страница 13: ...TCP IP software e g the CR800 CR1000 and CR3000 loggers or it can be used running TCP IP functions built into the modem which will give basic communication over GPRS for other loggers e g the CR200X T...

Страница 14: ...ll then be prompted for the method of IP connection For the CR800 CR1000 and CR3000 select Logger IP Stack this indicates you will use the TCP IP functionality built into the logger operating system o...

Страница 15: ...m should report it has setup the modem correctly Then click on Done If you are using the Logger TCP IP software stack you will now be prompted if you wish to setup the datalogger to suit This process...

Страница 16: ...network of the same frequency For voice communications this theory almost works in practice except that many airtime providers the company you pay for use of the phone limit the geographical range of...

Страница 17: ...re having to make multiple requests to ensure uncorrupted data is collected This will not usually lead to data loss or corruption but may result in longer calls and thus higher call charges The networ...

Страница 18: ...become a standard for always on data connections with GSM mobile phones GPRS technology offers many potential advances in remote telemetry These include Fast connection time compared to phone GSM as f...

Страница 19: ...e used with an airtime contract that allows GPRS communications Some SIMs are sold as 3G compatible which means they can be used in 3G phones too It is important to check with your supplier that any S...

Страница 20: ...ger will automatically start to send beacon messages once per minute to the device that called This will hold the connection open which is useful as some GPRS providers will cut off inactive connectio...

Страница 21: ...more than four connections to different servers are required When using the Modem IP Stack for a program controlled call back the modem will only make the IP connection when it receives data from the...

Страница 22: ...s for shutting down the GPRS link Normally the only option is by cutting the power to the modem If this is done avoid doing this too frequently as it is not possible to cleanly log off from the networ...

Страница 23: ...e SIM suppliers send the SIM with the PIN enabled and set to a default PIN number Check the documentation that came with your SIM The SIM card is installed in the COM110 modem in the slot at the aeria...

Страница 24: ...se take not of the marking on the case of the SC105 indicating which end connects to the datalogger to ensure it is installed the correct way around The SC105 may need to be configured before use to m...

Страница 25: ...lly around 5 mA once the unit automatically shuts down at the end of a call Having the unit powered all the time ensures unhindered access at any time by remote users and also avoids complications of...

Страница 26: ...Using a cheaper low gain antenna may result in a significant increase in power consumption in areas of poor signal coverage If the antenna is placed near the top of a mast or has long antenna cables...

Страница 27: ...ed above it is often more advantageous to mount the antenna higher In some applications the cable will need to be shortened and so a new connector can be installed onto the cable at this time by cutti...

Страница 28: ...l port to the modem connected on another When the modem is offline you can manually send configuration commands to the modem via this route see the datalogger manual for a description of terminal mode...

Страница 29: ...talogger needs to be will configure a datalogger too if it is available If the logger is not available it can be setup later using either this program or using the Campbell Scientific Device Configura...

Страница 30: ...ack and is set to call back but only to make a connection where commands in the program trigger serial communication via the modem e g the SendVariables command to trigger a call back collection This...

Страница 31: ...Mobile Data Assistant is straightforward and only requires you to step through the options and wait for the system to be setup If this process is not completed correctly and does not complete after a...

Страница 32: ...red The setup of the datalogger can also be done using the Campbell Scientific Device Configuration program This can be used to manually enter the PPP settings change the communications port or its ba...

Страница 33: ...or Standard 19200 bps Check that Windows finds the modem and attaches it to the correct COM port For this to work you must make sure the baud rate of the modem has been setup previously to match the...

Страница 34: ...the datalogger hardware set up screen This delay is entered in seconds Loggernet has a default built in delay of 2 seconds which is adequate for use with the COM110 modem in most cases On busy network...

Страница 35: ...ports is limited perhaps due to a firewall restriction Pakbus loggers with discreet Pakbus addresses can be connected via a PakbusTCPServer as shown below Loggernet 4 onwards The IP address of the re...

Страница 36: ...a connection This setting ensures Loggernet returns to a state of waiting for another call back as soon as possible The setup screen for Loggernet 3 4 is shown below When filling in that setup screen...

Страница 37: ...ers The call back port is entered in the hardware tab as shown below The details of the way calls are routed via this port are entered in the routing tab as shown below and fully documented in the Log...

Страница 38: ...xed IP mode if no valid TCP IP packets are received by the datalogger within a few minutes either it or the modem will test the PPP link locally using a special PPP link test that most providers suppo...

Страница 39: ...he incoming port numbers you wish to allow dataloggers to call back in on You can test the firewall settings by using that PC from outside your local network to make a connection to Loggernet using th...

Страница 40: ...shown in the example in Appendix B If the modem is not cleanly shutdown there may be a delay of some minutes before the network will allow access to the modem again and in GPRS mode prevent modem fro...

Страница 41: ...tting bad data stored to disk are very small because of the error checking protocols used the speed at which data is collected can fall markedly if the link is very noisy This will lead to much higher...

Страница 42: ...l port There are some other methods of checking if a connection has at least been established The simplest of these is to connect a PC to the other spare serial port on the datalogger CS I O or RS232...

Страница 43: ...gress of PPP connection The information is shown at the end of the address messages after the ppp gw information This field can be monitored with the Device Configuration program or in the Table monit...

Страница 44: ...authentication failed Username Password invalid for APN being used ppp authenticated Username Password accept and OK ppp up ip xxx xxx xxx xxx peer xxx xxx xxx xxx At the end of a call ppp up should...

Страница 45: ...e GPRS modem is connected as described below The full trace information can then be captured into a file for long periods If this is not possible it is possible to capture some key trace messages eith...

Страница 46: ...connection and whether an IP address has been allocated If the address has not been allocated please try setting up the modem again making sure the APN username and password are entered correctly If...

Страница 47: ...he modem is turned on see the example below For Edlog dataloggers this is done using Instruction P97 Initiate Telecommunications using the Generic Modem option This option was added in recent releases...

Страница 48: ...al 0 60 Min Then Set port 1 to 1 ON use writeio as in slowsequence WriteIO B00000001 1 Delay 1 2 sec Allow 2 seconds for the modem to power on SerialOpen Modemport modembaud 0 0 100 Send the command t...

Страница 49: ...re calling P97 This is required because it takes approximately two seconds for the COM110 to power up CR10X An example program which shows how to turn the COM110 on and send a PIN code using Instructi...

Страница 50: ...th of PIN code 7 65 Option A 8 84 Option T 7 Extended Parameters 4 Digit P68 1 43 Option 2 67 Option C 3 80 Option P 4 73 Option I 5 78 Option N 6 61 Option 7 54 Option 6 8 54 Option 6 This example us...

Страница 51: ...al Note 33 Sending SMS Messages using GSM modems For those applications which also use Instruction 97 the AT CPIN can either be sent first as above followed by a second call of P97 to force the callba...

Страница 52: ......

Страница 53: ...lar panel will suffice Please refer to Technical Note 12 Calculating Power Consumption and Solar Panel Size for further details To allow the COM110 to receive calls program the datalogger to set the r...

Страница 54: ...s Declare Public Variables Example Public PTemp batt_volt Main Program BeginProg Normal measurements in the main scan here Scan 1 Sec 0 0 PanelTemp PTemp 250 Battery Batt_volt etc NextScan Modem contr...

Страница 55: ...command mode in case online SerialOut Modemport OK CHR 13 1 150 SerialOut Modemport AT CFUN 0 CHR 13 OK CHR 13 1 300 Delay to allow deregistration delay 1 2 sec SerialClose Modemport Set port 1 to 0 L...

Страница 56: ...2 Batt Voltage P10 1 1 Loc BattV and if it is than 11 5 V turn on the COM110 3 If X F P89 1 1 X Loc BattV 2 3 3 11 5 F 4 41 Set Port 1 High 4 End P95 At 5 past every hour set Flag 1 to indicate to tur...

Страница 57: ...e P97 to set the power control port high if the interrupt disable flag has been set low P97 will automatically set the flag high at the end of a successful call which the P91 will detect at the next s...

Страница 58: ......

Страница 59: ...communications Standards Institute ETSI web site at www etsi org C 1 Signal Quality Checks AT CSQ Signal Quality Test command AT CSQ Response CSQ list of supported rssi s list of supported ber OK Para...

Страница 60: ...oper OK Parameter See set command Set command AT COPS mode format oper Response TA forces an attempt to select and register the GSM network operator If the selected operator is not available no other...

Страница 61: ...etwork cell OK Parameter mode 0 Disable network registration unsolicited result code default 1 Enable network registration code result code CREG stat 2 Enable network registration and location informa...

Страница 62: ...password which is necessary before it can be operated SIM PIN SIM PUK PH SIM PIN etc If the PIN is entered twice the TA will automatically repeat the PIN If no PIN request is pending no action is take...

Страница 63: ...default setting in Europe After issuing the command the COM110 module will have to be reset by power cycling the module to change to the new specified band s The setting is stored in non volatile memo...

Страница 64: ......

Страница 65: ...correct any communication errors On poor quality lines the PC software will often drop the call and redial when it sees a certain level of errors The non transparent mode is less prone to doing this F...

Страница 66: ...CS GSM GPRS Digital Transceiver Kits including the COM110 modem D 2...

Страница 67: ...t by CS with some older modules that reset the modem every 24 hours That mode is not now recommended by many networks as it does not cleanly log off the network Clearly if the logger is controlling th...

Страница 68: ...Scan EndProg E 3 CR10X Program Example CR10X Program example showing how to reset the COM110 once per day and also how to reset the low power mode Instruction 97 is used to send out the reset commands...

Страница 69: ...s below are sent blindly without checking the response from the modem This is done for simplicity and to ensure the logger does not get stuck repeating instruction First send the AT CFUN 1 command to...

Страница 70: ......

Страница 71: ...3 Connect the logger to the PC e g via the RS232 port and start communicating with it using the Device Configuration program use the latest version from www campbellsci com downloads Select the correc...

Страница 72: ...responding normally send ATZ and press enter the modem at a minimum should respond 0 or OK unless it has been configured at the wrong baud rate or all responses have been turned off 14 If there is no...

Страница 73: ......

Страница 74: ...rta T5M 1W7 CANADA www campbellsci ca dataloggers campbellsci ca Campbell Scientific Centro Caribe S A CSCC 300N Cementerio Edificio Breller Santo Domingo Heredia 40305 COSTA RICA www campbellsci cc i...

Отзывы: