Enabled gyro temp
This commit is contained in:
@ -82,8 +82,6 @@ This is a list of C++ defines that is used to enable/disable functions in the co
|
||||
- description
|
||||
* - ACTIVATE_OTA
|
||||
- Enables the OTA functionallity in the code
|
||||
* - USE_GYRO_TEMP
|
||||
- Uses temperature from gyro instead of DS18B20 (experimental)
|
||||
* - SKIP_SLEEPMODE
|
||||
- THe device never goes into sleep mode, useful when developing.
|
||||
* - CFG_DISABLE_LOGGING
|
||||
|
@ -165,7 +165,13 @@ Hardware Settings
|
||||
|
||||
* **Temperature correction:**
|
||||
|
||||
This value will be added to the temperature reading (negative value will reduce temperature reading).
|
||||
This value will be added to the temperature reading (negative value will reduce temperature reading). This is applied
|
||||
when the device starts. So changing this will not take affect until the device is restarted.
|
||||
|
||||
* **Gyro Temperature:**
|
||||
|
||||
Enable this feature will use the temp sensor i the gyro instead of the DS18B20, the benefit is shorter run time and
|
||||
longer battery life (this is an experimental feature).
|
||||
|
||||
* **OTA URL:**
|
||||
|
||||
@ -235,6 +241,7 @@ Other parameters are the same as in the configuration guide.
|
||||
"gravity-format": "G",
|
||||
"temp-adjustment-value": 0,
|
||||
"gravity-temp-adjustment": false,
|
||||
"gyro-temp": true,
|
||||
"gyro-calibration-data": {
|
||||
"ax": -330,
|
||||
"ay": -2249,
|
||||
@ -367,8 +374,8 @@ Used to update gravity settings via an HTTP POST command. Payload is in JSON for
|
||||
}
|
||||
|
||||
|
||||
POST: /api/config/gravity
|
||||
=========================
|
||||
POST: /api/config/hardware
|
||||
==========================
|
||||
|
||||
Used to update hardware settings via an HTTP POST command. Payload is in JSON format.
|
||||
|
||||
@ -378,6 +385,7 @@ Used to update hardware settings via an HTTP POST command. Payload is in JSON fo
|
||||
"id": "ee1bfc",
|
||||
"voltage-factor": 1.59,
|
||||
"temp-adjustment": 0,
|
||||
"gyro-temp": "off",
|
||||
"ota-url": "http://192.168.1.50/firmware/gravmon/"
|
||||
}
|
||||
|
||||
@ -461,6 +469,7 @@ present or the API call will fail.
|
||||
json = { "id": id,
|
||||
"voltage-factor": 1.59, # Default value for voltage calculation
|
||||
"temp-adjustment": 0, # If temp sensor needs to be corrected
|
||||
"gyro-temp": true, # Use the temp sensor in the gyro instead
|
||||
"ota-url": "" # if the device should seach for a new update when active
|
||||
}
|
||||
set_config( url, json )
|
||||
|
@ -13,6 +13,8 @@ This is features for the next release.
|
||||
* Refactored main.cpp to make it easier to read
|
||||
* Tested runtime performance
|
||||
* Improved documentation
|
||||
* Added warning on config page when sleep is <300
|
||||
* Enabled selection of gyro temperature sensor under Hardware settings.
|
||||
|
||||
v0.5.0
|
||||
------
|
||||
|
Reference in New Issue
Block a user