Skip to content

Commit a38c1ed

Browse files
committed
Merge branch 'master' into hmac_auth
2 parents 0f2e07c + cc9a66e commit a38c1ed

File tree

9 files changed

+25
-22
lines changed

9 files changed

+25
-22
lines changed

ChangeLog.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121
***
2222

2323

24+
## [0.33.4]
25+
26+
### Fixed
27+
- Increased warm-up and measurement time for Campbell ClariVUE-10 to work with the latest version of the sensor.
28+
***
29+
30+
2431
## [0.33.3]
2532

2633
### Fixed
@@ -747,7 +754,8 @@ Our first release of the modular sensors library to support easily logging data
747754

748755
***
749756

750-
[Unreleased]: https://github.com/EnviroDIY/ModularSensors/compare/v0.33.3...HEAD
757+
[Unreleased]: https://github.com/EnviroDIY/ModularSensors/compare/v0.33.4...HEAD
758+
[0.33.4]: https://github.com/EnviroDIY/ModularSensors/releases/tag/v0.33.4
751759
[0.33.3]: https://github.com/EnviroDIY/ModularSensors/releases/tag/v0.33.3
752760
[0.33.2]: https://github.com/EnviroDIY/ModularSensors/releases/tag/v0.33.2
753761
[0.33.1]: https://github.com/EnviroDIY/ModularSensors/releases/tag/v0.33.1

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.33.3
1+
0.33.4

