{"id":13343835,"url":"https://github.com/phfbertoleti/gnss_lorawan_tracker","last_synced_at":"2025-03-12T06:30:32.170Z","repository":{"id":215008138,"uuid":"737885933","full_name":"phfbertoleti/gnss_lorawan_tracker","owner":"phfbertoleti","description":"Repository of a GNSS LoRaWAN tracker, using Zephyr RTOS as embedded operating system.","archived":false,"fork":false,"pushed_at":"2024-01-01T21:51:03.000Z","size":3939,"stargazers_count":21,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-24T16:49:27.246Z","etag":null,"topics":["connectivity","esp32","gnss","gps","internetofthings","iot","lorawan","tracker","zephyr","zephyr-rtos"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phfbertoleti.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-01T21:07:18.000Z","updated_at":"2024-08-28T02:52:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"78c64ab7-9178-4a91-a824-ad70f2baf29e","html_url":"https://github.com/phfbertoleti/gnss_lorawan_tracker","commit_stats":null,"previous_names":["phfbertoleti/gnss_lorawan_tracker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phfbertoleti%2Fgnss_lorawan_tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phfbertoleti%2Fgnss_lorawan_tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phfbertoleti%2Fgnss_lorawan_tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phfbertoleti%2Fgnss_lorawan_tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phfbertoleti","download_url":"https://codeload.github.com/phfbertoleti/gnss_lorawan_tracker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243171377,"owners_count":20247876,"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":["connectivity","esp32","gnss","gps","internetofthings","iot","lorawan","tracker","zephyr","zephyr-rtos"],"created_at":"2024-07-29T19:32:01.485Z","updated_at":"2025-03-12T06:30:32.161Z","avatar_url":"https://github.com/phfbertoleti.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GNSS LoRaWAN tracker\n\nThis repository contains a project of a tracker device, which uses GNSS to obtain location and LoRaWAN as connectivity to upload tracker messages to the cloud.\nThis project uses Zephyr as RTOS.\n\n![Project board](/Photos/photo_1.jpg)\n\n\n## Main features\n\nThe main features of this project are:\n\n* Obtain latitude and longitude coordinates generated by a GPS/GNSS module over UART (9600/8/N/1). All GPS/GNSS modules that use NMEA messages will do.\n* Send LoRaWAN messages (ABP mode) using Smart Modular LoRaWAN module (https://ziliatech.com/iot/), which bahaves like a modem, controlled via AT commands (9600/8/N/1).\n* Reads ignition status (on/off) and time spent with ignition on (in milisseconds)\n* Reads GNSS fix status\n* All logs messages are handled by Zephyr RTOS Logging subsystem\n* Periodically send a LoRaWAN message containing latitude (4 bytes, float format), longitude (4 bytes, float format) and a status byte. \nThis status byte contains ignition status (on/off) at bit 0 and GNSS fix status at bit 1.\nThe time interval between sending two consecutive LoRaWAN messages can be adjusted by CONFIG_GNSS_MANAGER_TIME_TO_SEND_LORAWAN_MESSAGE (see Kconfig for more details)\n\n## LoRaWAN credentials\n\nBefore successfully send any LoRaWAN message, you need to set LoRaWAN credentials. As this projects uses LoRaWAN in ABP mode, the following credentials must be set:\n\n* Device address: set this in CONFIG_LORAWAN_UART_SMARTMODULAR_DEVADDR (set Kconfig for more details)\n* Application Session Key: set this in CONFIG_LORAWAN_UART_SMARTMODULAR_APPSKEY (set Kconfig for more details)\n* Network Session Key: set this in CONFIG_LORAWAN_UART_SMARTMODULAR_NWKSKEY (set Kconfig for more details)\n* Application EUI:  set this in CONFIG_LORAWAN_UART_SMARTMODULAR_APPEUI (set Kconfig for more details)\n\n## Compatible hardwares\n\nAt this moment, there are oveelays that makes it available to compile this project for the following microcontrollers:\n\n* ESP32 WROOM 32 (Xtensa architecture)\n\nFor ESP32 WROOM 32, wire the peripherals as described below:\n\n- Breathing Light (led): GPIO 18\n- Ignition switch: GPIO 4\n- GNSS module (UART 1): GPIO 25 (TX) and GPIO 26 (RX)\n- LoRaWAN module (UART 2): GPIO 23 (TX) and GPIO 5 (RX)\n\n## How to compile this project\n\nAssuming this code is placed into zephyrproject/zephyr folder, you can compile it by doing the following:\n\n* For ESP32 WROOM, use the following command for compiling this project:\n\n``\nwest build -p always -b esp32_devkitc_wroom gnss_lorawan_tracker/\n``\n\nAnd for flashing, simply use:\n\n``\nwest flash\n``","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphfbertoleti%2Fgnss_lorawan_tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphfbertoleti%2Fgnss_lorawan_tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphfbertoleti%2Fgnss_lorawan_tracker/lists"}