LMIC-node | One example to rule them all


LMIC-node is an example LoRaWAN application for a node for The Things Network.
It uses the Arduino framework, the LMIC LoRaWAN library and PlatformIO.

With LMIC-node it is easy to get a working node quickly up and running.

Basic steps to get a node up and running with LMIC-node

  • Select a supported board
  • Select your LoRaWAN region
  • Provide the LoRaWAN keys for your node
  • Compile and upload the firmware and you’re ready to go!

Implemented features

  • Send uplink messages.
  • Receive downlink messages.
  • Implements a downlink command.
  • Provides detailed status feedback via serial port, LED and OLED display.
  • Supports both OTAA and ABP activation. Simply switch via configuration option.
  • Supports both: MCCI LoRaWAN LMIC library and IBM LMIC framework.
  • LoRaWAN keys are placed in a separate file.
  • Requires only some configuration to get it up and running.
    (No programming or modification of source code is required.)
  • Configuration is done in a single file.
  • And more

Supported boards

LMIC-node supports the following popular LoRa development boards and development boards with external SPI LoRa module (SX127x, RFM9x, HPD1xA).

LoRa development boards

  • Adafruit Feather M0 RFMx LoRa
  • BSFrance LoRa32u4 II
  • Heltec WiFi LoRa 32 V2
  • Heltec WiFi LoRa 32
  • Heltec Wireless Stick
  • Heltec Wireless Stick Lite
  • Pycom LoPy4
  • ST B-L072Z-LRWAN1 Discovery kit
  • TTGO LoRa32 V1.3
  • TTGO LoRa32 V2.0
  • TTGO LoRa32 V2.1.6
  • TTGO T-Beam V0.x
  • TTGO T-Beam V1.x

Development boards that require an external SPI LoRa module

  • Arduino Pro Mini (8mHz)
  • Arduino Zero (‘USB’)
  • Black Pill (64k and 128k)
  • Blue Pill (64k and 128k)
  • Lolin D32 Pro
  • Lolin D32
  • Lolin32
  • NodeMCU-32S
  • NodeMCU V2 (aka v1.0)
  • Raspberry Pi Pico
  • Teensy LC

For more information see the repository: LMIC-node


Interesting, in essence a well written boiler plate wrapper around lmic ? looks good - I may contribute a couple of boards too


Wrapper in the sense of being an application, not a library.

1 Like

Good job, I remember you talking about this - looking forward to trying it out!

1 Like

LMIC-node v1.1.0

LMIC-node v1.1.0 has been released.
This is a maintenance release.

Release notes can be found here: release notes


Added: pinout diagrams for most supported boards.

See Pinout diagrams in README.md for more information.


LMIC-node v1.2.0

LMIC-node v1.2.0 has been released.

Release notes can be found here: LMIC-node v1.2.0 Release Notes

Added support for the following boards:

  • Raspberry Pi Pico
  • Teensy LC

For more information about what’s new and changed see the release notes.