continuous_integration/dependencies.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"owner": "adafruit",
6969
"library id": "6214",
7070
"url": "https://github.com/adafruit/Adafruit_BusIO",
71-
"version": "~1.11.3",
71+
"version": "~1.11.6",
7272
"note": "Adafruit BusIO, a dependency of other Adafruit libraries",
7373
"authors": ["Adafruit"],
7474
"frameworks": "arduino",
@@ -174,7 +174,7 @@
174174
"owner": "paulstoffregen",
175175
"library id": "1",
176176
"url": "https://github.com/PaulStoffregen/OneWire",
177-
"version": "~2.3.6",
177+
"version": "~2.3.7",
178178
"note": "OneWire - Control 1-Wire protocol (DS18S20, DS18B20, DS2408 and etc)",
179179
"authors": [
180180
"Paul Stoffregen",

docs/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = ModularSensors
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 0.33.3
41+
PROJECT_NUMBER = 0.33.4
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

library.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "EnviroDIY_ModularSensors",
3-
"version": "0.33.3",
3+
"version": "0.33.4",
44
"description": "A library that allows access to multiple sensors through a unified interface. This allows the user to simply access many sensors to log the data or send the data to data repositories like the EnviroDIY data portal.",
55
"keywords": "modular, sensor, sensors, datalogger, logger, low power, sleeping, EnviroDIY, ModularSensors, Mayfly, WikiWatershed, Monitor My Watershed, ThingSpeak",
66
"platforms": "atmelavr, atmelsam",
@@ -129,7 +129,7 @@
129129
"owner": "adafruit",
130130
"library id": "6214",
131131
"url": "https://github.com/adafruit/Adafruit_BusIO",
132-
"version": "~1.11.3",
132+
"version": "~1.11.6",
133133
"note": "Adafruit BusIO, a dependency of other Adafruit libraries",
134134
"authors": ["Adafruit"],
135135
"frameworks": "arduino",
@@ -235,7 +235,7 @@
235235
"owner": "paulstoffregen",
236236
"library id": "1",
237237
"url": "https://github.com/PaulStoffregen/OneWire",
238-
"version": "~2.3.6",
238+
"version": "~2.3.7",
239239
"note": "OneWire - Control 1-Wire protocol (DS18S20, DS18B20, DS2408 and etc)",
240240
"authors": [
241241
"Paul Stoffregen",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ModularSensors
2-
version=0.33.3
2+
version=0.33.4
33
author=Sara Damiano <sdamiano@stroudcenter.org>, Shannon Hicks <shicks@stroudcenter.org>
44
maintainer=Sara Damiano <sdamiano@stroudcenter.org>
55
sentence=A library that allows access to multiple sensors through a unified interface.

src/ModularSensors.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* @brief The current library version number
1616
*/
17-
#define MODULAR_SENSORS_VERSION "0.33.3"
17+
#define MODULAR_SENSORS_VERSION "0.33.4"
1818

1919
// To get all of the base classes for ModularSensors, include LoggerBase.
2020
// NOTE: Individual sensor definitions must be included separately.

src/sensors/CampbellClariVUE10.h

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@
3535
* The sensor is implemented as a sub-classes of the SDI12Sensors class.
3636
* It requires a 9.6 to 18 Vdc power supply, which can be turned off between measurements.
3737
* It draws < 300 µA when inactive and < 35 mA while measuring.
38-
* You will need a voltage booster or a separate power supply to give the ClariVUE10 sufficient voltage to run.
39-
* At the Stroud Center, we use [Pololu 12V Step-Up Voltage Regulators](https://www.pololu.com/product/2116).
4038
*
4139
* @note While it is supported, you should not average measurements for this sensor.
42-
* The sensor already takes 8 readings by default and returns the median of those.
40+
* The sensor takes a burst of 30 readings and returns the median of those.
4341
*
4442
* @section sensor_clarivue_datasheet Sensor Datasheet
4543
* The specifications and datasheet are available at https://www.campbellsci.com/clarivue10
@@ -87,21 +85,18 @@
8785
* This is longer than the expected 250ms for a SDI-12 sensor, but I couldn't
8886
* get a response from the sensor faster than that.
8987
*/
90-
#define CLARIVUE10_WARM_UP_TIME_MS 275
88+
#define CLARIVUE10_WARM_UP_TIME_MS 5500
9189
/// @brief Sensor::_stabilizationTime_ms; the ClariVUE10 is stable as soon as it
9290
/// warms up (0ms stabilization).
9391
#define CLARIVUE10_STABILIZATION_TIME_MS 0
9492
/**
95-
* @brief Sensor::_measurementTime_ms; the ClariVUE10 takes ~7200ms to
93+
* @brief Sensor::_measurementTime_ms; the ClariVUE10 takes ~9500ms to
9694
* complete a measurement.
9795
*
98-
* Spec sheet says the measurement time is 8s. When taking concurrent
99-
* measurements I was consistently getting a result before about 6800ms.
100-
* When taking a standard measurement I was getting a result after about 7185ms.
101-
* It seems safest to use round up from the time I was getting for a
102-
* non-concurrent measurment. Waiting the full 8s seems excessive.
96+
* Spec sheet says the measurement time is 9s. When taking a standard
97+
* measurement I was not getting a result until after about 9335ms.
10398
*/
104-
#define CLARIVUE10_MEASUREMENT_TIME_MS 7200
99+
#define CLARIVUE10_MEASUREMENT_TIME_MS 9500
105100
/// @brief Extra wake time required for an SDI-12 sensor between the "break"
106101
/// and the time the command is sent. The ClariVUE requires no extra time.
107102
#define CLARIVUE10_EXTRA_WAKE_TIME_MS 0

src/sensors/Decagon5TM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ bool Decagon5TM::getResults(void) {
115115
VWC = (4.3e-6 * (ea * ea * ea)) - (5.5e-4 * (ea * ea)) +
116116
(2.92e-2 * ea) - 5.3e-2;
117117
VWC *= 100; // Convert to actual percent
118-
MS_DBG(F("Calculated VWC:"), ea)
118+
MS_DBG(F("Calculated VWC:"), ea);
119119
if (VWC < 0) {
120120
VWC = 0;
121121
MS_DBG(F("Setting negative VWC to 0"));

0 commit comments

Comments
 (0)