A multifunctional and modular Firmware for Multitech's mDot based on ARM mBed provides a widerange of functionality for several Sensors such as MAX44009, BME280, MPU9250, SI1143 and uBlox. It allows you to quickly build a Sensornode that measures specific data with its sensors and sends it via LoRaWAN.

Dependencies:   mDot_LoRa_Sensornode_Flowmeter_impl mbed-rtos mbed

LoRa-Sensornode Firmware for Multitech mDot

A multifunctional and modular Firmware for Multitech's mDot which provides a widerange of functionality for several Sensors. It allows you to quickly build a Sensornode that measures specific data with its sensors and sends it via LoRaWAN.

/media/uploads/mitea1/logo-lora-600x370.png /media/uploads/mitea1/mt_mdot_family_642px.png

Supported Sensors

Idea

The Firmware has some predefined Application Modes running different Tasks(Measurements). Each mode can be used in a different Scenario. Application_Modes define which sensors are used, how often they aquire data and how often the data has to be sent via LoRa. Lets say you just want to measure the Light then you choose an Application_Mode (or define one) that only runs TaskLight for light measurement. As a standard all measurements are taken every second and sent via LoRa but you can change that interval depending on your usage Scenario

Committer:
mitea1
Date:
Tue Nov 01 19:42:40 2016 +0000
Revision:
8:4b4d58bd631c
Parent:
7:87cbeafdba06
Child:
9:c4e378f4801d
declared APP_EUI and APP_KEY for TTN OTAA as MSB

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mitea1 0:f2815503561f 1 #include "Application.h"
mitea1 0:f2815503561f 2 #include "ApplicationConfig.h"
mitea1 0:f2815503561f 3 #include "UARTTunnel.h"
mitea1 7:87cbeafdba06 4 #include "Queue.h"
mitea1 7:87cbeafdba06 5
mitea1 0:f2815503561f 6
mitea1 0:f2815503561f 7 int main() {
mitea1 0:f2815503561f 8
mitea1 0:f2815503561f 9 Application application;
mitea1 8:4b4d58bd631c 10 application.init(APPLICATION_MODE_3);
mitea1 0:f2815503561f 11
mitea1 0:f2815503561f 12 while (true) {
mitea1 7:87cbeafdba06 13 sleep();
mitea1 0:f2815503561f 14 }
mitea1 0:f2815503561f 15
mitea1 0:f2815503561f 16 return 0;
mitea1 0:f2815503561f 17 }