Campbell GPS16X-HVS Instruction Manual

Gps receiver garmin
Hide thumbs Also See for GPS16X-HVS:

Advertisement

GPS16X-HVS GPS Receiver
Revision: 7/10
C o p y r i g h t
©
2 0 0 3 - 2 0 1 0
C a m p b e l l
S c i e n t i f i c ,
I n c .

Advertisement

Table of Contents
loading

Summary of Contents for Campbell GPS16X-HVS

  • Page 1 GPS16X-HVS GPS Receiver Revision: 7/10 C o p y r i g h t © 2 0 0 3 - 2 0 1 0 C a m p b e l l S c i e n t i f i c ,...
  • Page 2 (12) months from date of shipment unless specified otherwise. Batteries have no warranty. Campbell Scientific, Inc.'s obligation under this warranty is limited to repairing or replacing (at Campbell Scientific, Inc.'s option) defective products. The customer shall assume all costs of removing, reinstalling, and shipping defective products to Campbell Scientific, Inc.
  • Page 3: Table Of Contents

    5.3 Example Program Using Serial Instruction ..........10 6. Troubleshooting ............12 6.1 GPS Setup and Function.................12 Appendices A. Changing GPS16X-HVS Settings ......A-1 A.1 Computer Connections ............... A-1 A.2 NMEA Commands for System Setup ..........A-2 B. CR23X Wiring and Programming......B-1 B.1 CR23X Connections ................1...
  • Page 4 C. Using an SDM-SIO4 ..........C-1 C.1 SDM-SIO4 Connections ..............C-1 C.2 CR9000X Example Program............... C-1 Figures 1. The GPS16X-HVS terminates in pigtails for direct connection to our dataloggers..................1 2. CR1000 to GPS16X-HVS Connection ............4 Tables 3-1. Datalogger Wiring .................. 4 4-1.
  • Page 5: Overview

    GPS16X-HVS. Information regarding the CR23X, CR5000, and CR9000(X) dataloggers is included in Appendix B and C. The GPS16X-HVS includes the GPS receiver and antenna in the same housing with one cable for the power supply and communications. The GPS antenna must have a clear view of the sky.
  • Page 6: Specifications

    GPS16X-HVS GPS Receiver 2. Specifications 2.1 Replacement Parts CSI part number Description 17212 GPS16X-HVS magnetic mount 2.2 Specifications Physical Color: Black with white logos Size: 3.39” (86 mm) diameter, 1.65” (42 mm) high Weight: 6.4 oz. (181 g) without cable, 11.7 oz. (332 g) with 5 meter...
  • Page 7 GPS16X-HVS GPS Receiver DGPS (USCG/RTCM) Position: 3-5 meters, 95% typical Velocity: 0.1 knot RMS steady state DGPS (WAAS) Position: Less than 3 meters Velocity: 0.1 knot RMS steady state PPS Time: ±1 microsecond at rising edge of PPS pulse (subject to...
  • Page 8: Wiring

    CR23X. Our CR5000 and CR9000X connect to the receiver via the SC110 and an SDM-SIO4 (see Appendix C). If the GPS16X-HVS is to be connected to a computer to change the default settings, an SC110 cable is needed (see Appendix A).
  • Page 9: 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.
  • Page 10: Gprmc Sentence (Position And Time)

    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...
  • Page 11: Crbasic Programming

    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.
  • Page 12: Example Program Using Gps Instruction

    The following wiring and short program provide an example of using the GPS instruction with the Garmin GPS16X-HVS. 'Program the GPS16X-HVS to use 38.4 kbaud, no parity, 8 data bits, and 1 stop bit '*** Wiring *** GPS16X-HVS pulse per second (gray)
  • Page 13 GPS16X-HVS GPS Receiver PipeLineMode Const LOCAL_TIME_OFFSET = -6 'Local time offset relative to UTC time Dim nmea_sentence(2) As String * 90 Public gps_data(15) Alias gps_data(1) = latitude_a 'Degrees latitude (+ = East; - = West) Alias gps_data(2) = latitude_b 'Minutes latitude Alias gps_data(3) = longitude_a 'Degress longitude (+ = East;...
  • Page 14: Example Program Using Serial Instruction

    GPS16X-HVS GPS Receiver 5.3 Example Program Using Serial Instruction Serial programming allows the retrieval of all values of GPRMC and GPGGA values. The GPS instruction is a subset of the values that are available. 'CR1000 Series Datalogger Public rawdata As String * 500...
  • Page 15 GPS16X-HVS GPS Receiver Sample (1,ggalongitude,String) Sample (1,ggae_w_ind,String) Sample (1,ggapositionfix,String) Sample (1,gganumsatellites,String) Sample (1,ggahdop,String) Sample (1,ggaaltitude,String) Sample (1,ggaaltutudeunits,String) Sample (1,ggageoidsep,String) Sample (1,ggageoidunits,String) Sample (1,ggachecksum,String) EndTable 'Main Program BeginProg Scan (1,Sec,0,0) SerialOpen (Com4,38400,0,0,500) SerialInBlock (Com4,rawdata,500) 'parse rmc data rmcid=Mid (rawdata,1,6) rmcutc=Mid (rawdata,8,6)
  • Page 16: Troubleshooting

    6.1 GPS Setup and Function Test the GPS16X-HVS for proper operation including the baud rate and output string. Use a computer, terminal emulator software, a serial port (RS-232), and a 9-pin to pigtail cable (SC110/sockets). The computer and serial port can be the same as used to communicate with the datalogger.
  • Page 17: Changing Gps16X-Hvs Settings

    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 80 milliseconds and the baud rate is set to 38,400 baud.
  • Page 18: Nmea Commands For System Setup

    Ground A.2 NMEA Commands for System Setup Received NMEA strings are commands to the GPS16X-HVS which change some operating parameter. Null fields in the configuration sentence indicate no change. All sentences are terminated with the carriage return and line feed characters (CRLF).
  • Page 19 Appendix A. Changing GPS16X-HVS Settings TABLE A-3. PGRMO Output Sentence Enable/Disable $PGRMO,1,2,*hhCRLF Target Sentence description (e.g., GPVTG) Target Sentence Mode, where: 0 = disable specified sentence 1 = enable specified sentence 2 = disable all output sentence (except PSLIB) 3 = enable all output sentences (except GPALM)
  • Page 20: Gpgga,1,2,3,4,5,6,7,8,9,M,10,M,11,12*Hhcrlf

    Appendix A. Changing GPS16X-HVS Settings In Table A-4 default Output indicates NMEA sentences that are GPS16X-HVS defaults. CSI turns off all output except the GPGGA sentence. The time required to output a NMEA sentence can be determined by multiplying the maximum number of characters by 10 then dividing the result by the baud rate.
  • Page 21: Cr23X Wiring And Programming

    When the PPS signal is used to trigger the read data function (P15), the program table execution interval does not matter. Otherwise the timing between the GPS16X-HVS output and the datalogger read must be considered. Generally the execution interval can not be less than 2 seconds when the PPS...
  • Page 22: Reading Gps Data

    Control ports. Two digit format AB. A is for handshaking and set to zero. B in this example is control port 5 (datalogger RCV). GPS16X-HVS communication cable: GPS transmit to control port 5 in this example Input location where first character to transmit is stored.
  • Page 23: Cr23X Example Of Instruction 15 (P15)

    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...
  • Page 24: Program Discussion

    Appendix B. CR23X Wiring and Programming integer portion (hours/minutes) to a new input location, then use P44 to write the fractional portion to another input location (seconds) and multiply that location by 100. The last step is to use P45 again to take the integer portion of the input location for seconds.
  • Page 25 Subroutine 98. Subroutine 98 is interrupt driven and triggered when a rising edge is detected on Control port 8. The GPS16X-HVS has a 1 PPS signal which is wired to control port 8. The transmit data line of serial port 1 on the GPS16X-HVS is wired to control port 5.
  • Page 26: Cr23X Example Program

    Appendix B. CR23X Wiring and Programming B.2.5.1 CR23X Example Program ;{CR23X} *Table 1 Program 01: 60 Execution Interval (seconds) ; Instruction to eliminate warning about unused subroutine, not needed 1: If Flag/Port (P91) 1: 11 Do if Flag 1 is High 2: 98 Call Subroutine 98 *Table 2 Program...
  • Page 27 Appendix B. CR23X Wiring and Programming ; Make a copy of time 5: Z=X (P31) 1: 1 X Loc [ Raw_Time ] 2: 18 Z Loc [ Orig_TM ] ; Add 0.45 to time stamp to eliminate complications with ; floating point math, P44, and P45 6: Z=X+F (P34) 1: 18 X Loc [ Orig_TM ]...
  • Page 28 Appendix B. CR23X Wiring and Programming ; Write data to final storage every time there is ; a valid read of GPS data 15: Do (P86) 1: 10 Set Output Flag High (Flag 0) 16: Set Active Storage Area (P80)^18796 1: 1 Final Storage Area 1 2: 101...
  • Page 29: Troubleshooting

    2 cycles of NMEA output may help. Otherwise the SDM-SIO4 may be required or the datalogger program will need to be simplified. The datalogger will not pick up valid data until the GPS16X-HVS has a valid GPS fix, except during a GPS16X-HVS warm start where time can be read before position is known.
  • Page 30 Appendix B. CR23X Wiring and Programming B-10...
  • Page 31: Using An Sdm-Sio4

    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 GPS16X- HVS to an SDM-SIO4. The SC110 consists of two cables. Use the cable that terminates in a 9-pin male connector (DTE).
  • Page 32 Appendix C. Using an SDM-SIO4 Const ElevenGGAValues=11 Const UnityMultiplier=1.0 Const NoOffset=0.0 Const Sio4Address0=0 Const Port2=2 '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.
  • Page 33 Appendix C. Using an SDM-SIO4 Delay(10,mSec) SDMSIO4(RawGGAData(),OneRep,Sio4Address0,Port2,SendDataToLgr,UnusedParameter,UnusedParameter,Ele venGGAValues,UnityMultiplier,NoOffset) Delay(10,mSec) CallTable(GPSData) EndIf NextScan '_______ EndProg...
  • Page 34 Appendix C. Using an SDM-SIO4...
  • Page 36 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)

Table of Contents