RIOT firmwares for Pyaiot
This repository contains simple firmwares for reading or interacting with sensor nodes using CoAP and MQTT-SN procotols.
The firmwares are designed to be used with the Pyaiot transport and display backend.
The available firmwares are:
- BMP180 sensor (CoAP): read environmental values from a BMP180 sensor. The sensor has to be plugged on a SAMR21 Xplained Pro board
- Weather sensor (CoAP): read weather values (temperature, pressure, humidity) from a BME280 sensor
- LED control (CoAP): interact with the on-board LED using CoAP. By default, the firmware is built for an Atmel SAMR21 Xplained Pro board (inverted LED)
- IMU sensor (CoAP): read the inertial measurement unit of an IoTLAB-M3 board
- IoT-Lab A8-M3 node (CoAP): interact with M3 LED of an A8 node in the IoTLAB testbed
- Atmel IO1 Xplained sensor (CoAP): read the temperature sensor of an IO1 Xplained extension board. The firmware is built for a SAMR21 Xplained Pro board
- Light sensor (CoAP): read the illuminance value (lx) from a TSL2561 sensor.
- BME280 sensor (MQTT-SN): read environmental values from a BME280 sensor. Values are raised using the MQTT-SN protocol.
All firmwares source codes are based on RIOT.
RIOT is included as a submodule of this repository. We provide a make
helper
target to initialize it.
From the root of this repository, issue the following command:
$ make init_submodules
From the root directory of this repository, simply issue the following command:
$ make
For each firmwares use the RIOT way of flashing them. For example, in
apps/node_bmp180
, use:
$ make -C apps/node_bmp180 flash
to flash the firmware on a SAMR21 XPlained Pro board.
From the root directory of this repository, issue the following command:
$ make clean