INSTRUCTION MANUAL GPS16X-HVS GPS Receiver Revision: 3/14 C o p y r i g h t © 2 0 0 3 - 2 0 1 4 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 in the corresponding Campbell pricelist or product manual. Products not manufactured, but that are re-sold by Campbell, are warranted only to the limits extended by the original manufacturer.
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-9000.
Table of Contents PDF viewers: These page numbers refer to the printed version of this document. Use the PDF reader bookmarks tab for links to specific sections. 1. Overview ...................................................................... 1 1.1 1.2 1.3 Default Settings ............................................................................. 1 Compatible Dataloggers ................................................................ 2 Common Accessories .............................................
Table of Contents B.2.2 Reading GPS Data .................................................................... B-2 B.2.2.1 CR23X Example of Instruction 15 (P15) ...................... B-3 B.2.3 Filters........................................................................................ B-3 B.2.4 Managing the Data ................................................................... B-3 B.2.5 Program Discussion.................................................................. B-4 B.2.5.
GPS16X-HVS GPS Receiver 1. Overview FIGURE 1-1. The GPS16X-HVS terminates in pigtails for direct connection to our dataloggers The GPS16X-HVS is a complete GPS receiver manufactured by Garmin International, Inc. Campbell Scientific configures the GPS16X-HVS to work with our dataloggers and modifies its cable so that the cable terminates in pigtails. The pigtails connect directly to the control ports of our dataloggers.
GPS16X-HVS GPS Receiver 1.2 Compatible Dataloggers Compatible Contemporary Dataloggers CR200(X) Series CR800/ CR850 CR1000 CR3000 CR5000 CR7X See Appendix B and C CR9000X See Appendix B and C Compatible Retired Dataloggers CR500 CR510 CR10 CR10X 21X CR23X CR9000 See Appendix B and C See Appendix B and C Our CR800, CR850, CR1000, and CR3000 dataloggers typically use the CRBasic GPS() instruction to read the GPS16X-HVS.
GPS16X-HVS GPS Receiver 2. Specifications Physical Size: 86 mm (3.39 in.) diameter, 42 mm (1.65 in.) high Weight: 181 g (6.4 oz.) without cable, 332 g (11.7 oz.) with 5 m cable Cable: PVC-jacketed, 5 m, foil-shielded, 8-conductor, 28 AWG Electrical Characteristics Input Voltage: 8.
GPS16X-HVS GPS Receiver DGPS (USCG/RTCM) Position: 3-5 m, 95% typical Velocity: 0.1 knot RMS steady state DGPS (WAAS) Position: Velocity: Less than 3 m 0.1 knot RMS steady state PPS Time: ±1 microsecond at rising edge of PPS pulse (subject to selective availability) Dynamics: 999 knots velocity (limited above 60,000 ft, 6g dynamics) Interfaces: True RS-232 output, asynchronous serial input compatible with RS-232 or TTL voltage levels, RS-232 polarity.
GPS16X-HVS GPS Receiver TABLE 3-1. Datalogger Wiring GPS16X-HVS Datalogger Function Red 12V Power In Black Ground Power Ground Yellow Ground or Control Port for On/Off control Power Switch White Control Port (Rx) TXD Gray Control Port (Tx) PPS Blue Ground or Control Port (Tx) for datalogger-based configuration Rx data Shield Ground Shield FIGURE 3-1.
GPS16X-HVS GPS Receiver 4. GPS Data The GPS16X-HVS has several data formats available. The GPS16X-HVS is configured to output the NMEA $GPGGA and $GPRMC time and position string. It is possible to configure the GPS16X-HVS to output other NMEA strings including the $GPVTG track made good and ground speed string. See Appendix A for details. 4.1 $GPGGA Sentence (Position and Time) Sample NMEA $GPGGA data string: $GPGGA,hhmmss,llll.lll,a,nnnnn.nnn,b,t,uu,v.v,w.w,M,x.x,M,y.y,zzzz*hh TABLE 4-1.
GPS16X-HVS GPS Receiver Sample $GPGGA output strings: Cold Start No satellites acquired, Real Time Clock and Almanac invalid: $GPGGA,,,,,,0,00,,,,,,,*66 Warm Start No satellites acquired, time from Real Time Clock, almanac valid: $GPGGA,235032.0,,,,,0,00,,,,,,,*7D Warm Start One satellite in use, time from GPS Real Time Clock (not GPS), no position: $GPGGA,183806.0,,,,,0,01,,,,,,,*7D Valid GPS Fix Three satellites acquired, time and position valid: $GPGGA,005322.0,4147.603,N,11150.978,W,1,03,11.
GPS16X-HVS GPS Receiver 5. CRBasic Programming This section describes programming a CR800, CR850, CR1000, or CR3000. See Appendix B and C for programming other dataloggers. CRBasic is used to write programs for the CR1000, CR3000, CR800, and CR850 dataloggers. These dataloggers use several instructions to read GPS output, which is asynchronous serial data. 5.1 GPS() Instruction The GPS() instruction is available for our CR800, CR850, CR1000, and CR3000 dataloggers.
GPS16X-HVS GPS Receiver The GPS() instruction has the following syntax: GPS(GPSArray,ComPort,TimeOffset,MaxTimeDiff,NMEAStrings) Description of the parameters follows: GPSArray The GPSArray parameter is the variable in which to store the information returned by the GPS. Fifteen values are returned. If this array is not dimensioned to 15, values will be stored to fill the array and no error will be returned. If no values are available, NAN will be returned.
GPS16X-HVS GPS Receiver the data table(s). This restriction does not apply to hardware revisions 08 or greater. NMEAStrings The NMEAStrings parameter is the string array that holds the NMEA sentences. If it exists, the GPRMC sentence will reside in NMEAStrings(1), and the GPGGA sentence will reside in NMEAStrings(2). Any other sentences will reside in subsequent indexes into the array (on a first-in basis).
GPS16X-HVS GPS Receiver Units Units Units Units Units pps = ms dt_since_gprmc = s gps_ready = unitless max_clock_change = ms nmbr_clock_change = samples BeginProg 'Use SetStatus prior to scan if baud rate needs to be changed for device Scan (1,Sec,0,0) GPS (latitude_a,Com4,LOCAL_TIME_OFFSET*3600,100,nmea_sentence(1)) NextScan EndProg 5.3 Example Program Using Serial Instruction Serial programming allows the retrieval of all values of GPRMC and GPGGA values.
GPS16X-HVS GPS Receiver Dim NBytesReturned As Long Dim SubStrings(16) As String * 32, rawdata As String * 500 Dim CalculatedChecksum As Long, ReportedChecksum As Long DataTable (gpsdata,True,-1) DataInterval (0,1,Sec,10) Sample (1,rmcid,String) Sample (1,rmcutc,String) Sample (1,rmcstatus,String) Sample (1,rmclatitude,String) Sample (1,rmcin_s_ind,String) Sample (1,rmclongitude,String) Sample (1,rmcspeed,String) Sample (1,rmccourse,String) Sample (1,rmcutcdate,String) Sample (1,rmcmagvariation,String) Samp
GPS16X-HVS GPS Receiver GGAstring = rawdata EndIf EndIf 'parse rmc data SplitStr (SubStrings(),RMCstring,",",16,5) rmcid = SubStrings(1) rmcutc = SubStrings(2) rmcstatus = SubStrings(3) rmclatitude = SubStrings(4) rmcin_s_ind =SubStrings(5) rmclongitude=SubStrings(6) rmce_w_indicator=SubStrings(7) rmcspeed=SubStrings(8) rmccourse=SubStrings(9) rmcutcdate=SubStrings(10) rmcmagvariation=SubStrings(11) rmcmage_w =Left(SubStrings(12),1) rmcchecksum=Right(RMCstring,2) 'parse gga data SplitStr (SubStrings(),GGAs
GPS16X-HVS GPS Receiver the same as used to communicate with the datalogger. Terminal emulation software is common. Hyperterm is supplied as part of Windows ™ and works. Procomm ™ is another communication software package that works well. Set up the software for the correct serial port, 38.4 kbps, 8 data bits, 1 stop bit and no parity. Flow control should be none. Using the SC110 cable, connect the GPS16X-HVS to the computer serial port. Power up the GPS16X-HVS.
Appendix A. Changing GPS16X-HVS Settings As configured by Campbell Scientific, the GPS16X-HVS will output the NMEA 0183 $GPGGA and $GPRMC data strings once a second, the PPS signal is enabled with a duration of 100 milliseconds and the baud rate is set to 38,400 baud. Special software (SNRSRCFG.EXE) is available from Garmin International for system setup. The GPS16X-HVS user manual available from Garmin International provides technical details beyond the scope of the Campbell Scientific user manual.
Appendix A. Changing GPS16X-HVS Settings NOTE Drivers should be loaded before plugging the A200 into the PC. The A200 drivers can be downloaded, at no charge, from: www.campbellsci.com/downloads. A.1.1.2 Wiring One end of the A200 has a terminal block while the other end has a type B female USB port. The terminal block provides 12V, G, TX, and RX terminals for connecting the GPS16X-HVS (see FIGURE A-1 and TABLE A-1). A data cable, CSI part number 17648, ships with the A200.
Appendix A. Changing GPS16X-HVS Settings A.1.1.3 Powering the Sensor The A200 provides power to the GPS16X-HVS when it is connected to a PC’s USB port. An internal DC/DC converter boosts the 5 Vdc supply from the USB connection to a 12 Vdc output that is required to power the sensor. A.1.1.4 Determining which COM Port the A200 has been Assigned When the A200 is loaded, the A200 is assigned a COM port number. Often, the assigned COM port will be the next port number that is free.
Appendix A.
Appendix B. CR23X Wiring and Programming B.1 CR23X Connections Reconfigure the receiver for 1200 baud using Garmin configuration software available on Garmin’s website. Refer to TABLE B-1 to connect the GPS16XHVS directly to a CR23X datalogger. TABLE B-1.
Appendix B. CR23X Wiring and Programming B.2.2 Reading GPS Data TABLE B-2 is a sample CR23X P15 instruction for reading NMEA $GPGGA data string. The second parameter has two dashes indicating data buffering has been turned off. The CR10X does not have the data buffering option. TABLE B-2. P15 for NMEA $GPGGA Data String Parameter Data Description 1 1 Repetitions 2 66 -- Configuration code for RS232 ASCII data at 38400 baud with data buffering turned off. The -- indicates data buffering turned off.
Appendix B. CR23X Wiring and Programming B.2.2.1 CR23X Example of Instruction 15 (P15) Port Serial I/O (P15) 1: 1 Reps 2: 66 -RS-232 ASCII (decimal delimiter), 38400 Baud 3: 1 Delay (units = 0.01 sec) 4: 5 Control Ports 5: 1 Output Loc [ Bulk ] 6: 0 No. of Locs to Send 7: 42 Termination Character 8: 100 Maximum Characters 9: 80 Time Out Delay (units = 0.01 sec) 10: 1 Loc [ Raw_time1 ] 11: 1 Mult 12: 0 Offset NOTE Communication cable wiring for: CR23X/Example B.2.2.1 — PPS to C8, GPS transmit to C5. B.2.
Appendix B. CR23X Wiring and Programming location by 100. The last step is to use P45 again to take the integer portion of the input location for seconds. The result is hour/minutes in one input location and seconds in another. The latitude and longitude can be parsed with the P15 instruction when decimal delimiter is on. If P15, parameter 2 is 6x, where the x selects the baud rate, every non-numeric value and decimal point will act as a delimiter.
Appendix B. CR23X Wiring and Programming The GPS16X-HVS needs to be reconfigured using the Garmin configuration software from the Garmin website for 1200 baud, 8 data bits, 1 stop bit and no parity (see Appendix A). The GPGGA string should be output. The 1 pulse per second signal should be output with a pulse duration of 100 milliseconds. The code required to read the GPS information and store it to final storage is in Subroutine 98.
Appendix B. CR23X Wiring and Programming B.2.5.1 CR23X Example Program ;{CR23X} ; *Table 1 Program 01: 60 Execution Interval (seconds) ; Instruction to 1: If Flag/Port 1: 11 2: 98 eliminate warning about unused subroutine, not needed (P91) Do if Flag 1 is High Call Subroutine 98 *Table 2 Program 02: 0.
Appendix B. CR23X Wiring and Programming ; Move minutes and seconds right of decimal 7: Z=X*F (P37) 1: 18 X Loc [ Orig_TM ] 2: .
Appendix B. CR23X Wiring and Programming 20: Sample (P70) ^20303 1: 4 Reps 2: 2 Loc [ LatDegMin ] ; Write elevation in meters 21: Sample (P70) ^32246 1: 1 Reps 2: 10 Loc [ Elevation ] ; Set resolution low 22: Resolution (P78) 1: 0 Low Resolution ; Write the number of satellites in view 23: Sample (P70) ^1910 1: 1 Reps 2: 7 Loc [ NumSats ] ; Reset the the GPS quality number 24: Z=F x 10^n (P30) 1: -1 F 2: 00 n, Exponent of 10 3: 6 Z Loc [ Quality ] 25: End (P95) 26: End (P95) End Program B.
Appendix B. CR23X Wiring and Programming seem to move from the proper input location to another input location, P15 is stopping before the entire string has been read. An example is latitude being displayed in the time field, then in the latitude field. P15 works best when P15 quits reading data because the termination character has been read. Using the PPS to trigger subroutine 98 is the best way to start P15 just before the GPS16X-HVS sends the $GPGGA string.
Appendix B.
Appendix C. Using an SDM-SIO4 C.1 SDM-SIO4 Connections An SDM-SIO4 should be used if measuring the GPS16X-HVS with a CR5000 or CR9000X datalogger. An SC110 cable is required to connect the GPS16XHVS to an SDM-SIO4. The SC110 consists of two cables. Use the cable that terminates in a 9-pin male connector (DTE). The stripped and tinned leads of that cable attach to the GPS16X-HVS (see TABLE C-1). TABLE C-1.
Appendix C. Using an SDM-SIO4 '.. 'SDM-Sio4 command codes: Const UnusedParameter = 0000 Const PollForData0001 = 0001 Const SendDataToLgr = 0004 Const Sio4COMSetUpCmd = 2049 Const StartRxFilter = 2054 Const Port2ComCode = 9147 '9=NoHandshaking; 1=1StopBitNoParity; 4=8DataBits; 7=19200Baud Const RxFilt9001 = 9001 'Command parameter for user defined fltst #1. Dim DataPoll,NotUsed '..
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 8108 Garbutt Post Shop QLD 4814 AUSTRALIA www.campbellsci.com.au • info@campbellsci.com.au Campbell Scientific do Brasil Ltda. (CSB) Rua Apinagés, nbr.