INSTRUCTION MANUAL Garmin 16-HVS GPS Receiver Revision: 2/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 2. Wiring ........................................................................... 1 3. GPS Data ..................................................................... 4 4. CRBasic Programming ............................................... 5 4.1 Read GPS Data.
Table of Contents 2-2. 2-3. CR1000 to GPS16-HVS Using the 17218 Adapter ............................. 2 RJ45 to DB9 Serial Adapter, Part Number 17218 ............................... 3 2-1. 2-2. 2-3. 3-1. A-1. A-2. D-1. Wiring the RJ45 Connector with Flying Leads ................................... 2 Wiring without the RJ45 Connector (Garmin Wiring) ........................ 3 RJ45 to DB9 RS-232 Adapter ............................................................. 3 NMEA $GPGGA String Definition ..........
Garmin 16-HVS GPS Receiver 1. Overview FIGURE 1-1. Garmin 16-HVS GPS Receiver, Part Number 17215 The Garmin16-HVS is a complete GPS receiver manufactured by Garmin International, Inc. The Garmin16-HVS has been configured by Campbell Scientific, Inc. (CSI) to work with CSI dataloggers. The CR1000, CR3000, CR800, and CR850 dataloggers use serial input instructions and string handling functions to read, parse and store GPS data.
Garmin 16-HVS GPS Receiver TABLE 2-1. Wiring the RJ45 Connector with Flying Leads GPS-Garmin16-HVS Datalogger Connection Function Blue 12 volts Power Orange Ground Power Ground Black Ground Remote on/off Green Data in RS232 TX out of GPS Yellow None 1 Pulse Per Second FIGURE 2-1. RJ45 with Flying Leads, Part Number 17217 FIGURE 2-2.
Garmin 16-HVS GPS Receiver TABLE 2-2. Wiring without the RJ45 Connector (Garmin Wiring) GPS-Garmin16-HVS Pin Color Function 1 Red Power in, 6.0 to 40 volts DC 2 Black Power ground 3 Yellow Remote power on/off switch, ground for on, float for off 4 Blue Port 1 Data in, RS232 or TTL levels OK 5 White Port 1 Data out, RS232 Levels 6 Gray PPS 7 Green Port 2 Data in, RS232 or TTL levels, DGPS input 8 Violet Port 2, Data out, RS232, reserved for future use TABLE 2-3.
Garmin 16-HVS GPS Receiver 3. GPS Data The Garmin16-HVS has several data formats available. The Garmin16-HVS is configured to output the NMEA $GPGGA time and position string. It is possible to configure the Garmin16-HVS to output other NMEA strings including the $GPVTG track made good and ground speed string. See Appendix D for details. 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 3-1.
Garmin 16-HVS GPS Receiver 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.9,00016,M,-016,M,,*6E If the almanac and ephemeris data are not stored in the non-volatile data, GPS acquisition time is less than 5 minutes. If only the ephemeris data are unknown, acquisition time is less than 45 seconds.
Garmin 16-HVS GPS Receiver 4.2 Parsing and Data Storage Options The CR1000, CR3000, CR800, and CR850 can store data as a string or as a number. Every time the datalogger stores a string, the size of the string determines the number of bytes used. If the string was declared to be 101 bytes long, every time the string is written to memory, 101 bytes are used. Depending on the application, the entire GPGGA string can be stored to memory or just specific parts.
Garmin 16-HVS GPS Receiver ' Store the ParseStrd elements of the $GPGGA string as ' short strings.
Garmin 16-HVS GPS Receiver Set up the software for the correct serial port, 1200 baud, 8 data bits, 1 stop bit and no parity. Flow control should be off. Using the serial cable, connect the Garmin16-HVS to the computer serial port. Power up the Garmin16-HVS. The GPS antenna should have a clear view of the sky. Don’t expect the GPS antenna to work indoors. The $GPGGA string should be displayed once a second. Make sure the $GPGGA string is showing a valid GPS fix.
Appendix A. CR23X/CR10X Programs A.1 Programming Program instruction 15 (P15) is used to read the NMEA $GPGGA string of time and position data. Each iteration of P15 can either read the numeric fields or read everything. When reading the numeric fields, such as time, latitude, longitude and elevation, P15 requires non-numeric delimiters between data points. The only available format of GPS data with delimiters is the NMEA 0183 format.
Appendix A. CR23X/CR10X Programs P15 parameters 4, 5, and 10 are somewhat variable. When using a CR23X, parameter 4 can be set to 05, 06 or 07 depending on what control ports are used. A CR10X can use control ports 1 through 6. Wiring of the communication cable depends on the selection for parameter 4. With a CR23X the GPS transmit wire is connected to the control port selected in parameter 4.
Appendix A. CR23X/CR10X Programs A.1.3 Filters Filters can be used to make sure P15 reads the correct data string. Filters also ensure P15 starts to read the string at the beginning of the string. To use a filter, follow P15 with instruction P63 (extended parameters). P63 is used to define the filter. Enter the desired filter in P63. TABLE A-2. Filter ASCII Equivalent Character 36 $ 71 G 80 P 71 G 71 G 65 A A.1.
Appendix A. CR23X/CR10X Programs the first input location is written to. The GPS quality number will be unchanged. If P15 fails to read the GPS data, the value displayed in the first input location will be 99999. The datalogger actually stores FFFFFFFFh, a very large number. The time field includes six digits, which can be greater than 99999. This limits the usefulness of the time field as a test for a valid GPS fix. A better approach is to overwrite the GPS quality location with zero before executing P15.
Appendix A.
Appendix A. CR23X/CR10X Programs 6: 7: 8: ; Test 4: If 1: 2: 3: 4: 65 0 0 Option ;A Option Option for valid GPS fix and string read (X<=>F) (P89) 6 X Loc [ Quality ] 3 >= 1 F 30 Then Do ; 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 ] 2: 0.
Appendix A.
Appendix A. CR23X/CR10X Programs If the Garmin16-HVS data is not correct every program table execution but correct sometimes, check the P15 time-out. It may need a longer time-out. Also check the P15 maximum number of characters to receive, usually 100 is enough. Check the P15 termination character; it should be set to 42 (*). The termination character should also work if set to 13 or 10. Also check the buffering and filter. Buffering should be turned off. On a CR23X, index parameter 2.
Appendix B. CR9000(X) Program Example 'NMEAGGA_Sio4_030805MGW1.CR9 'This program acquires NMEA GGA data from a GPS receiver using the SDM-SIO4.
Appendix B. CR9000(X) Program Example Alias RawGGAData(6)=Longit_Frac : Units Longit_Int=Deg Alias RawGGAData(7)=LongH_EW Alias RawGGAData(8)=GPSQuality Alias RawGGAData(9)=Satilites Alias RawGGAData(10)=HDOP Alias RawGGAData(11)=Altitude : Units Altitude=Meters '_ DataTable(GPSData,True,-1) DataInterval(0,0,0,0) Sample(ElevenGGAValues,RawGGAData(),IEEE4) EndTable '_________ BeginProg '..........................................................
Appendix C. Specifications C.1 Replacement Parts CSI part number 17215 17212 17217 17218 Description Garmin16-HVS GPS receiver w/antenna, 15 ft cable Garmin16-HVS magnetic mount Garmin16-HVS RJ45 interface cable w/pigtails, 8 inch Garmin16-HVS RJ45 to DB9 RS232 adapter w/8 inch power leads C.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.
Appendix C. Specifications 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 Selective Availability) Dynamics: 999 knots velocity (limited above 60,000 feet, 6g dynamics) Interfaces True RS232 output, asynchronous serial input compatible with RS-232 or TTL voltage levels, RS-232 polarity.
Appendix D. Garmin16-HVS Setups As configured by Campbell Scientific, the Garmin16-HVS will output the NMEA 0183 $GPGGA data string once a second, the PPS signal is enabled with a duration of 80 milliseconds and the baud rate is set to 1200 baud. Special software (SNRSRCFG.EXE) is available from Garmin International for system setup. The Garmin16-HVS user manual available from Garmin International provides technical details beyond the scope of the Campbell Scientific user manual.
Appendix D. Garmin16-HVS Setups TABLE D-1.
Appendix D. Garmin16-HVS Setups 2. If the target sentence mode is 0 (disable) or 1 (enable), the target sentence description field must be an identifier for one of the sentences that can be output by the GPS sensor. 3. If either the target sentence mode field or the target sentence description field is not valid, the PGRMO sentence will have no effect. 4. $PGRMO,GPALM,1 will cause the GPS sensor to transmit all stored almanac information.
Appendix D. Garmin16-HVS Setups TABLE D-4. $GPGGA Global Positioning System Fix Data $GPGGA,1,2,3,4,5,6,7,8,9,M,10,M,11,12*hhCRLF D-4 <1> UTC time of position fix, hhmmss format <2> Latitude, ddmm.mmmm format (leading zeros will be transmitted) (5 digits of precision on GPS 16A) <3> Latitude hemisphere, N or S <4> Longitude, ddmm.
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.