background image

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

................................................5 

4.1  Read GPS Data .........................................................................................5 

4.1.1  SerialOpen.........................................................................................5 
4.1.2  SerialIn ..............................................................................................5 
4.1.3  SerialFlush.........................................................................................5 
4.1.4  SerialClose ........................................................................................6 

4.2  Parsing and Data Storage Options ............................................................6 

4.2.1  SplitStr...............................................................................................6 
4.2.2  Converting Strings to Floating Point Numbers .................................6 

5.  Troubleshooting

..........................................................8 

5.1  GPS Setup and Function...........................................................................8 

A.  CR23X/CR10X Programs

........................................ A-1 

A.1  Programming ...................................................................................... A-1 

A.1.1  Program Execution Interval......................................................... A-1 
A.1.2  Reading GPS Data....................................................................... A-1 
A.1.3  Filters........................................................................................... A-3 
A.1.4  Managing the Data ...................................................................... A-3 
A.1.5  Program Discussion..................................................................... A-4 
A.1.6  Troubleshooting .......................................................................... A-8 

B.  CR9000(X) Program Example

................................. B-1 

C.  Specifications

.......................................................... C-1 

C.1  Replacement Parts................................................................................C-1 
C.2  Specifications.......................................................................................C-1 

D.  Garmin 16-HVS Setups

........................................... D-1 

Содержание GPS 16-HVS

Страница 1: ...Garmin 16 HVS GPS Receiver Revision 2 08 C o p y r i g h t 2 0 0 3 2 0 0 8 C a m p b e l l S c i e n t i f i c I n c...

Страница 2: ...ther warranties expressed or implied including warranties of merchantability or fitness for a particular purpose CAMPBELL SCIENTIFIC INC is not liable for special indirect incidental or consequential...

Страница 3: ...ush 5 4 1 4 SerialClose 6 4 2 Parsing and Data Storage Options 6 4 2 1 SplitStr 6 4 2 2 Converting Strings to Floating Point Numbers 6 5 Troubleshooting 8 5 1 GPS Setup and Function 8 A CR23X CR10X Pr...

Страница 4: ...art Number 17218 3 Tables 2 1 Wiring the RJ45 Connector with Flying Leads 2 2 2 Wiring without the RJ45 Connector Garmin Wiring 3 2 3 RJ45 to DB9 RS 232 Adapter 3 3 1 NEMA GPGGA String Definition 4 A...

Страница 5: ...ame housing with one cable for the power supply and communications The GPS antenna must have a clear view of the sky Generally the GPS antenna will not work indoors The Garmin16 HVS is a 12 channel GP...

Страница 6: ...iring 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 Y...

Страница 7: ...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...

Страница 8: ...nn nnn Longitude Degrees minutes thousandths of minutes 5 b E East or W West 6 t GPS Quality Indicator 0 No GPS 1 GPS 2 DGPS 7 uu Number of Satellites in Use 8 v v Horizontal Dilution of Precision HDO...

Страница 9: ...nging the GPS receiver setups including using higher baud rates which the CR1000 CR3000 CR800 and CR850 support 4 1 Read GPS Data 4 1 1 SerialOpen SerialOpen is used to open the appropriate serial por...

Страница 10: ...n to parse the GPGGA string into an array of strings Declare an array of 18 strings of 15 characters Example ParseStr 18 as string 15 The SplitStr instruction uses the result string search string filt...

Страница 11: ...MIEW STRING Sample 1 QUAL STRING Sample 1 NUMSATS STRING Sample 1 HDP STRING Sample 1 ALTDE STRING Sample 1 ALTUNIT STRING Sample 1 GIODAL STRING Sample 1 GEOUNIT STRING Sample 1 AGE STRING Sample 1 D...

Страница 12: ...ial port can be the same as used to communicate with the datalogger Terminal emulation software is pretty common Hyperterm is supplied as part of Windows and works Procomm is another communication sof...

Страница 13: ...read must be considered Generally the execution interval can not be less than 2 seconds when the PPS signal is not used A 1 2 Reading GPS Data Table A 1 is a sample CR23X P15 instruction for reading...

Страница 14: ...as been read P15 parameter 10 is the first input location you wish to store GPS data in Fifteen sequential input locations will be used to store time and position Example A 1 Program Instruction 15 P1...

Страница 15: ...e 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 The Degrees...

Страница 16: ...put with a pulse duration of 80 milliseconds The code required to read the GPS information and store it to final storage is in Subroutine 98 Subroutine 98 is interrupt driven and triggered when a risi...

Страница 17: ...bout 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 02 0 0000 Execution Interval seconds Table 3 Subroutines 1 Beginning of Subroutin...

Страница 18: ...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 0001 F 3 19 Z Loc Int1 Pluck off hours 8 Z INT X P45 1 19 X Loc Int1 2 20 Z Loc Hours Subtract...

Страница 19: ...time stamp 17 Real Time P77 27570 1 0011 Hour Minute Seconds midnight 0000 Write GPS based time stamp 18 Sample P70 6080 1 3 Reps 2 20 Loc Hours Set resolution to high for latitude and Longitude 19 R...

Страница 20: ...must wait until the string is sent again plus the amount of time it takes to send the string It shouldn t need more than 1 5 seconds P15 time out is in units of 0 01 seconds 100 1 second A longer tim...

Страница 21: ...d13 Age of differential GPS data GGA Field14 Differential reference station 2 SIO4 programming fltst 1 t GPGGA xFt Dt Dt b1t Dt Dt b1t Ft Ft Ft FX _ Const OneRep 1 Const NoValues 0 Const OneValue 1 Co...

Страница 22: ...Sio4COMSetUpCmd Port2ComCode UnusedParameter NoValues U nityMultiplier NoOffset Delay 100 mSec Start GGA data filter on SDM Sio4 port SIO4 NotUsed OneRep Sio4Address0 Port2 StartRxFilter RxFilt9001 U...

Страница 23: ...l Characteristics Input Voltage 6 0 Vdc to 40 Vdc unregulated Current 65 mA 12 Vdc GPS Receiver Sensitivity 165 dbW minimum GPS Performance Receiver WAAS Enabled 12 parallel channel GPS receiver conti...

Страница 24: ...L GPGSA GPGSV GPRMC GPVTG Garmin proprietary sentences PGRMB PGRME PGRMF PGRMM PGRMT PGRMV NMEA 0183 Output Position velocity and time Receiver and satellite status Differential Reference Station ID a...

Страница 25: ...output Data off DGPS Mode WAAS only Differential mode Automatic Earth Datum Index NGS 84 Selected Sentences GPGGA Common changes would be baud rate and selected sentences The CR1000 CR3000 CR800 CR850...

Страница 26: ...effect on the next power cycle or an external reset event TABLE D 2 PGRMO Output Sentence Enable Disable PGRMO 1 2 hhCRLF 1 Target Sentence description e g GPVTG 2 Target Sentence Mode where 0 disabl...

Страница 27: ...egardless of the baud rate the sentences are reference to the PPS signal immediately preceding the GPRMC sentence or whichever sentence is output first TABLE D 4 GPGGA Global Positioning System Fix Da...

Страница 28: ...Appendix D Garmin16 HVS Setups D 4 This is a blank page...

Страница 29: ...This is a blank page...

Страница 30: ...L www campbellsci com br suporte campbellsci com br Campbell Scientific Canada Corp CSC 11564 149th Street NW Edmonton Alberta T5M 1W7 CANADA www campbellsci ca dataloggers campbellsci ca Campbell Sci...

Отзывы: