Question : sensor ph-4502c arduino esp32
Answered by : healthy-hare-1i6acciocqah
int pH_Value;
float Voltage;
void setup()
{ Serial.begin(9600); pinMode(pH_Value, INPUT);
}
void loop()
{ pH_Value = analogRead(35); Voltage = pH_Value * (3.3 / 4095.0); Serial.println(Voltage); delay(500);
}
Source : https://forum.arduino.cc/t/calibration-problem-ph-4502c-with-esp32/896577 | Last Update : Tue, 21 Jun 22