Hi all,
finally i got the 1130 - pH/ORP Adapter of phidgets (pH/ORP Adapter - 1130_0B at Phidgets
and PH elctrode from ebay.
i tired to write the C code for it to but the results isn't correct.\
i bought 3 water bottles (PH 6.8, 7.45, 7.8) but the result that i get isn't good, according to the formula in the manual guide: http://www.robotshop.com/content/PDF/product-manual-1130.pdf
const int PHprobe = 1;
void setup() {
Serial.begin(9600);
}
void loop() {
int WaterTemp = 18;
float pH1, pH2, pH3;
int i;
for(i = 0;i <= 7;i++) {
pH2 += 0.0178 * analogRead(PHprobe) - 1.889;
pH3 += 7 - (2.5 - analogRead(PHprobe)/1024) / (0.257179 + 0.000941468 * WaterTemp);
delay(1000);
}
pH1 = analogRead(PHprobe);
Serial.print(pH1, DEC);
Serial.print("\n");
pH2 = pH2 / 8;
Serial.print(pH2, DEC);
Serial.print("\n");
pH3 = pH3 / 8;
Serial.print(pH3, DEC);
Serial.print("\n");
Serial.print("====================================");
Serial.print("\n");
delay(10000);
}
the results i got:
pH1 || pH2 || pH3 || Voltage
7.8 water 532 7.58 5.188 2.662
7.45 water 552 7.93 5.188 2.655
6.8 water 499 6.99 5.188 2.428
tnx alot for the helpers...