Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mDot_LoRa_Sensornode_Flowmeter_impl mbed-rtos mbed
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 for 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 |