{"id":16238984,"url":"https://github.com/makermoekoe/lora-gps-tracker","last_synced_at":"2025-06-23T06:35:48.188Z","repository":{"id":41899394,"uuid":"494381892","full_name":"makermoekoe/LORA-GPS-Tracker","owner":"makermoekoe","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-04T08:19:29.000Z","size":6952,"stargazers_count":223,"open_issues_count":1,"forks_count":70,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-04-13T06:43:19.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/makermoekoe.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":"2022-05-20T08:24:33.000Z","updated_at":"2025-04-09T06:41:54.000Z","dependencies_parsed_at":"2022-07-19T13:02:26.409Z","dependency_job_id":null,"html_url":"https://github.com/makermoekoe/LORA-GPS-Tracker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/makermoekoe/LORA-GPS-Tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makermoekoe%2FLORA-GPS-Tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makermoekoe%2FLORA-GPS-Tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makermoekoe%2FLORA-GPS-Tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makermoekoe%2FLORA-GPS-Tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makermoekoe","download_url":"https://codeload.github.com/makermoekoe/LORA-GPS-Tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makermoekoe%2FLORA-GPS-Tracker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261430246,"owners_count":23157156,"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":[],"created_at":"2024-10-10T13:41:54.843Z","updated_at":"2025-06-23T06:35:43.163Z","avatar_url":"https://github.com/makermoekoe.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LORA-GPS-Tracker\n\n**This page is a work in progress!**\n\n\u003cimg src=\"docs/lora_gps_full.jpg\" width=\"500px\"\u003e\u003c/a\u003e\n\nThis LORA-GPS-Tracker was designed to just test three modules, which I haven't worked with yet: the RFM95 LORA module, the ESP32-S2-Mini module and the ATGM336h GPS module. All combined this device can be used as a GPS-Tracker for LORA based systems. Additionally to the modules, the board includes a 0.96\" OLED display, two user buttons, a user RGB LED, a LiPo battery charger with a 16340 cell holder, and a dual LDO setup, which is very handy when it comes to deep sleeping.\n\nHere are some specs of the board:\n- ESP32-S2-Mini\n- USB Type-C for charging the battery and flashing the ESP32\n- Dual LDO setup, which will reduce the sleep current (the main power sinks can be shut down before entering a sleep mode)\n- Power friendly OLED display\n- Dimensions are 60x43mm\n\nThe [Youtube Video](https://youtu.be/C7jFupvuy9M) shows the PCB assembly process, some initial tests and some power measurements.\n\n\n## Connections\n\nThe RFM95 LORA module is connected via SPI, the ATGM336h GPS module is connected via UART and the OLED display is connected via I2C.\n\n\nGPIO ESP32 | Function | Mode\n-------- | -------- | --------\nGPIO1 | LORA_RST | Output\nGPIO2 | LORA_MISO | Input\nGPIO3 | LORA_MOSI | Output\nGPIO4 | LORA_SCK | Output\nGPIO5 | LORA_CS | Output\nGPIO6 | LORA_INT | Input\nGPIO7 | LORA_DIO1 | Data\nGPIO8 | LORA_DIO2 | Data\nGPIO12 | Button2 | Input\nGPIO14 | Enable LDO2 | Output\nGPIO15 | BAT_ADC | Input\nGPIO16 | Button1 | Input\nGPIO19 | USB_DN | Data\nGPIO20 | USB_DP | Data\nGPIO34 | OLED_RST | Output\nGPIO35 | I2C_SCL | Output\nGPIO36 | I2C_SDA | Data\nGPIO37 | LED_CLK | Output\nGPIO38 | LED_SDI | Data\nGPIO40 | GPS_PPS | Input\nGPIO41 | GPS_RXD | Input\nGPIO42 | GPS_TXD | Output\n\nBy switching off the EN_LDO2 output, the second LDO which powers the GPS as well as LORA module, the onboard LED and the OLED display, will be shut down.\n\n## Power measurements\n\n\u003cimg src=\"docs/lora_gps_power_meas.png\" width=\"500px\"\u003e\u003c/a\u003e\n\nState | Avg. current | Peak current\n-------- | -------- | --------\nReading sensors | 80mA | 92mA\nTransmitting LORA | 135mA | 208mA\nDeep sleep | 75µA | 82µA\n\nNote: The schematics in this repo have the I2C pull-up resistors connected to +3V3. It reduces the power consumption if you don't mount these resistors or if you connect them to VDD (controllable via LDO2).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakermoekoe%2Flora-gps-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakermoekoe%2Flora-gps-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakermoekoe%2Flora-gps-tracker/lists"}