Home › Forums › Mayfly Data Logger › 1.1 revB and Clarivue 10 Turbidity Sensor › Reply To: 1.1 revB and Clarivue 10 Turbidity Sensor
Once you’ve done that, you need to set one of the SDI-12 Grove sockets to 12v (but it’ll really be 9v because your solder blob changes the 12v regulator circuit to 9v). Move one of the header jumpers from its default 3v setting to 12v. There’s an example photo of different voltage settings in the middle of this page: https://www.envirodiy.org/mayfly/hardware/jumper-settings/
Then you also need to make sure that you’re using the latest “CampbellClariVUE.h” file from Github here: https://github.com/EnviroDIY/ModularSensors/blob/master/src/sensors/CampbellClariVUE10.h because the latest version of the sensors seems to need more warmup and sample time than the ones we originally tested the library with. Specifically, lines 88 and 99 need to be changed to 8000ms and 11000ms. So either manually change those lines in the file on your computer or download the latest .h file from github and replace the one on your computer. You won’t need to make any changes to your actual logger sketch, the timing changes only need to be made in that one library file. When you compile and upload the sketch, the new sample times in the library will be used. I explained more about this issue in the other forum post as well if anyone wants to see a full description of the issue and our recommended fix.
And your screw terminal board could use a little extra work to make it safer in the long run. The wire leads on the sensor cable should be cut shorter so there’s no exposed copper wire seen where the wire enters the terminal block clamp. This will prevent 2 wires from accidentally touching if they get bent or pushed around when inside the enclosure. There are 2 Ground terminals, so you can connect the black wire to one ground pin, and the clear shield wire to the other ground pin. In general, putting 2 wires into one screw terminal socket should be avoided whenever possible. The white sensor wire is data, which goes to the S2 pin of the screw terminal board, and the red sensor wires goes to either of the +V pin of the terminal board (they’re both the same). See the attached photo of an example of how we wire our ClariVUE sensors to the screw terminal board.