Forum Replies Created
-
AuthorPosts
-
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:
I’m just connecting one Turner phyco c-flour sensor.
I assume these resistor pairs are independent and shouldn’t affect how a single sensor reports.
Thank you for the previous response regarding the cable glands.Shannon, I went ahead and soldered four 10k resistors instead of the two I originally said, similar to what you did here:
Does that still work for my purposes or does it change things?
Thank you.
Thank you for that info.
I need to tap another hole for the Turner device and was wondering if you have a size recommendation for a drill tap and waterproof cable gland.
Shannon,
Thank you for the confirmation and write up for the sketch setup. I just have the phycocyanin C-FLUOR. This is my first time soldering, so I’m practicing on another board before I commit on the MP screw terminal board.
Have you notice big differences between the calibration sheet versus your manual calibration? And for the manual calibration on the mayfly, is there a specific sketch you use to get the voltages?
Shannon,
I attached a picture of how I am connecting the C-FLOUR to the multipurpose screw terminal board. Can you let me know if this is the correct wiring and resistor amount, type, and location?
Thank you.
Attachments:
-
AuthorPosts