TroubleshootingGravity

SEN0161-V2 Analog pH Sensor

userHead Nour.Hadj taieb 2023-05-25 21:06:01 629 Views1 Replies

I'm programming with nRf5340 dk and zephyr and I'm having trouble getting the formula of the analog ph sensor with the internal adc_voltage and temperature. Can you please explain to me how to get true results from this sensor and provide me with the correct formula?  

2023-05-26 11:08:55

pls refer to the library: https://github.com/DFRobot/DFRobot_PHvoltage = analogRead(PH_PIN)/1024.0*5000;  // read the voltage   Arduino uno 10bit(2^10=1024)   Arduino uno 5V (5000)  You will need to modify this formula if you replace other masters.

 

 

 

userHeadPic jenna