LMIC-node | One example to rule them all

LMIC-node

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 (SX1276, RFM95, SX1272).

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.7
  • TTGO T-Beam V1.0

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)

For more information see the repository: LMIC-node

1 Like

@lnlp, thanks so much !

1 Like

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.

1 Like

I am seeking some help with LMIC-node implementation. Communication with the gateway cannot be established (I believe I am covered though I am not sure) and I get following lines, repeated every 60s:

000004383107: doWork job started
000005118890: Event: EV_TXSTART
000005512087: Event: EV_JOIN_TXCOMPLETE

I am using an Adafruit Feather m0 Lora.
I am unable to follow what the code does and what’s wrong. Thanks to anybody who can help.

Forget my question, I had a typing error in deviceEUi…
Works fine now.
@lnlp: thanks much for the great work !

2 Likes