Garmin 16-HVS GPS Receiver Revision: 1/07 C o p y r i g h t © 2 0 0 3 - 2 0 0 7 C a m p b e l l S c i e n t i f i c , I n c .
Warranty and Assistance The GARMIN 16-HVS GPS RECEIVER is warranted by CAMPBELL SCIENTIFIC, INC. to be free from defects in materials and workmanship under normal use and service for twelve (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.
Garmin 16-HVS GPS Receiver 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. Overview.......................................................................1 2. Wiring............................................................................1 3. GPS Data ......................................................................4 4. CRBasic Programming....................................
Garmin 16-HVS GPS Receiver Table of Contents Figures 1. 2. 3. 4. Garmin 16-HVS GPS Receiver, Part Number 17215 ................................ 1 RJ45 with Flying Leads, Part Number 17217............................................ 2 CR1000 to GPS16-HVS Using the 17217 Adapter ................................... 2 RJ45 to DB9 Serial Adapter, Part Number 17218 ..................................... 3 Tables 2-1. Wiring the RJ45 Connector with Flying Leads ...................................... 2 2-2.
Garmin 16-HVS GPS Receiver FIGURE 1. Garmin 16-HVS GPS Receiver, Part Number 17215 1. Overview 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 If the Garmin16-HVS is to be connected to a computer for setups, an RJ45 to DB9 adapter is needed. TABLE 2-1. Wiring the RJ45 Connector with Flying Leads GPS-Garmin16-HVS Blue Orange Black Green Yellow Datalogger Connection 12 volts Ground Ground Data in None Function Power Power Ground Remote on/off RS232 TX out of GPS 1 Pulse Per Second FIGURE 2. RJ45 with Flying Leads, Part Number 17217 FIGURE 3.
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 NEMA $GPGGA time and position string. It is possible to configure the Garmin16-HVS to output other NEMA strings including the $GPVTG track made good and ground speed string. See Appendix D for details. Sample NEMA $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.1.4 SerialClose The SerialClose instruction is used to close the serial port. Once closed, the SerialOpen command must be used before more data can be read. 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.
Garmin 16-HVS GPS Receiver alias ParseStr(11) = ALTUNIT alias ParseStr(12) = GIODAL alias ParseStr(13) = GEOUNIT alias ParseStr(14) = AGE alias ParseStr(15) = DIFFREF alias ParseStr(16) = ASTERISK alias ParseStr(17) = CHCKSUM alias ParseStr(18) = CRLF ' Store the ParseStrd elements of the $GPGGA string as ' short strings.
Garmin 16-HVS GPS Receiver 5. Troubleshooting Testing and evaluation of serial communications is best done by reducing the whole system to small manageable systems. Usually some portions of the whole system are working. The first steps involve finding what is working. During this process you may find parts of the system that are not working or mistakes that can be easily corrected. Fix each subsystem before testing others. 5.
Appendix A. CR23X/CR10X Programs A.1 Programming Program instruction 15 (P15) is used to read the NEMA $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 36 71 80 71 71 65 Character $ G P G G A A.1.
Appendix A. CR23X/CR10X Programs GPS fix. A better approach is to overwrite the GPS quality location with zero before executing P15. Use P30 to overwrite one input location. If the GPS time is used to set the datalogger clock, the GPS time must be parsed into three input locations: Hour, Minutes, Seconds. P114 is used to set the datalogger clock to match values in input locations. Some time will have passed between the GPS fix and when the program table reaches the P114 instruction.
Appendix A. CR23X/CR10X Programs Additional input locations used in the example program are: 18) Orig_TM, Copy of original time 19) Int1, Place holder for math 20) Hours, formatted hours 21) Minutes, formatted minutes 22) Seconds, formatted seconds 23) remainder, place holder for math Before writing any datalogger code, it’s best to enter all the input locations needed. In Edlog, open the input location editor (F5) and enter names for the input locations listed above.
Appendix A. CR23X/CR10X Programs ; Test for valid GPS fix and string read 4: If (X<=>F) (P89) 1: 6 X Loc [ Quality ] 2: 3 >= 3: 1 F 4: 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.45 F 3: 18 Z Loc [ Orig_TM ] ; Move minutes and seconds right of decimal 7: Z=X*F (P37) 1: 18 X Loc [ Orig_TM ] 2: .
Appendix A.
Appendix A. CR23X/CR10X Programs 25: End (P95) 26: End (P95) End Program This is a blank page. A.1.6 Troubleshooting The first step is to verify that it really does not work. With the Garmin16-HVS running and the datalogger program running, look at the input location for GPS Quality Number. This location will show a one when the Garmin16-HVS output is picked up by the datalogger. The input location for parsed time and position are good locations to check.
Appendix B. CR9000(X) Program Example 'NEMAGGA_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 5. $PGRMO,,G will cause the COM 1 port to change to GARMIN data Transfer format for the duration of the power cycle. The GARMIN mode is required for GPS 16/17 series product software updates. TABLE D-3.
Appendix D. Garmin16-HVS Setups This is a blank page.
This is a blank page.
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.