Calibrating an Analog pH Sensor
HTML-код
- Опубликовано: 9 сен 2024
- This video is an overview and tutorial for an analog pH sensor that's compatible with both Arduino and Raspberry Pi but I'll also give a general overview of linear functions and interpolation. Plus I'll show you how to write a custom code to use this sensor on an unsupported platform (Espruino).
Measuring pH is pHun! (...I'm here all night folks.)
/* DF Robot Analog pH Sensor */
www.dfrobot.co...
Arduino Library: github.com/DFR...
Python Library: github.com/DFR...
/* DF Robot ADC Converter */
www.dfrobot.co...
/* Pixl.js */
shop.espruino....
Espruino IDE: www.espruino.c...
I'm a web developer.Curiosity bought me here. wow I learned lot of stuff today
thank you, i wanst able to see it, now to see it it seems so easy, thank you for helping
Perfectly explained👍
Sir this is cool
Do i need to test a 2 different ph level and compute it, before i i can make my ph sensor to work accurately? I only have a used ph sensor. No ph 4,7.
@@chrisuel4783 To get it working accurately you probably do need the buffer solutions. DF Robot maintains an arduino library for it here: github.com/DFRobot/DFRobot_PH
The code to test it using the library is here: github.com/DFRobot/DFRobot_PH/blob/master/example/DFRobot_PH_Test/DFRobot_PH_Test.ino
It uses the default serial port, which you can open in the arduino IDE and shows the reading update every second.
Thank you!
I have a Problem i can enter the PH calibration MODE with “ENTERPH”
but not able to “CALPH” when I enter this word in CMD Serial monitor nothing happens.
Hi, can I use it for RaspberryPi applications?
Thnak you ! Is there any review of the electrode itself
Can i use this sensor, that send a 5v signal with a Nodemcu esp8266 that receive just 3.3v?
What if the pH sensor is submerged in a solution which might change its pH? Will it work fine or does it need cleaning on regular basis?
Thank you for this video :-) Can you post a how-to video for calculating a 'temperature compensating" ph value?
From what I've read, near a pH of 7 the temperature shouldn't matter much but the further away the more of an impact the temperature has. I believe colder temperatures make it read more basic and hot temperatures read more acidic. I'll look around for a more formal definition and see if I can apply that to some code.
@@DavyBot I searched google and found this pdf: www.hach.com/asset-get.download.jsa?id=17525673904 I don't have the gravity ph sensor to test; however, I do have an espruino pixl.
nice stuff....now, how would you automate this? Like leaving the probe in your tank? Especially, to get real time data online.
aquarium water alert when not home?
Nice... can you tell me which component is used by the ph meter v2 ?
Is there a drift over time!
Can I replace another probe for E201C? Example: HI1002,HI1003
is this ph sensor can use for soil ?
to measure ph for soil
Hey sir cool vid. You think i could look at your codes?
Nah
sorry, i am working with stm to read sesor PH and i have the following problem!
STM has VREF + (3.3V) while arduino with VREF+ (5V) so I cannot use the arduino formula to apply to STM. Do you have a suggestion for me?
in the video he is using an ESP chip. The esp chip is also 3.3v
Can you help me with the code? via raspi? huhuhu
amazing .,thankyou very much...,.i assume the temperature can be calculate by this formula too.., i have a thermometer haha
Theoretically anything can be derived, but whether or not it matches the actual values with minimal margin for error is an entirely different argument. A linear curve is the most basic plot for direct relationship whenever a constant is established, however with temperature it is better to use a curved formula due the amount of standard deviation involved as temp rises or falls along with voltage. I would use a basic cubic formula to better derive the relativity of the point. f(x)=x^3 + B B=constant values or y, and x being the temperature reading.
@@Robert5185 thanks ...i'll try it out..
Storage solution within the probe storage cap are always acidic. not neutral. This is due to the way the glass of the probe functions. Using a PH 7 will destroy your probe. if you leave it in distilled water you will damage your probe. or just store it in PH up.. big no no.. always use real storage solution I learned that a long time ago. These analog probes are pretty janky I would of paired this with something from atlas scientific but I did want to see how these little $10 probes work so thanks.
What about sea water? Will salinity effect the reading on a PH4502C analogue over time?
the value of M = -18.75? but why my calc say it is about -0.1875 , is something missing here or what..cause my cal about PH things become wrong..haha...need advice
i have PH1(5,3)=493 and PH2(6.6)=503 at your case the greater PH has smaller analog value...,but in my case is the ooposite? is something wrong with my analog module or just my head? haha
Great video (: But this is not linear algebra
How so? It's a linear equation (a simple one, but a linear equation nonetheless).
Yes it is a linear equation (: Linear Algebra is about matrices, vectors and so on (:
Sure, but linear equations are the fundamental basis for which that framework of matrix mathematics takes place. If you open up an "intro to linear algebra" book you will usually start with this basic slope-intercept form stuff. And then expand into higher dimensional units and systems of linear equations. But that doesn't mean that linear equations aren't linear algebra. They're just really really basic linear algebra.
long map(long x, long in_min, long in_max, long out_min, long out_max)
{
return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
}
NOT LINEAR ALG
Why you are explaining what the ph is!I mean no one would watch how to calibrate the ph sensor without knowing what ph is.