The Things Network
-
Create an account on https://www.thethingsnetwork.org/
-
CONSOLE –> Gateways :
Register your gateway if necessary :- Select ‘I’m using the legacy packet forwarder’
- the Gateway EUI is the one you noted in ’lora_gateway’ step.
- Frequency Plan : EU868
- Router : ttn-router-eu
-
CONSOLE –> Application : add application
- Fill in Application ID + Description ( Let TTN choosing Application EUI )
- Once Application created : copy Application EUI ( press <> { 0x70, 0xB3, 0xD5, 0x7E, 0xD0, 0x00, 0xBC, 0x93 } )
REM : msb left ; paste this EUI in WORKSPACE_B-L072Z-LRWAN1_ENIB/lora_node/inc/Commissioning.h - Register device : Device EUI : the one you saved in lora-node ; then register.
- note the App Key and paste it in WORKSPACE_B-L072Z-LRWAN1_ENIB/lora_node/inc/Commissioning.h
REM : msb left
You’ll have to clean your lora_node project before building it again to consider the new Commissioning.h
-
Look at data : messages are received on TTN server.
-
you can send a message to the lora_node in Device –> [Device_name] –> Downlink : send 01 on FPort 2. This switch on a led on the card.
-
If you want to create a simple Dashboard, since Cayenne is used to send datas from the lora node :
- Register on https://mydevices.com//
- look at https://www.thethingsnetwork.org/docs/applications/cayenne/ at Set up your myDevices account