-
Notifications
You must be signed in to change notification settings - Fork 4
Easy LoRaWAN Node
IoTThinks.com edited this page May 22, 2020
·
36 revisions
- Lib: https://github.com/mcci-catena/arduino-lmic
- Connect to TTN https://learn.adafruit.com/the-things-network-for-feather?view=all
- Receive: https://www.thethingsnetwork.org/docs/devices/arduino/usage.html
- Support for 433Mhz: http://wiki.dragino.com/index.php?title=Connect_to_TTN#How_To_add_other_frequency_band_such_as_EU433
- Add 433Mhz support to LMIC: https://github.com/mcci-catena/arduino-lmic/blob/master/HOWTO-ADD-REGION.md
- No DIO1,2 https://github.com/matthijskooijman/arduino-lmic/issues/7
- Payload decoder: https://learn.adafruit.com/the-things-network-for-feather/payload-decoding
- TheThingsNetwork_esp32: https://github.com/rgot-org/TheThingsNetwork_esp32
- Config file: src/lmic/config.h (Default to EU868)
- Changed frequencies: https://github.com/matthijskooijman/arduino-lmic/issues/238
- Fixed channel: https://github.com/matthijskooijman/arduino-lmic/issues/120
- No DIO support: https://github.com/matthijskooijman/arduino-lmic/pull/34
Changed to 433Mhz
- src/lmic/lorabase.h
- Changes: https://github.com/IoTThinks/EasyLoRaWAN/wiki/ChirpStack-configuration#eu433---more-popular
Can run without DIO1 for board with non-connected DIO1
- DIO0 is connected to board.
- Short connected DIO1 to DIO0
- .dio = {LORA_DIO0, LORA_DIO0, LMIC_UNUSED_PIN}
Confirmed data up
- Set last parameter to 1: https://github.com/matthijskooijman/arduino-lmic/blob/master/examples/ttn-abp/ttn-abp.ino#L142
Network selection
- https://github.com/mcci-catena/arduino-lorawan#network-selection
- ARDUINO_LMIC_CFG_NETWORK_TTN The Things Network EU868, US915 (subband 1), AU915 (subband 1), AS923, AS923 Japan, KR920, IN866
- ARDUINO_LMIC_CFG_NETWORK_CHIRPSTACK ChirpStack.io EU868, US915, AU915, AS923, AS923 Japan, KR920, IN866
Changed files
- src/lmic/lorabase.h
- src/lmic/lmic_config_preconditions.h
New files
- src/lmic/lmic_eu433.c
- src/lmic/lmic_bandplan_eu433.h
- src/lmic/lorabase_eu433.h
If use Arduino_LoRaWAN library
Easy LoRaWAN WiKi