Forum Replies Created
-
AuthorPosts
-
2026-09-29 at 11:44 AM in reply to: logger stops uploading to Monitor My Watershed at a set duration #19976
Reverting back to the v0.33.2 library has fixed the issue. Is there something I can edit on my current script to work with the newer library or should I redo it using the DRWI_Mayfly1.ino example script that Sara recommended here: Library issues – EnviroDIY
2026-09-25 at 5:49 PM in reply to: logger stops uploading to Monitor My Watershed at a set duration #19971I checked on the sd card and it looks like it is still recording data after it stops sending data to monitor my watershed, but everything is “-9999” except for board temp and TurbLow just registers the last reading. I reuploaded the script, but this time I’m using v.0.33.2 library.
Attachments:
Thank you for the information. I will try the voltmeter for confirmation.
Can a 7-year-old OBS3+ turb sensor go bad if it has been sitting in a climate-controlled room? It was probably used only a couple of times for testing indoors but has been powered off for at least 6 years. I get a positive reading when exposed in the open air, but when I cover it with a towel, I get a negative reading. I’m getting similar results with two different mayfly logger boards, so I think I can rule out a bad analog-to-digital converter.
Do you have a recommendation for connecting a OBS3+ turb sensor to the current Multipurpose 6-pin Screw Terminal Grove Adapter?
I have the white cable (high range signal) going to S2, blue (low range) to S1, red (power) to V+. Since there are only 2 grounds on the current grove adapter, how should I plug in the green, black, and clear wires? Should the black (power ground) go into the V+ slot?
And just to confirm the OBS3+ jumper is set at 5V in the Auxiliary ADC Grove connector while the ClariVue10 jumper is set at 12V in the Digital pin Grove connector.
Have you had success with the Sandisk ultras? https://www.bhphotovideo.com/c/product/1593899-REG/sandisk_sdsqua4_032g_an6ia_imaging_ultra_32gb.html
Looks like they are the next step from the basic Sandisk. thanks
Hi, I’m ready to get my sensors out for this year to start data logging, but I’m stilling having the interval reporting issues with both the CTD and ClariVUE10 sensor. Could the libraries be causing these issues? Are the three sensors, CTD, ClarieVue10, and C-FLUOR Phycocyanin overloading the logger? Is there an updated libraries available? I’m not sure where things are going wrong. thank you.
I spoke too soon. The Campbell ClariVUE10 eventually developed interval reporting issues with the last library that I mentioned above so I copied the libraries from my old computer onto my new computer because it was the last set of libraries that didn’t have issues. But now it is having interval reporting issues too and the CTD sensor readings have spikes in the data. Here is my site: https://monitormywatershed.org/sites/TWI_WargoPondHAB/
When I first started setting up the data logger with the 3 sensors (Meter CTD, Campbell ClariVUE10, and Turner C-Flour Phyco), I used my old laptop to program the board. The library was from 04/2022 but I had to replace the CampbellClariVUE.h file with a more recent updated version. It seemed like the most stable out of the other libraries.
I think this is my third or fourth library iteration. All of the latest libraries seem to have issues where we need to revert back to older versions. I’m going to try to re upload the sketch from my old laptop next to see if it fixes the problem.
Is there something else I should be looking at? The voltages for the current sensors are: Meter CTD 3V, Campbell ClariVUE10 12V, and Turner C-Flour Phyco 5V.
thank you.
Here are the results with the blue spirulina that has a known phycocyanin concentration (https://www.amazon.com/dp/B08XC7KSRP?ref=ppx_yo2ov_dt_b_fed_asin_title). PPB readings are still off.
Campbell ClariVUE10 reporting intervals seems to be resolved when I went back to a library I downloaded back in Nov 2024 but kept the SRC-sensors folder from the ModularSensors_Dependencies_0.35.0, except I stuck with the Nov 2024 version of the CampbellClariVUE10.h file.
Attachments:
We have been testing out the Turner C-FLUOR (PC) PHYCOCYANIN sensor and getting mixed results where we are not sure if it is the sensor, sketch, or something else.
When measuring pure di water we are getting readings of around 5 – 6 ppb in both an opaque jar and open jar with the sensor in a shade cap.
We bought blue spirulina (https://www.amazon.com/dp/B08233QMH4?ref=ppx_yo2ov_dt_b_fed_asin_title) and did 5 different ppb dilutions and here are the results that we got: attached below. It seems like the sensor is under reporting.
We will test again using blue spirulina that has a known phycocyanin concentration (https://www.amazon.com/dp/B08XC7KSRP?ref=ppx_yo2ov_dt_b_fed_asin_title).
Here is the C-FLUOR calibration cert: attached below.
Here is the partial sketch for the three sensors:
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758// ==========================================================================// Meter Hydros 21 Conductivity, Temperature, and Depth Sensor// ==========================================================================/** Start [hydros21] */#include <sensors/MeterHydros21.h>const char* hydrosSDI12address = "1"; // The SDI-12 Address of the Hydros 21const uint8_t hydrosNumberReadings = 6; // The number of readings to averageconst int8_t SDI12Power = sensorPowerPin; // Power pin (-1 if unconnected)const int8_t SDI12Data = 7; // The SDI12 data pin// Create a Meter Hydros 21 sensor objectMeterHydros21 hydros(*hydrosSDI12address, SDI12Power, SDI12Data,hydrosNumberReadings);/** End [hydros21] */// ==========================================================================// Campbell ClariVUE10 SDI-12 Turbidity Sensor// ==========================================================================/** Start [ClariVUE] */#include <sensors/CampbellClariVUE10.h>// NOTE: Use -1 for any pins that don't apply or aren't being used.const char* ClariVUESDI12address = "2"; // The SDI-12 Address of the ClariVUE10const int8_t ClariVUEPower = sensorPowerPin; // Power pinconst int8_t ClariVUEData = 7; // The SDI-12 data pin// NOTE: you should NOT take more than one readings. THe sensor already takes// and averages 8 by default.// Create a Campbell ClariVUE10 sensor objectCampbellClariVUE10 clarivue(*ClariVUESDI12address, ClariVUEPower, ClariVUEData);/** End [ClariVUE] */// ==========================================================================// Turner C-FLUOR Phycocyanin Sensor// ==========================================================================/** Start [cyclops] */#include <sensors/TurnerCyclops.h>// NOTE: Use -1 for any pins that don't apply or aren't being used.const int8_t cyclopsPhycoPower = sensorPowerPin; // Power pinconst uint8_t cyclopsPhycoNumberReadings = 10;const uint8_t cyclopsPhycoADSi2c_addr = 0x48; // The I2C address of the ADS1115 ADCconst int8_t cyclopsPhycoADSChannel = 0; // ADS channel// Cyclops calibration informationconst float cyclopsPhycoStdConc = 969.2924; // Concentration of the standard used// for a 1-point sensor calibration.const float cyclopsPhycoStdVolt = 0.5; // The voltage (in volts) measured for the conc_std.const float cyclopsPhycoBlankVolt = 0.0078; // The voltage (in volts) measured for a blank.// Create a Turner Cyclops sensor objectTurnerCyclops cyclopsPhyco(cyclopsPhycoPower, cyclopsPhycoADSChannel, cyclopsPhycoStdConc,cyclopsPhycoStdVolt, cyclopsPhycoBlankVolt, cyclopsPhycoADSi2c_addr,cyclopsPhycoNumberReadings);/** End [cyclops] */Another thing I notice is the Campbell ClariVUE10 skipping reporting intervals, while the other sensors seem fine. https://monitormywatershed.org/sites/TWI_testc/
It started happening after I switched my laptop to upload the sketch and used the ModularSensors_Dependencies_0.35.0 library. My previous laptop used an older 2022 library, but I had to copy and replace the CampbellClariVUE10.h file with a new version to get the turbidity sensor to work. Is the library version issue causing the reporting interval issues? Is having 2 sensors on the same SDI-12 data pin ok?
thank you.
Since I am only using one C-FLOUR sensor, does having two pair of soldered resistors affect anything or should I redo the screw terminal board to only have one pair of resistors?
Thank you for the tip on needing two separate screw terminal boards because each C-FLOUR needing 2 ground terminals each.
I was getting the same error message as the poster above, so I went ahead and followed the instructions that Shannon provided to fix it (2025-01-22 at 2:07 PM), but now I am getting this error message that I attached. That is one of 10ish errors that I am getting.
When checking out the libraries folder, everything seems in order.
The previous library worked fine for 2 sketches that I uploaded, an address change sketch and an analog serial reading sketch that Shannon provided here: https://www.envirodiy.org/topic/continous-hab-monitoring/, but when I went to upload the DRWI modified sketch I get the AlphasenseCO2.cpp:17:10: fatal error: Adafruit_ADS1X15.h: No such file or directory
#include <Adafruit_ADS1X15.h> error.My libraries are in a OneDrive documents folder.
Attachments:
-
AuthorPosts
Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of 



