-
Notifications
You must be signed in to change notification settings - Fork 4
Easy LoRaWAN Node
IoTThinks.com edited this page May 16, 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
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
Conversion rules
- 868 => 433
- 867 => 432
- 869 => 434
- 870 => 435
- 865 => 430
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
- https://github.com/matthijskooijman/arduino-lmic/issues/238
- Config file: src/lmic/config.h
Changed to 433Mhz
- src/lmic/lorabase.h
enum { EU868_F1 = 433100000, // g1 SF7-12 EU868_F2 = 433300000, // g1 SF7-12 FSK SF7/250 EU868_F3 = 433500000, // g1 SF7-12 EU868_F4 = 432100000, // g2 SF7-12 EU868_F5 = 432300000, // g2 SF7-12 EU868_F6 = 434525000, // g3 SF7-12 EU868_J4 = 432500000, // g2 SF7-12 used during join EU868_J5 = 432700000, // g2 SF7-12 ditto EU868_J6 = 432900000, // g2 SF7-12 ditto }; enum { EU868_FREQ_MIN = 433050000, EU868_FREQ_MAX = 434900000 };
Easy LoRaWAN WiKi