Difference between revisions of "Component: GPS (EB056, Generic NMEA) (Wireless)"
From Flowcode Help
Jump to navigationJump to searchLine 16: | Line 16: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 24: | Line 26: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 56: | Line 60: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 82: | Line 86: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 108: | Line 112: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 152: | Line 156: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 165: | Line 169: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 178: | Line 182: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 209: | Line 213: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 222: | Line 226: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} |
Revision as of 13:28, 17 November 2021
Author | Matrix Ltd. |
Version | 2.1 |
Category | Wireless |
Contents
GPS (EB056, Generic NMEA) component
Component designed to process incoming NMEA style GPS data and convert into meaningful values such as longitude, lattitude, ground speed, UTC date and time. Also available in the form of the EB056 GPS E-block.
Detailed description
No detailed description exists yet for this component
Examples
GPS Example File GPS Example Example should show the Latitude generated by the GPS injector as well as the system time in simulation or UTC time on hardware.
Example data provided by the GPS NMEA injector component
GPS tracking application using an Arduino and an SD card reader. GPS Tracker
Downloadable macro reference
ReadGroundSpeed | |
Returns the current ground speed. Only returns correct data if Log Ground Speed property is set to yes. | |
- FLOAT | Return |
ReadNumberOfSatellites | |
Returns the current detected number of satellites. Only returns correct data if Log Satellite Count property is set to yes. | |
- BYTE | Return |
ReadDilutionOfPrecision | |
Returns the current dilution of precision. Only returns correct data if Log Dilution Of Precision property is set to yes. | |
- FLOAT | Return |
CheckBufferOverflow | |
Returns the state of the buffer - 0 = OK, 1 = BufferTooShort, 2 = ItemNotFound. Only returns correct data if Log Buffer Overflow Property is set to Yes. | |
- BYTE | Return |
ReadLongitude | |
Returns the current longitude. Only returns correct data if Log Longitude property is set to yes. | |
- FLOAT | Return |
ReadUTCTime | |
Returns a segment of the current UTC Time. Only returns correct data if Log UTC Time property is set to yes. | |
- BYTE | Unit |
Specifies which segment to read - 'h', 'm', 's' | |
- BYTE | Return |
IsDataValid | |
Returns the state of the incoming data - 0 = NotValid, 1 = Valid 255 = No GPS Data Received. | |
- BYTE | Return |
ReadHorizontalDilutionOfPrecision | |
Returns the current horizontal dilution of precision. Only returns correct data if Log HDOP property is set to yes. | |
- FLOAT | Return |
ReadAltitude | |
Returns the current altitude. Only returns correct data if Log Altitude property is set to yes. | |
- FLOAT | Return |
ReadCourseOverGround | |
Returns the current course over ground. Only returns correct data if Log Course Over Ground property is set to yes. | |
- FLOAT | Return |
ReadUTCDate | |
Returns a segment of the current UTC Date. Only returns correct data if Log UTC Date property is set to yes. | |
- BYTE | Unit |
Specifies which segment to read - 'd', 'm', 'y' | |
- BYTE | Return |
ReadVerticalDilutionOfPrecision | |
Returns the current vertical dilution of precision. Only returns correct data if Log VDOP property is set to yes. | |
- FLOAT | Return |
ReadLatitude | |
Returns the current latitude. Only returns correct data if Log Latitude property is set to yes. | |
- FLOAT | Return |
Initialise | |
Initialises the UART used to communicate with the GPS module. | |
- VOID | Return |