Skip to content

Trigger a reset if the pH goes below 7.0#229

Merged
jgfoster merged 5 commits intoOpen-Acidification:mainfrom
jgfoster:ph-failsafe
Jul 20, 2021
Merged

Trigger a reset if the pH goes below 7.0#229
jgfoster merged 5 commits intoOpen-Acidification:mainfrom
jgfoster:ph-failsafe

Conversation

@jgfoster
Copy link
Copy Markdown
Member

So bubbler isn't on continually.

@jgfoster jgfoster requested a review from prestoncarman July 20, 2021 00:35
Copy link
Copy Markdown
Member

@prestoncarman prestoncarman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread src/Devices/PHProbe.cpp
// convert the string to a floating point number so it can be evaluated by the Arduino
value = string.toFloat();
// we have seen situations where the CO2 bubbler stays on and drives the pH down
if (value < 7.0) { // hang so as to trigger the watchdog timer reset
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this could be hard coded, this seems like a threshold that should be user defined. Maybe we open an issue for customization.

@jgfoster jgfoster merged commit cc486cd into Open-Acidification:main Jul 20, 2021
@jgfoster jgfoster deleted the ph-failsafe branch July 20, 2021 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants