background image

INSTRUCTION MANUAL

Copyright © 200

8

Campbell Scientific (Canada)Corp.

  GPS16-HVS GPS Receiver

May 2008

Summary of Contents for 16-HVS

Page 1: ...INSTRUCTION MANUAL Copyright 2008 Campbell Scientific Canada Corp GPS16 HVS GPS Receiver May 2008 ...

Page 2: ...eglect accidents of nature or shipping damage This warranty is in lieu of all other warranties expressed or implied including warranties of merchantability or fitness for a particular purpose CSC is not liable for special indirect incidental or consequential damages Products may not be returned without prior authorization To obtain a Return Merchandise Authorization RMA contact CAMPBELL SCIENTIFIC...

Page 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 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 CR...

Page 4: ...Receiver Mounting Kit 4 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 1 P15 for NEMA GPGGA Data String A 1 A 2 Filter A 3 D 1 PGRMC Setup Sentence D 2 D 2 PGRMO Output Sentence Enable Disable D 2 D 3 Supported NMEA 0183 Sentences Order and Size D 3 D 4 DGPGGA Globa...

Page 5: ...using 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 GPS16 HVS is a 12 channel GPS receiver that supports FAA Wide Area Augmentation System WAAS or RTCM differential GPS Also supported is the 1 Pulse Per Second PPS timing signal The cable connections provided with the GPS16 HVS do not supp...

Page 6: ...iring the RJ45 Connector with Flying Leads GPS16 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 RJ45 with Flying Leads Part Number L17217 FIGURE 3 CR1000 to GPS16 HVS Using the L17218 Adapter 2 ...

Page 7: ...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 RJ45 to DB9 RS 232 Adapter Pin Color Function NA Red Power in 12 volts NA Black Ground NA Yellow PPS 5 NA GPS power and remote on off ground 3 NA GPS data in 2 NA GPS data out FIGURE 4 RJ45 to DB...

Page 8: ...GPS16 HVS GPS Receiver FIGURE 5 GPS16 HVS Receiver Mounting Kit Part Number C1737 4 ...

Page 9: ...n 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 HDOP 9 w w Antenna Altitude in Meters 10 M M Meters 11 x x Geoidal Separation in Meters 12 M M Meters Geoidal separation is the difference between the WGS 84 earth ellipsoid and mean sea level 13 y y Age of D...

Page 10: ...that both output tables may not be required and are only examples The output intervals of the data tables are also of concern These items must be considered when determining the output data required for individual applications and any potential data storage constraints Finally the use of the PPS line is not addressed for the CR1000 CR3000 CR800 and CR850 dataloggers Typically this is not required ...

Page 11: ... a group of smaller strings see Section 4 2 1 Determine which of the smaller strings to keep and which to convert to floating point number then store the data 4 2 1 SplitStr Use the SplitStr instruction 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 fil...

Page 12: ...val 0 5 sec 10 Sample 1 GPGGA String Sample 1 Time String Sample 1 Latitude String Sample 1 Hemisphere_NS String Sample 1 Longitude String Sample 1 Hemisphere_WE String Sample 1 GPS_Quality String Sample 1 Num_Satellites String Sample 1 HDOP String Sample 1 Altitude String Sample 1 Altitude_units String Sample 1 Geoidal_Sep String Sample 1 Geoidal_units String Sample 1 DGPS_Age String Sample 1 Dif...

Page 13: ... serial cable The computer and serial 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 software package that works well 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 seri...

Page 14: ...ution interval does not matter Otherwise the timing between the GPS16 HVS output and the datalogger read must be considered Generally the execution interval can not be less than 2 seconds when the PPS signal is not used This is discussed further in Section A 1 5 A 1 2 Reading GPS Data Table A 1 is a sample CR23X P15 instruction for reading NMEA GPGGA data string The second parameter has two dashes...

Page 15: ...acters in parameter 8 have been read or the termination character listed in parameter 7 has 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 P15 for CR23X Port Serial I O P15 1 1 Reps 2 61 ASCII RS 232 1200 Baud decimal delimiter 3 1 Delay units 0 01 sec...

Page 16: ...put 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 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 para...

Page 17: ...ing includes the month day and year but is difficult to use A 1 5 Program Discussion Wiring when using RJ45 adapter Function Color Datalogger Connection Power in Blue 12 volts Power ground Orange Ground Power switch Black ground TXD Green C5 PPS Yellow C8 The GPS16 HVS should be setup for 1200 baud 8 data bits 1 stop bit and no parity The GPGGA string should be output The 1 pulse per second signal...

Page 18: ...s for the input locations listed above When an input location is needed use the input location pick list F6 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 02 0 0000 Execution Interval seconds Table 3 Subroutines 1 Beginning of Subroutine P...

Page 19: ...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 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 hours out 9 Z X Y P35 1 19 X Loc Int1 2 20 Y Loc Hours 3 19 Z Loc Int1 Move decimal left 2 places 10 Z X F P37 1 19 X Lo...

Page 20: ...96 1 1 Final Storage Area 1 2 101 Array ID Write datalogger based 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 Resolution P78 1 1 High Resolution 20 Sample P70 20303 1 4 Reps 2 2 Loc LatDegMin Write elevation in meters 21 Sample P70 32246 1 1 Reps...

Page 21: ...hes The P15 time out needs to be long enough to pick up the string The string is output once a second If P15 starts to execute while the GPS16 HVS is sending the string P15 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 time out will force the datalog...

Page 22: ...ick up valid data until the GPS16 HVS has a valid GPS fix except during a GPS16 HVS warm start where time can be read before position is known Don t spend a lot of time trouble shooting a phantom problem just because the GPS receiver does not have a valid GPS fix ...

Page 23: ...ld13 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 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...

Page 24: ...2 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 UnusedParameter NoValues UnityMultiplie r NoOffset Delay 20 mSec ____________________________ Scan 50 mSec 0 0 Main Scan SIO4 DataPoll OneRep Sio4Address0 Port2 PollForData0001 UnusedParameter UnusedP...

Page 25: ...stics 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 continuously tracks and uses up to 12 satellites 11 if PPS is active Acquisition Times Approximate Reacquisition Less than 2 seconds Warm 15 seconds all data known Cold 45 Seconds initial position time and almanac kno...

Page 26: ...LL 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 and RTCM Data age Geometry and error estimates NMEA 0183 Inputs Initial position data and time not required Earth datum and differential mode configuration command PPS Eanble GPS satellite almanac Con...

Page 27: ...ut 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 and CR23X dataloggers can support baud rates above 1200 which can be beneficial in some applications The NMEA 0183 GPVTG data sentence gives ground speed and direction which may be required for some appl...

Page 28: ...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 disable specified sentence 1 enable specified sentence 2 disable all output sentence except PSLIB 3 enable all output sentences except GPALM 4 restore factory default output sentences PGRMO Notes 1 If the ta...

Page 29: ...ardless 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 Data GPGGA 1 2 3 4 5 6 7 8 9 M 10 M 11 12 hhCRLF 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 hemisphe...

Page 30: ...Appendix D GPS16 HVS Setups D 4 This is a blank page ...

Reviews: