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...

Комментарии • 45

  • @harip6467
    @harip6467 5 лет назад +3

    I'm a web developer.Curiosity bought me here. wow I learned lot of stuff today

  • @kinjyhuannaw5431
    @kinjyhuannaw5431 Месяц назад

    thank you, i wanst able to see it, now to see it it seems so easy, thank you for helping

  • @et.sachin
    @et.sachin 5 лет назад

    Perfectly explained👍

  • @chrisuel4783
    @chrisuel4783 5 лет назад +1

    Sir this is cool

    • @chrisuel4783
      @chrisuel4783 5 лет назад

      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.

    • @DavyBot
      @DavyBot  5 лет назад

      @@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.

  • @KJ7JHN
    @KJ7JHN 5 лет назад

    Thank you!

  • @99klicks59
    @99klicks59 Год назад

    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.

  • @aimangotze
    @aimangotze 3 года назад +1

    Hi, can I use it for RaspberryPi applications?

  • @Fratzenzeuch
    @Fratzenzeuch 10 месяцев назад

    Thnak you ! Is there any review of the electrode itself

  • @Mcbryanxdgamers
    @Mcbryanxdgamers 5 лет назад +1

    Can i use this sensor, that send a 5v signal with a Nodemcu esp8266 that receive just 3.3v?

  • @hkkira327
    @hkkira327 5 лет назад +1

    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?

  • @richg.9652
    @richg.9652 5 лет назад +1

    Thank you for this video :-) Can you post a how-to video for calculating a 'temperature compensating" ph value?

    • @DavyBot
      @DavyBot  5 лет назад +1

      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.

    • @richg.9652
      @richg.9652 5 лет назад +2

      @@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.

  • @ForceOfWizardry
    @ForceOfWizardry 5 лет назад

    nice stuff....now, how would you automate this? Like leaving the probe in your tank? Especially, to get real time data online.

  • @homegeographic5351
    @homegeographic5351 2 года назад

    aquarium water alert when not home?

  • @TheLapin34
    @TheLapin34 4 года назад

    Nice... can you tell me which component is used by the ph meter v2 ?

  • @Brickkzz
    @Brickkzz 3 года назад

    Is there a drift over time!

  • @phuongnguyenminh41
    @phuongnguyenminh41 5 лет назад

    Can I replace another probe for E201C? Example: HI1002,HI1003

  • @zainahmad7502
    @zainahmad7502 5 лет назад

    is this ph sensor can use for soil ?
    to measure ph for soil

  • @michaelmerritt3322
    @michaelmerritt3322 5 лет назад +1

    Hey sir cool vid. You think i could look at your codes?

  • @phucphamvan8185
    @phucphamvan8185 4 года назад

    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?

    • @christeschke9844
      @christeschke9844 4 года назад

      in the video he is using an ESP chip. The esp chip is also 3.3v

  • @jeannelynobero4560
    @jeannelynobero4560 6 месяцев назад

    Can you help me with the code? via raspi? huhuhu

  • @abcorp7788
    @abcorp7788 5 лет назад

    amazing .,thankyou very much...,.i assume the temperature can be calculate by this formula too.., i have a thermometer haha

    • @Robert5185
      @Robert5185 5 лет назад +1

      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.

    • @abcorp7788
      @abcorp7788 5 лет назад

      @@Robert5185 thanks ...i'll try it out..

  • @rabiesbabies2614
    @rabiesbabies2614 5 лет назад +1

    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.

    • @Robert5185
      @Robert5185 5 лет назад

      What about sea water? Will salinity effect the reading on a PH4502C analogue over time?

  • @abcorp7788
    @abcorp7788 5 лет назад

    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

    • @abcorp7788
      @abcorp7788 5 лет назад

      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

  • @rasmushaun1773
    @rasmushaun1773 5 лет назад +1

    Great video (: But this is not linear algebra

    • @DavyBot
      @DavyBot  5 лет назад

      How so? It's a linear equation (a simple one, but a linear equation nonetheless).

    • @rasmushaun1773
      @rasmushaun1773 5 лет назад

      Yes it is a linear equation (: Linear Algebra is about matrices, vectors and so on (:

    • @DavyBot
      @DavyBot  5 лет назад +2

      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.

  • @umka1111111111111111
    @umka1111111111111111 5 лет назад

    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;
    }

  • @DingoAteMeBaby
    @DingoAteMeBaby 4 года назад

    NOT LINEAR ALG

  • @shafiatasnim3116
    @shafiatasnim3116 5 лет назад +1

    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.