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.
Supported Sensors
- MAX44009 (Lux Measurment) http://www.ebay.ie/itm/MAX44009-Ambient-Light-Sensor-Module-for-Arduino-with-4P-Pin-Header-/381676089124?hash=item58ddaaef24:g:-ecAAOSwzJ5XZm5E
- BME280 (Temperature, Pressure and Humdity Measurment) At the moment there are some known problem using this. https://www.adafruit.com/product/2652 https://www.amazon.com/Diymall-Pressure-Temperature-Sensor-Arduino/dp/B0118XCKTG
- MPU9250 (Acceleration, Gyroscope and Magnetometer) http://www.watterott.com/de/9-DOF-IMU-Module-With-MPU-9250
- Si1143 (Proximity up to 50cm) https://moderndevice.com/product/si1143-proximity-sensors/
- uBlox M8Q (GPS Position) http://www.dx.com/de/p/gygpsv3-m8n-u-blox-neo-m8n-001-flight-controller-gps-module-blue-394557#.V4lFW-uLRhE
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
History
wtf
2018-11-02, by mitea1 [Fri, 02 Nov 2018 17:01:02 +0000] rev 10
wtf
[MOD]initial commit for flowsensor
2018-11-02, by mitea1 [Fri, 02 Nov 2018 16:58:23 +0000] rev 9
[MOD]initial commit for flowsensor
declared APP_EUI and APP_KEY for TTN OTAA as MSB
2016-11-01, by mitea1 [Tue, 01 Nov 2016 19:42:40 +0000] rev 8
declared APP_EUI and APP_KEY for TTN OTAA as MSB
LoRa Downlink Messages can now be received. Command Receiver and Handler implemented.
2016-10-08, by mitea1 [Sat, 08 Oct 2016 09:55:41 +0000] rev 7
LoRa Downlink Messages can now be received. Command Receiver and Handler implemented.
Base Task Class added and inheritance from Task Class implemented for other TaskClasses
2016-09-10, by mitea1 [Sat, 10 Sep 2016 11:23:35 +0000] rev 6
Base Task Class added and inheritance from Task Class implemented for other TaskClasses
implementation of sleep() and deepsleep() possibility for Firmware Tasks
2016-08-21, by mitea1 [Sun, 21 Aug 2016 08:43:27 +0000] rev 5
implementation of sleep() and deepsleep() possibility for Firmware Tasks
implementation of sleep() and deepsleep() for the Firmwares Tasks
2016-08-21, by mitea1 [Sun, 21 Aug 2016 08:41:01 +0000] rev 4
implementation of sleep() and deepsleep() for the Firmwares Tasks
adapting mbed-rtos and mbed library for bugfixing. thanks to skramer for the bug info
2016-08-14, by mitea1 [Sun, 14 Aug 2016 11:33:36 +0000] rev 3
adapting mbed-rtos and mbed library for bugfixing. thanks to skramer for the bug info
housekeeping to eliminate some warnings
2016-08-13, by mitea1 [Sat, 13 Aug 2016 07:36:06 +0000] rev 2
housekeeping to eliminate some warnings
added OTAA Join Mode for LoRa Connection
2016-08-12, by mitea1 [Fri, 12 Aug 2016 11:19:14 +0000] rev 1
added OTAA Join Mode for LoRa Connection