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
You are viewing an older revision! See the latest version
Sensor Modes
The Sensor Modes define sensorspecific Hardwareparameters which are going to be written directly to each Sensors Registers via I2C at it's Initialization. Please refer to the datasheets of each Sensor more detailed information about the paramters. My naming of the parameters should be the same as in the datasheets.
MAX44009Mode | Continuous Mode | Manual Configuration | Integration Time |
---|---|---|---|
0 | OFF | OFF | 800ms |
1 | ON | OFF | 400ms |
2 | ON | OFF | 200ms |
3 | ON | OFF | 100ms |
4 | ON | ON | 50ms |
5 | ON | ON | 25ms |
6 | ON | ON | 12.5ms |
BME280MODE | Oversampling Temperature | Oversampling Pressure | Oversampling Humidity | Mode |
---|---|---|---|---|
0 | 1 | 1 | 1 | FORCED |
1 | 1 | 1 | 1 | NORMAL |
2 | 2 | 2 | 2 | FORCED |
3 | 2 | 2 | 2 | NORMAL |
4 | 4 | 4 | 4 | FORCED |
5 | 4 | 4 | 4 | NORMAL |
6 | 8 | 8 | 8 | FORCED |
7 | 8 | 8 | 8 | NORMAL |
8 | 16 | 16 | 16 | FORCED |
9 | 16 | 16 | 16 | NORMAL |
MPU9250MODE | Accelerometer Scale | Gyroscope Scale | Magnetometer Bit Resolution | Magnetometer Measure Mode |
---|---|---|---|---|
0 | 2G | 250DPS | 16 | CONTINUOUS |
1 | 4G | 500DPS | 16 | CONTINUOUS |
2 | 8G | 1000DPS | 16 | CONTINUOUS |