Home Labs Stories Write your first TTN and AllThingsTalk application using TLab.gr's uNode LoRa board

WRITE YOUR FIRST TTN AND ALLTHINGSTALK APPLICATION USING TLAB.GR'S UNODE LORA BOARD

image story

ABOUT THIS STORY


Posted on Jan. 15, 2019



Intermediate
2 Hours

Introduction

Set up your environment

Create your TTN application and register your device to it

Write and run the Hello LoRa world sketch

Add a sensor to your node

Decode your message in the TTN console

Set up All Things Talk

Create a Pinboard in All Things Talk Maker

Introduction


For a joint Sensemakers Amsterdam / TTN workshop we have obtained some uNode boards from TLab.gr. See https://www.tlab.gr/projects/%CE%BCnode-project/ for details.
The boards we will be using have an MCP23S08 expansion GPIO fitted.

We will set up the Arduino environment, install the library that comes with the uNode which already contains the LMIC LoRaWan library. Then we will set up an aplication on TTN and register the device to the application. Then we will create a sketch to connect to the application.
Next we will fit the board with an DTH11 sensor and send the data to TTN. Finally we will integrate our TTN application to a dashboard we will ceate on All Things Talk maker.