finds.dev← search

// the find

lnlp/LMIC-node

★ 241 · C · MIT · updated Apr 2024

LMIC-node | One example to rule them all. LMIC-node is an example LoRaWAN application for a node that can be used with The Things Network. It demonstrates how to send uplink messages, how to receive downlink messages, how to implement a downlink command and it provides useful status information. With LMIC-node it is easy to get a working node quickly up and running. LMIC-node supports many popular (LoRa) development boards out of the box. It uses the Arduino framework, the LMIC LoRaWAN library and PlatformIO.

A PlatformIO-based Arduino starter project for LoRaWAN nodes on The Things Network. It wraps the MCCI and IBM LMIC libraries with per-board abstraction files so you can swap target hardware by changing one line in platformio.ini. Aimed at embedded developers who want a working LoRaWAN uplink/downlink baseline without fighting pin mappings.

Board Support Files isolate every hardware quirk — wrong BSP pin definitions, shared GPIO conflicts, I2C/SPI init order — into one header per board instead of scattering ifdefs through main code. Supporting both MCCI and IBM LMIC lets it run on 8-bit AVR boards where MCCI won't fit in RAM. The LoRaWAN key separation into a gitignored keyfiles/ directory is the right call and many similar projects skip it entirely. PlatformIO dependency management means you don't manually hunt down library versions; the ini file pins them.

It's an example, not a library — when you add real sensors you're forking the whole thing, and there's no mechanism to pull in upstream fixes later. IBM LMIC (Classic) is explicitly deprecated in the README and not LoRaWAN-spec-compliant with ABP on TTN V3, yet the project still ships it as a first-class option, which will bite beginners who pick the wrong combination. No sleep/low-power support anywhere; a counter every N seconds without deep sleep is useless for anything battery-powered, which is most LoRaWAN use cases. Last commit is April 2024 and the board list stops at boards that were common in 2021 — newer Heltec V3, TTGO T-Beam Supreme, and RAK modules aren't here.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →