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: PH Sensor Issue

Home Forums Environmental Sensors PH Sensor Issue Reply To: PH Sensor Issue

#12976
Shannon Hicks
Participant

Also, you need to use 3.3 volts as the board voltage in your conversion formula and not 5.0 volts. And if you’re measuring a 50/50 voltage divider, you’ll then need to double the measured voltage to get the true sensor voltage. So:

float voltage = (sensorValue * (3.3 / 1023.0)) * 2.0;