{"id":19144966,"url":"https://github.com/ldab/u-blox_gnss","last_synced_at":"2025-05-07T01:13:04.223Z","repository":{"id":41145668,"uuid":"175089561","full_name":"ldab/u-blox_GNSS","owner":"ldab","description":"u-blox GNSS receiver library light weight for low power tracking application","archived":false,"fork":false,"pushed_at":"2020-05-19T19:18:48.000Z","size":6513,"stargazers_count":25,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-02T08:55:46.779Z","etag":null,"topics":["arduino","diy","gnss","gps","iot","lightweight","lte","lte-m","nb-iot","u-blox","ublox","ublox-gps"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ldab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-11T21:54:09.000Z","updated_at":"2025-02-22T04:31:08.000Z","dependencies_parsed_at":"2022-09-09T05:41:47.042Z","dependency_job_id":null,"html_url":"https://github.com/ldab/u-blox_GNSS","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldab%2Fu-blox_GNSS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldab%2Fu-blox_GNSS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldab%2Fu-blox_GNSS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldab%2Fu-blox_GNSS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ldab","download_url":"https://codeload.github.com/ldab/u-blox_GNSS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252793656,"owners_count":21805058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","diy","gnss","gps","iot","lightweight","lte","lte-m","nb-iot","u-blox","ublox","ublox-gps"],"created_at":"2024-11-09T07:37:11.410Z","updated_at":"2025-05-07T01:13:04.205Z","avatar_url":"https://github.com/ldab.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# u-blox_GNSS\n\nu-blox GNSS, GPS receiver library minimalistic light weight for low power tracking application.\n\n[![GitHub version](https://img.shields.io/github/release/ldab/u-blox_GNSS.svg)](https://github.com/ldab/u-blox_GNSS/releases/latest)\n[![Build Status](https://travis-ci.org/ldab/u-blox_GNSS.svg?branch=master)](https://travis-ci.org/ldab/u-blox_GNSS)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/ldab/u-blox_GNSS/blob/master/LICENSE)\n\n[![GitHub last commit](https://img.shields.io/github/last-commit/ldab/u-blox_GNSS.svg?style=social)](https://github.com/ldab/u-blox_GNSS)\n\n![SAM-M8Q GNSS Antenna Module](https://www.u-blox.com/sites/default/files/styles/product_full/public/products/SAM-M8Q.png)\n\n## TODO\n\n- [x] Use Stream class to work with both Harware and Software serial\n- [x] Implement better debug handler\n- [ ] Update Keywords\n- [x] Implement serial timeout\n- [ ] Add AssistNow AID support\n\n## How does it work?\n\nWhen first powered the GNSS module automatically starts sending [NMEA](https://en.wikipedia.org/wiki/NMEA_0183) messages over the iterface, so the basic setup would be:\n1. Disable NMEA and enable [UBX protocol](./extras/u-blox8-M8_ReceiverDescrProtSpec_(UBX-13003221)_Public.pdf);\n2. Especify the Power Save Mode;\n3. Save configuration, otherwise it will reset to default configuration after waking up;\n4. Poll messages anytime you want;\n\nYou can also turn the GNSS module OFF by ```GNSS::off()``` function, and empty command will sleep forever until any activity on the UART interface.\n\nWhen the ```GNSS::getCoodinates``` is called, it try to wake the module and retrive Navigation information, the default timeout is *60 sec* and the accuracy can be set as the last parameter of the function.\n\n## Power Save Modes\n\n* Continuous (default) mode for best GNSS performance vs. power consumption;\n* 1, 2 or 4Hz cyclic tracking mode for aggressive power reduction*;\n* ON/OFF interval mode;\n\nWe will use UBX-CFG-PMS (only supported in protocol versions 18+).\n\n*Only 1Hz is enabled in this library.\n\n## Current consumption of operating modes\n\nCurrent comsumption is hard to estimate as it would vary significantly based on signal conditions as well as navigation rate but some indicative data is available as follows:\n\nMode        | TYP mA\n------------|--------\nMax         | 67\nAcquisition*| 25\nContinous   | 23\nPSM 1Hz     | 9.5\n\n*Current from start-up until the first fix.\n\n## Troubleshooting\n\nIf you get in trouble or want to try different configurations you can use the [serial_bridge.ino](./examples/Serial_Bridge/serial_bridge.ino) example and control the module using u-blox [u-center](https://www.u-blox.com/en/product/u-center). This example simply bridge the serial USB over the UART connected to the u-blox module defined on the ```#define``` interfaces.\n\n## Credits\n\nGithub Shields and Badges created with [Shields.io](https://github.com/badges/shields/)\n\nu-blox official mBed [library](https://os.mbed.com/teams/ublox/code/gnss/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldab%2Fu-blox_gnss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fldab%2Fu-blox_gnss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldab%2Fu-blox_gnss/lists"}