{"id":13613369,"url":"https://github.com/tuupola/micropython-gnssl76l","last_synced_at":"2025-10-25T19:31:03.772Z","repository":{"id":57441485,"uuid":"104810093","full_name":"tuupola/micropython-gnssl76l","owner":"tuupola","description":"MicroPython I2C driver for Quectel GNSS L76-L (GPS) ","archived":false,"fork":false,"pushed_at":"2018-01-28T15:12:23.000Z","size":4,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-31T10:11:35.892Z","etag":null,"topics":["esp32","galileo","glonass","gps","micropython","qzss"],"latest_commit_sha":null,"homepage":"","language":"Python","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/tuupola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-25T22:53:56.000Z","updated_at":"2024-09-09T04:23:24.000Z","dependencies_parsed_at":"2022-09-06T02:40:24.316Z","dependency_job_id":null,"html_url":"https://github.com/tuupola/micropython-gnssl76l","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuupola%2Fmicropython-gnssl76l","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuupola%2Fmicropython-gnssl76l/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuupola%2Fmicropython-gnssl76l/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuupola%2Fmicropython-gnssl76l/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuupola","download_url":"https://codeload.github.com/tuupola/micropython-gnssl76l/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238201097,"owners_count":19433139,"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":["esp32","galileo","glonass","gps","micropython","qzss"],"created_at":"2024-08-01T20:00:45.222Z","updated_at":"2025-10-25T19:31:03.467Z","avatar_url":"https://github.com/tuupola.png","language":"Python","funding_links":[],"categories":["Libraries","精选驱动库"],"sub_categories":["Communications","通讯类"],"readme":"# MicroPython GNSS L76-L I2C driver\n\nMicroPython library for accessin the [Quectel GNSS L76-L](http://www.quectel.com/product/l76l.htm) receiver over I2C. L76-L is a\nconcurrent receiver module integrating GPS, GLONASS, Galileo and QZSS systems.\n\n## Usage\n\nUsing default I2C pins for ESP32.\n\n```python\nimport utime\nfrom gnssl76l import GNSSL76L\n\nreceiver = GNSSL76L()\nwhile True:\n    for sentence in receiver.sentences():\n        print(sentence)\n\n    print(\"\\n\")\n    utime.sleep_ms(1000)\n```\n\nCustom I2C pins when using non ESP32 board.\n\n```python\nimport utime\nfrom machine import I2C, Pin\nfrom gnssl76l import GNSSL76L\n\ni2c = I2C(scl=Pin(26), sda=Pin(25))\nreceiver = GNSSL76L(i2c)\n\nwhile True:\n    for sentence in receiver.sentences():\n        print(sentence)\n\n    print(\"\\n\")\n    utime.sleep_ms(1000)\n```\n\nMore realistic usage with timer. If you get `OSError: 26` or `i2c driver install error` after soft reboot do a hard reboot.\n\n```python\nimport micropython\nfrom machine import I2C, Pin, Timer\nfrom gnssl76l import GNSSL76L\n\nmicropython.alloc_emergency_exception_buf(100)\n\ni2c = I2C(scl=Pin(26), sda=Pin(25))\nreceiver = GNSSL76L(i2c)\n\ndef read_receiver(timer):\n    for sentence in receiver.sentences():\n        print(sentence)\n    print(\"\\n\")\n\ntimer_0 = Timer(0)\ntimer_0.init(period=1000, mode=Timer.PERIODIC, callback=read_receiver)\n```\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuupola%2Fmicropython-gnssl76l","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuupola%2Fmicropython-gnssl76l","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuupola%2Fmicropython-gnssl76l/lists"}