Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY? Start here

Reply To: Turbidity Sensor Information/Questions

Home Forums Environmental Sensors Turbidity Sensor Information/Questions Reply To: Turbidity Sensor Information/Questions

#17375
Shannon Hicks
Moderator

    Thanks for posting your code, I edited your post to put it into the “code formatting” window that you can use when pasting code into our forum.  It’s the little unlabled icon that looks like this:  “<>” in the toolbar above the text entry box.

    Your issue is caused by an error on line 186.  It should look like this:

     

    You can also include another variable to report the Clarivue temperature (because the sensor also reports water temperature) by adding this line to your variable list:

    I haven’t published the official example code for using a ClariVUE10 sensor yet because they haven’t added the sensor to the list of supported sensors on the MonitorMyWatershed website.  Once it gets added to MMW, I will publish the example, but it’s essentially exactly what you have above, minus the ES2 sensor, and with the correct variable declaration that I just posted here.