Skip to content

Commit

Permalink
Increased measurement time for Hydros21
Browse files Browse the repository at this point in the history
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
  • Loading branch information
SRGDamia1 committed May 2, 2022
1 parent 0b582d7 commit 8526b7e
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 8 deletions.
10 changes: 9 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
***


## [0.33.3]

### Fixed
- Increased measurement time for Hydros21 to work with the latest version of the sensor.
***


## [0.33.2]

### Fixed
Expand Down Expand Up @@ -740,7 +747,8 @@ Our first release of the modular sensors library to support easily logging data

***

[Unreleased]: https://github.com/EnviroDIY/ModularSensors/compare/v0.33.2...HEAD
[Unreleased]: https://github.com/EnviroDIY/ModularSensors/compare/v0.33.3...HEAD
[0.33.3]: https://github.com/EnviroDIY/ModularSensors/releases/tag/v0.33.3
[0.33.2]: https://github.com/EnviroDIY/ModularSensors/releases/tag/v0.33.2
[0.33.1]: https://github.com/EnviroDIY/ModularSensors/releases/tag/v0.33.1
[0.33.0]: https://github.com/EnviroDIY/ModularSensors/releases/tag/v0.33.0
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.33.2
0.33.3
2 changes: 1 addition & 1 deletion docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = ModularSensors
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 0.33.2
PROJECT_NUMBER = 0.33.3

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EnviroDIY_ModularSensors",
"version": "0.33.2",
"version": "0.33.3",
"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.",
"keywords": "modular, sensor, sensors, datalogger, logger, low power, sleeping, EnviroDIY, ModularSensors, Mayfly, WikiWatershed, Monitor My Watershed, ThingSpeak",
"platforms": "atmelavr, atmelsam",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=ModularSensors
version=0.33.2
version=0.33.3
author=Sara Damiano <sdamiano@stroudcenter.org>, Shannon Hicks <shicks@stroudcenter.org>
maintainer=Sara Damiano <sdamiano@stroudcenter.org>
sentence=A library that allows access to multiple sensors through a unified interface.
Expand Down
2 changes: 1 addition & 1 deletion src/ModularSensors.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* @brief The current library version number
*/
#define MODULAR_SENSORS_VERSION "0.33.2"
#define MODULAR_SENSORS_VERSION "0.33.3"

// To get all of the base classes for ModularSensors, include LoggerBase.
// NOTE: Individual sensor definitions must be included separately.
Expand Down
15 changes: 13 additions & 2 deletions src/sensors/MeterHydros21.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,19 @@
/// @brief Sensor::_stabilizationTime_ms; the Hydros 21 is stable as soon as it
/// warms up (0ms stabilization).
#define HYDROS21_STABILIZATION_TIME_MS 0
/// @brief Sensor::_measurementTime_ms; maximum measurement duration: 500ms.
#define HYDROS21_MEASUREMENT_TIME_MS 500
/**
* @brief Sensor::_measurementTime_ms; maximum measurement duration: 1000ms.
*
* @note Older versions of the Hydro took less time (~500ms) to take a
* measurement, but the current version, as of 5/2/2022, takes a full second
* (1000ms) to consistently give results in concurrent measurement mode.
* Somewhat strangely, it does give results in ~450ms when operated
* non-concurrently. Depending on how many sensors you have, you may have faster
* results by forcing non-concurrent operation with the newest versions of the
* Hydros21. To do this compile with the [build flag](@ref sdi12_group_flags)
* `-D MS_SDI12_NON_CONCURRENT`.
*/
#define HYDROS21_MEASUREMENT_TIME_MS 1000
/// @brief Extra wake time required for an SDI-12 sensor between the "break"
/// and the time the command is sent. The Hydros 21 requires no extra time.
#define HYDROS21_EXTRA_WAKE_TIME_MS 0
Expand Down

0 comments on commit 8526b7e

Please sign in to comment.