pH Sensor & ESP32

i want to calibrate my pH sensor but it doesnt change

Please can anyone help?? it's a hardware or code problem?

You haven't shown your calibration code.

Please see the pinned post "How to get the best out of this forum" for how to properly post source code - not as a screenshot.

You havent shown or provided links to your hardware.
You should post your code as text not as a picture - we cant load a picture.
Use "copy for forum" in the IDE

I dont believe a ph of 13.2

This site

has this code


  avgValue=0;
  for(int i=2;i<8;i++)                      //take the average value of 6 center sample
    avgValue+=buf[i];
  float phValue=(float)avgValue*5.0/1024/6; //convert the analog into millivolt
  phValue=3.5*phValue;                      //convert the millivolt into pH value
  Serial.print("    pH:");  
  Serial.print(phValue,2);
  Serial.println(" ");

Sorry i'm new member here.. this my code

int pH_Value; 
float Voltage;
 
void setup() 
{ 
  Serial.begin(9600);
  pinMode(pH_Value, INPUT); 
} 
 
void loop() 
{ 
  pH_Value = analogRead(A0); 
  Voltage = pH_Value * (3.3 / 1023.0); 
  Serial.println(Voltage); 
  delay(500); 
}

Again, there is nothing in there to do calibration?

Surely, your sensor must have instructions on how to do its calibration - so follow those?

This seems backwards: surely, the analogRead() gives you a voltage*, and you want to convert that to a pH value?

* well, a number that represents a voltage.

ohh i see... Can you give me a link/tutorial to calibrate a ph sensor..
cause i saw a tutorial from youtube like this https://youtu.be/3_w4GhrEoQ8

Again, wasn't that information provided with whatever mystery sensor you have?

As @johnerrington said, please post a link to your hardware - including the pH sensor.

Also post your schematic, and some good, clear photos of your setup.

Did you look at the article @johnerrington linked?