This repository contains examples and experiment sketches for the AllThingsTalk LoRaWAN Product Kit.
It is to be used in conjunction with the arduino-lorawan-sdk which contains all basic functionality.
This library has been developed for:
- Sodaq ONE
- Microchip LoRa modem
Download the source code and copy the content of the zip file to your arduino libraries folder (usually found at /libraries) or import the .zip file directly using the Arduino IDE.
push-button
basic push button example using the onboard buttontrack-and-trace
GPS tracking device
Short samples of how to use the onboard sensors of the Sodaq ONE
accelerometer
battery
compass
magnetometer
push-button
rgbled
There are three ways to send your data to AllThingsTalk
Standardized containers
Cbor payload
Binary payload
You can simply select the method you prefer by (un)commenting the methods at the start of the sketch.
// Select your preferred method of sending data
//#define CONTAINERS
#define CBOR
//#define BINARY
By default, Cbor will be used. For more information on payloads, please check here