I looked at the sample programs of each pH sensors and find atlas easier to understand. I just started programming and only knows the basics. I want to make a float out of data gathered of the sensor.. something if ph < 5.5, do this, if ph >6.5, do that, just like in atlas.. Anyone can help me? Any advice would be appreciated.
Which Arduino board do you have ?
Did you connect the 5V and GND to the module ? and the analog signal to an analog input pin ?
Did you see the example code at dfrobot ? Did it work ?
The variable 'phValue' in that example is the actual PH value.
So you can do things like this:
if (phValue < 5.5 )
{
 // sound the alarm
}
if (phValue > 6.5 )
{
 // open the valve
}