![](/media/cache/profiles/db7f1194e147a97cc70203f89ad09be0.jpg.50x50_q85.png)
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
Diff: app/main.h
- Revision:
- 1:fe242f3e341b
- Parent:
- 0:f2815503561f
- Child:
- 2:641a67ff243f
--- a/app/main.h Wed Jul 06 20:40:36 2016 +0000 +++ b/app/main.h Fri Aug 12 11:19:14 2016 +0000 @@ -53,17 +53,17 @@ * @{ */ -#define LIGHT_TASK_DELAY_MS 2000 -#define TEMPERATURE_TASK_DELAY_MS 2000 -#define HUMIDITY_TASK_DELAY_MS 2000 -#define PRESSURE_TASK_DELAY_MS 2000 -#define ACCELERATION_TASK_DELAY_MS 2000 -#define GYROSCOPE_TASK_DELAY_MS 2000 -#define TESLA_TASK_DELAY_MS 2000 -#define PROXIMITY_TASK_DELAY_MS 2000 -#define GPS_TASK_DELAY_MS 2000 -#define LORA_MEASUREMENT_TASK_DELAY_MS 2000 -#define DATAHANLDER_TASK_DELAY_MS 2000 +#define LIGHT_TASK_DELAY_MS 15000 +#define TEMPERATURE_TASK_DELAY_MS 15000 +#define HUMIDITY_TASK_DELAY_MS 15000 +#define PRESSURE_TASK_DELAY_MS 15000 +#define ACCELERATION_TASK_DELAY_MS 15000 +#define GYROSCOPE_TASK_DELAY_MS 15000 +#define TESLA_TASK_DELAY_MS 15000 +#define PROXIMITY_TASK_DELAY_MS 15000 +#define GPS_TASK_DELAY_MS 15000 +#define LORA_MEASUREMENT_TASK_DELAY_MS 15000 +#define DATAHANLDER_TASK_DELAY_MS 15000 /** @} */