{"id":20963441,"url":"https://github.com/thorsten-l/esp32-lora-ttnv3","last_synced_at":"2026-04-10T23:06:22.947Z","repository":{"id":106381926,"uuid":"381050910","full_name":"thorsten-l/ESP32-LoRa-TTNv3","owner":"thorsten-l","description":"This sample PlatformIO project sends every minute 'Hello LoRa Fcnt=nnn' via LoRaWAN to TheThingsNetwork. It is a test code for TTNv3","archived":false,"fork":false,"pushed_at":"2021-07-23T06:04:00.000Z","size":87,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-20T01:31:49.956Z","etag":null,"topics":["esp32","lora","lorawan","lorawan-device","platformio","thethingsnetwork","ttn-device"],"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/thorsten-l.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":"2021-06-28T13:59:34.000Z","updated_at":"2023-11-30T21:56:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"d1a84dff-79b9-41bd-9e46-a0eb76aadcde","html_url":"https://github.com/thorsten-l/ESP32-LoRa-TTNv3","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/thorsten-l%2FESP32-LoRa-TTNv3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2FESP32-LoRa-TTNv3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2FESP32-LoRa-TTNv3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2FESP32-LoRa-TTNv3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thorsten-l","download_url":"https://codeload.github.com/thorsten-l/ESP32-LoRa-TTNv3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243360152,"owners_count":20278336,"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","lora","lorawan","lorawan-device","platformio","thethingsnetwork","ttn-device"],"created_at":"2024-11-19T02:45:16.349Z","updated_at":"2025-12-29T00:06:57.363Z","avatar_url":"https://github.com/thorsten-l.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32-LoRa-TTNv3\n\nThis sample PlatformIO project sends every minute 'Hello LoRa Fcnt=nnn' via LoRaWAN to TheThingsNetwork.\nIt is a test code for TTNv3\n\n## Initialize Build Environment\n\n`./INITIALIZE_BUILD_ENVIRONMENT.sh` copies `config` to `private` directory.\n\nmake all your private settings in `./private/AppConfig.h`\n\n## LMIC Project Settings\n\nFind the LMIC project settings at \n\n`.pio/libdeps/\u003cboard name\u003e/MCCI LoRaWAN LMIC library/project_config/lmic_project_config.h`\n\ne.g. `#define CFG_eu868 1` for Europe 868MHz Sender/Receiver\n\n## Docker\nIf you do not have or want to install a PlatformIO Environment but you have a docker engine running. Go into the `docker`-directory \n\n1. ./BUILD.sh - builds `platformio-esp32` docker image based on Ubuntu 20.04\n2. ./RUN_PLATFORMIO.sh - runns `platformio` twice \n3. find firmware `.pio/build/heltec_wifi_lora_32/firmware.bin`\n4. upload firmware via `esptool`\n\n## TTNv3 payload formatter\n\nFind a JavaScript payload formatter in the `TTNv3` directory.\n\n## References\n\n- [Heltec WiFi LoRa 32](https://heltec.org/project/wifi-lora-32/)\n- [Heltec GitHub ESP32 LoRaWAN Repository](https://github.com/HelTecAutomation/ESP32_LoRaWAN)\n- [TheThingsNetwork](https://www.thethingsnetwork.org/)\n- [MCCI Arduino LoRaWAN Library](https://github.com/mcci-catena/arduino-lorawan)\n\n## Pinouts\n\n```text\nPIO Environment : heltec_wifi_lora_32\nLMIC_NSS  = 18\nLMIC_RXTX = 255\nLMIC_RST  = 14\nLMIC_DIO0 = 26\nLMIC_DIO1 = 33\nLMIC_DIO2 = 32\nOLED_SDA = 4\nOLED_SCL = 15\nOLED_RST = 16\nBUILTIN_LED = 25\n\nPIO Environment : heltec_wifi_lora_32_V2\nLMIC_NSS  = 18\nLMIC_RXTX = 255\nLMIC_RST  = 14\nLMIC_DIO0 = 26\nLMIC_DIO1 = 35\nLMIC_DIO2 = 34\nOLED_SDA = 4\nOLED_SCL = 15\nOLED_RST = 16\nBUILTIN_LED = 25\n\nPIO Environment : ttgo-lora32-v1\nLMIC_NSS  = 18\nLMIC_RXTX = 255\nLMIC_RST  = 14\nLMIC_DIO0 = 26\nLMIC_DIO1 = 33\nLMIC_DIO2 = 32\nOLED_SDA = 4\nOLED_SCL = 15\nOLED_RST = 16\nBUILTIN_LED = 2\n\nPIO Environment : ttgo-lora32-v2\nLMIC_NSS  = 18\nLMIC_RXTX = 255\nLMIC_RST  = 23\nLMIC_DIO0 = 26\nLMIC_DIO1 = 33\nLMIC_DIO2 = 32\nOLED_SDA = 21\nOLED_SCL = 22\nOLED_RST = 16\nBUILTIN_LED = 22 *this is useless*, same as OLED_SCL\n\nPIO Environment : ttgo-lora32-v21\nLMIC_NSS  = 18\nLMIC_RXTX = 255\nLMIC_RST  = 23\nLMIC_DIO0 = 26\nLMIC_DIO1 = 33\nLMIC_DIO2 = 32\nOLED_SDA = 21\nOLED_SCL = 22\nOLED_RST = 16\nBUILTIN_LED = 25\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorsten-l%2Fesp32-lora-ttnv3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthorsten-l%2Fesp32-lora-ttnv3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorsten-l%2Fesp32-lora-ttnv3/lists"}