LoRaWAN and Node-RED Tutorial and Deployment Tips
Yitaek HwangYitaek Hwang
This series is intended for developers and hackers looking to test out a LoRaWAN network using MultiTechâs Conduit and mDot RF modules. The Things Network has an extensive forum and support for public gateways and nodes in Europe, but little documentation exists for those wanting to test a private network in the US.
This is the first post in a four-part guide which covers:
We purchased a MultiConnect Conduit Starter Kit (MTCDT-STARTER-KIT-915) to test out the our first LoRaWAN Applications. The starter kit is not cheap (~$900), but I recommend it if you want to test the capabilities of LoRaWAN right away as the network tester is pre-configured out of the box.
However, if you do want to only buy the essentials, you can separately purchase a Conduit gateway, LoRa gateway accessory MultiConnect mCard (MTAC-LORA-915), MultiConnectmDot Developer Kit (MTUDK2-ST-MDOT), some 915 MHz LoRa Antennas, and MultiConnect mDot Long-Range RF Module (MTDOT-915-X1P-SMA-1).
On the software side, I am using macOS, but a Windows or Linux computer with ethernet, USB, and terminal-like application (e.g. PuTTY) should suffice.
Although MultiTech will provide you with a quickstart guide, the guide on the Things Network forum is more extensive. If you purchased a starter kit, you will have an AEP version, in which you can follow the instructions here. Otherwise, you can read the directions to configure the mLinux model here.
Several comments about the AEP configuration steps:
This should complete your setup process. If you have the mDot box, you can power it on, select LoRa Demo and start to send data to IBM Bluemix. The official MultiTech guide does a great job walking you through the steps, but in case you run into some problems (like I did) you can keep reading. Otherwise, skip to part II of this series to start forwarding data to any cloud service you want.
If you followed the TTN setup process, you will lose access to the web UI (initially set to 192.168.2.1) after you reset the gateway. To find the IP address that the network assigned your gateway, you can use the following options:
For some reason, one of the mDot boxes was not configured correctly, so it could not join the gateway. You will see this if the mDot Box gets stuck in âJoining Networkâ phase with the attempts count (the number next to A=) keeps increasing.
To fix this, you need to use either a Micro Developer Kit (MDK) or a UDK2. You can follow the instructions here, keeping in mind that the name and phrase mentioned on the guide should be same as the LoRa network settings you noted above.
For Mac users, to connect to a new TTY/COM port at 115200 bps, you can issue the following commands in the terminal.
ls /dev/tty.*
This will list the serial connections available to you. Letâs say one of the options was /dev/tty.usbmodem14221. Then to connect to it:
screen /dev/tty.usbmodem14221 115200
Now you can issue all the AT commands to set up the network. After saving by issuing AT&W command, you can exit the program by typing Control+A then Control+\Â .
The Most Comprehensive IoT Newsletter for Enterprises
Showcasing the highest-quality content, resources, news, and insights from the world of the Internet of Things. Subscribe to remain informed and up-to-date.
New Podcast Episode
Related Articles