Tutorial2 Dec 2015

    First LoRaWAN Gateway In Lausanne Connects to the Internet Of Things

    LoRaWAN enables small devices to communicate over long ranges at low bitrates. We installed the first open gateway in Lausanne, covering half the city and connecting any LoRaWAN device to the internet for free via The Things Network.

    First LoRaWAN Gateway In Lausanne Connects to the Internet Of Things

    LoRaWAN (Long Range WAN) is a telecommunications network allowing small devices (i.e. sensors, robots, machines, meters) to communicate over long ranges at low bitrates. The simplest form of a LoRaWAN network consists of a transceiver gateway connected to the internet and end-nodes that typically operate on battery power.

    The gateway runs on mains power because it is constantly listening for arriving packets. The end-nodes however use very low power modules operating on just a few tens of milliwatt. An example end-node transceiver is the RN2483 by Microchip. The ranges achieved are incredible and go up to 15km line-of-sight. LoRa operates on the open and license-free 868 MHz range. It is OK to operate gateways and end-nodes in Switzerland as long as you stay within the duty cycle limits set by the federal communications office BAKOM.

    We've installed the first open gateway of Lausanne and were able to send and receive data from EPFL campus and various other locations. With this single gateway we're probably covering half of Lausanne as the gateway is situated on an eleven story high building. Any device using LoRaWAN can now connect to the internet in Lausanne - for free.

    The best part is that the gateway uploads all received data directly to TheThingsNetwork and Semtech servers. The Things Network is a global, crowdsourced, open, free and decentralized internet of things network and they have just successfully completed their Kickstarter crowdfunding campaign. Their goal is to produce affordable hardware, but also to provide the infrastructure necessary to host the data received by nodes and gateways.

    Quick Start Guide

    If you want to use our LoRaWAN gateway in Lausanne, here's a short guide based on the Microchip RN2483 node:

    Connect to the RN2483 via UART (8N1 57600). Set your Network and Application Key to the default key:

    mac set appskey 2B7E151628AED2A6ABF7158809CF4F3C
    mac set nwkskey 2B7E151628AED2A6ABF7158809CF4F3C

    Choose an address for your device from the Octanis address space (hex range 02031200 to 020312FF):

    mac set devaddr [device address]
    mac join abp
    mac tx uncnf 1 beefbeef

    If you've configured your end-node as above, then your device will work with all TheThingsNetwork gateways all over the world!

    Questions?

    We usually reply the same day.