-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec07426
commit d6a0678
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+3.71 MB
Docs/u-blox 6 Receiver Description Including Protocol Specification.pdf
Binary file not shown.
Binary file added
BIN
+2.68 MB
Docs/u-blox 7 Receiver Description Including Protocol Specification V14.pdf
Binary file not shown.
Binary file added
BIN
+7.14 MB
Docs/u-blox 8 (M8) Receiver Description Including Protocol Specification.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,49 @@ | ||
# UBX GPS Library | ||
|
||
**This Arduino library was developed for the fastest and simplest communication with u-blox GPS modules**, which supports proprietary UBX protocol that is more compact than common NMEA. Main idea was to achieve real 10 Hz from NEO-7M and it was done. | ||
|
||
This library depends on device configuration and can handle only one type of UBX packet, which you can choose during [GPS device configuration](#gps-device-configuration). UBX GPS Library provides easy-to-use interface to all the available data in accordance with the Protocol Specification. | ||
|
||
## Quick Start | ||
|
||
Download `UbxGps` and place it to the Arduino libraries directory. Refer to [How to install Libraries](https://www.arduino.cc/en/Guide/Libraries) for details. | ||
|
||
Next step is configuring your GPS module properly, to find out how to do this see section [GPS device configuration](#gps-device-configuration). | ||
|
||
After that you can use included examples or play with following simple sketch: | ||
|
||
```cpp | ||
#include "UbxGpsNavPvt.h" | ||
|
||
UbxGpsNavPvt gps(Serial3); | ||
|
||
void setup() { | ||
Serial.begin(9600); | ||
gps.begin(9600); | ||
} | ||
|
||
void loop() { | ||
if (gps.ready()) { | ||
Serial.print(gps.lon / 10000000.0, 7); Serial.print(','); | ||
Serial.print(gps.lat / 10000000.0, 7); Serial.print(','); | ||
Serial.print(gps.height / 1000.0, 3); Serial.print(','); | ||
Serial.println(gps.gSpeed * 0.0036, 5); | ||
} | ||
} | ||
``` | ||
## GPS device configuration | ||
Coming soon | ||
## Compatible GPS devices | ||
* NEO-7M — tested | ||
* Other u-blox GPS modules, which supports UBX protocol | ||
* _Please, notice me if it works with your GPS module_ | ||
## History | ||
### July 23, 2016 | ||
First release |