LoRaWAN with MultiTech and ARM mbed

October 2015

wotio team

<p>One of the more interesting developments in the massive IoT ecosystem is the quickly growing base install of LoRaWAN devices. As <a href="http://wot.io">wot.io</a> partners <a href="http://stream-technologies.com/">Stream Technologies</a> and <a href="http://www.multitech.com/">MultiTech</a> bring these new technologies to market, we are happy to be able to provide the data services infrastructure to support these new IoT connectivity options. Let's look at some of the options now available.</p>
<h3 id="networkingoptions">Networking Options</h3>
<p>When people speak of the burgeoning proliferation of connected devices in the IoT ecosystem, one thing that is sometimes overlooked is considering the implications of which network type the actual device(s) run on. For many touted use cases, the more common networks are ill-suited for the task:</p>
<ul>
<li>WiFi takes up too much power and the range is too limited</li>
<li>Cellular (3G/LTE) is too expensive per connected unit</li>
<li>Cellular (CAT-0) is still a few years out.</li>
<li>Bluetooth LE range is too limited.</li>
</ul>
<p>LoRaWAN however, in tandem with some other 6LoWPAN networks like <a href="http://www.sigfox.com">SigFox</a>, are making strides to fill that void of being all of 1) low power 2) low cost and 3) long range. Perfect for any IoT application!</p>
<h3 id="demosetup">Demo Setup</h3>
<p>Let's get started setting up our LoRa network. For this we're using:</p>
<ul>
<li>MultiTech Conduit Gateway, with a</li>
<li>MultiTech MTAC LoRa Gateway Accessory Card installed</li>
<li>MultiTech mDot modules, mounted on a</li>
<li>MultiTech Developer Kit</li>
</ul>
<p><img src="http://idfiles.leveelabs.com/55bd0288af0b0930ba599bd0c4b7ca38/resources/img_new/labs_wot_io/MultiTechUDK.jpg" alt="" /></p>
<p><img src="http://idfiles.leveelabs.com/55bd0288af0b0930ba599bd0c4b7ca38/resources/img_new/labs_wot_io/MultiTechConduit.jpg" alt="" /></p>
<p>The LoRa mDot uses an ARM processor and is <a href="https://developer.mbed.org/platforms/MTS-mDot-F411/">ARM mbed enabled</a>, so developing LoRa solutions using these ARM-powered devices much faster and more pleasant.</p>
<p>If you're using a USB-Serial cord as I am to connect to the DB9 port, you can use the following to see that the line is connected:</p>
<pre><code>&gt; ls /dev/tty.*
...
/dev/tty.PL2303-00001014
</code></pre>
<p>The <code>tty.PL2303-*</code> listing above confirms that our Serial line is connected to our USB port. <br /> You can also confirm that you are properly connected when the <code>D7</code> LED is lit up on the MultiTech Developer Kit (UDK).</p>
<p>I'm using <a href="http://freeware.the-meiers.org/">CoolTerm</a> to send in the <a href="http://www.multitech.net/developer/software/mdot-software/mdot-connecting-to-a-network/">AT commands</a> to the MultiTech LoRa mDot module which we have mounted on a MultiTech UDK.</p>
<pre><code>AT
AT&amp;F
AT+RXO=1
AT&amp;W
AT+FSB=7
AT+NI=1,wotioloranetwork
AT+NK=1,&lt;ENTER_PASSPHRASE&gt;
AT&amp;W
ATZ
AT+JOIN
AT+ACK=1
</code></pre>
<p>After that's confirmed, we simply drag&amp;drop our compiled binary from the mbed online editor onto the device, and it flashes, connects, and starts sending data automatically!</p>
<p>We can now hop over to our MultiTech Conduit and use the Node-RED interface to see that data is flowing from our LoRa mDot into the Conduit. So let's take that data and pipe it into the wot.io Operating Environment.</p>
<p>From there, that LoRaWAN data can be combined with other data sources and is easily fed into a wide range of <a href="http://www.wot.io/partners/#partners">data services</a> to truly unlock its value.</p>
<p><img src="http://idfiles.leveelabs.com/55bd0288af0b0930ba599bd0c4b7ca38/resources/img_new/labs_wot_io/Screen-Shot-2015-11-13-at-5-17-30-PM.png" alt="" /></p>
<p>You can check out the full module <a href="https://developer.mbed.org/users/tuddman/code/wotiolora/">source code</a> over at the ARM mbed website. And check out other posts in the <a href="http://labs.wot.io">wot.io labs blog</a> and our main <a href="http://wot.io">website</a> for information on data services for your IoT application.</p>

Related INSIGHTS

Explore the latest research and innovations in wireless, video, and AI technologies.

IoT: Ten Ways to See the Future

BLOG POST

IoT: Ten Ways to See the Future

READ MORE
IoT Evolution Partners and Demos

BLOG POST

IoT Evolution Partners and Demos

READ MORE
IFA Berlin with the AllSeen Alliance

BLOG POST

IFA Berlin with the AllSeen Alliance

READ MORE
IoT and Big Data from Critical Mention with NGDATA and scriptr.io

BLOG POST

IoT and Big Data from Critical Mention with NGDATA and scrip...

READ MORE
Maker Faire New York 2015

BLOG POST

Maker Faire New York 2015

READ MORE
wot.io at Columbia University

BLOG POST

wot.io at Columbia University

READ MORE