Component: GPS (EB056, Generic NMEA) (Wireless): Difference between revisions
Appearance
No edit summary |
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
||
| Line 101: | Line 101: | ||
===CheckBufferOverflow=== | ===CheckBufferOverflow=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 115: | Line 115: | ||
===Initialise=== | ===Initialise=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 129: | Line 129: | ||
===IsDataValid=== | ===IsDataValid=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 143: | Line 143: | ||
===ReadAltitude=== | ===ReadAltitude=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 157: | Line 157: | ||
===ReadCourseOverGround=== | ===ReadCourseOverGround=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 171: | Line 171: | ||
===ReadDilutionOfPrecision=== | ===ReadDilutionOfPrecision=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 185: | Line 185: | ||
===ReadGroundSpeed=== | ===ReadGroundSpeed=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 199: | Line 199: | ||
===ReadHorizontalDilutionOfPrecision=== | ===ReadHorizontalDilutionOfPrecision=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 213: | Line 213: | ||
===ReadLatitude=== | ===ReadLatitude=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 227: | Line 227: | ||
===ReadLongitude=== | ===ReadLongitude=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 241: | Line 241: | ||
===ReadNumberOfSatellites=== | ===ReadNumberOfSatellites=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 255: | Line 255: | ||
===ReadUTCDate=== | ===ReadUTCDate=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 274: | Line 274: | ||
===ReadUTCTime=== | ===ReadUTCTime=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 293: | Line 293: | ||
===ReadVerticalDilutionOfPrecision=== | ===ReadVerticalDilutionOfPrecision=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| Line 308: | Line 308: | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
Revision as of 14:15, 13 July 2026
| Author | Matrix Ltd. |
| Version | 2.1 |
| Category | Wireless |
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.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_GPS.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_GPS.fcfx
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
Macro reference
CheckBufferOverflow
| 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. | |
| Return | |
Initialise
| Initialise | |
| Initialises the UART used to communicate with the GPS module. | |
| Return | |
IsDataValid
| IsDataValid | |
| Returns the state of the incoming data - 0 = NotValid, 1 = Valid 255 = No GPS Data Received. | |
| Return | |
ReadAltitude
| ReadAltitude | |
| Returns the current altitude. Only returns correct data if Log Altitude property is set to yes. | |
| Return | |
ReadCourseOverGround
| ReadCourseOverGround | |
| Returns the current course over ground. Only returns correct data if Log Course Over Ground property is set to yes. | |
| Return | |
ReadDilutionOfPrecision
| ReadDilutionOfPrecision | |
| Returns the current dilution of precision. Only returns correct data if Log Dilution Of Precision property is set to yes. | |
| Return | |
ReadGroundSpeed
| ReadGroundSpeed | |
| Returns the current ground speed. Only returns correct data if Log Ground Speed property is set to yes. | |
| Return | |
ReadHorizontalDilutionOfPrecision
| ReadHorizontalDilutionOfPrecision | |
| Returns the current horizontal dilution of precision. Only returns correct data if Log HDOP property is set to yes. | |
| Return | |
ReadLatitude
| ReadLatitude | |
| Returns the current latitude. Only returns correct data if Log Latitude property is set to yes. | |
| Return | |
ReadLongitude
| ReadLongitude | |
| Returns the current longitude. Only returns correct data if Log Longitude property is set to yes. | |
| Return | |
ReadNumberOfSatellites
| ReadNumberOfSatellites | |
| Returns the current detected number of satellites. Only returns correct data if Log Satellite Count property is set to yes. | |
| Return | |
ReadUTCDate
| ReadUTCDate | |
| Returns a segment of the current UTC Date. Only returns correct data if Log UTC Date property is set to yes. | |
| Unit | |
| Specifies which segment to read - 'd', 'm', 'y' | |
| Return | |
ReadUTCTime
| ReadUTCTime | |
| Returns a segment of the current UTC Time. Only returns correct data if Log UTC Time property is set to yes. | |
| Unit | |
| Specifies which segment to read - 'h', 'm', 's' | |
| Return | |
ReadVerticalDilutionOfPrecision
| ReadVerticalDilutionOfPrecision | |
| Returns the current vertical dilution of precision. Only returns correct data if Log VDOP property is set to yes. | |
| Return | |

