Hello guys,I’m a newbie to Blynk.I want to read right value from my analog ph meter(https://www.robotshop.com/en/gravity-analog-ph-meter-kit.html).Could you help me please?
P.S. I’m using ESP8266 connecting to Blynk.
Here is my code and my wrong ph value result.
As per the directions you deleted in order to post this… I fixed your posted code formatting
Your code does not appear to be sending any output to the display widget you refer to as PH… so how can we determine what you are doing wrong?
Sending raw “data” (actually just a voltage level) to an Analog pin will get you RAW values… ranging from 0-1023, based on the 0-3.3v input… basically normal. Whatever sensor you are using probably needs code to translate the true value.
Look at the PDF for that sensor… there is some example code in there that should do the conversion… then set your Display Widget to a virtual pin and send your translated Analog data to it via a **Blynk.virtualWrite(vPin, value)** just like the others.