PH Meter with ESP32 and DFRobot PH module (SEN0161-V2)

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ค. 2019
  • How to use DFRobot PH Meter module with an ESP32.
    DFRobot Module : www.dfrobot.com/product-1782....
    Come discover our irrigation/PH/EC controllers and automatic doser on our website : www.greenponik.com/en/
    Our customed DFRobot code (Arduino framework ) : github.com/GreenPonik/DFRobot...
    The example for platformio project : github.com/GreenPonik/esp32-r...
    Read EC and Ph both with same code:
    github.com/GreenPonik/esp32-r...
    Article about the library : greenponik.blogspot.com/2019/...
    FOLLOW US ON THE WORLD WIDE WEB :
    ---------------------------------------------------
    Twitter: / greenponik
    Facebook: / greenponik.iot
    Instagram: / greenponik.iot
    LinkedIn: / greenponik
    TH-cam: / @greenponik
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 116

  • @greenponik
    @greenponik  4 ปีที่แล้ว +3

    You can find everythings about code example ec meter in video description

  • @circle4922
    @circle4922 4 ปีที่แล้ว +1

    This is so cool.
    Thanks.

  • @johndijkstra9625
    @johndijkstra9625 4 ปีที่แล้ว +1

    Great! Now i really need ESP and PH controllers :-)

    • @greenponik
      @greenponik  4 ปีที่แล้ว +1

      2020 will be the year you'll get what you want ! ;-)

    • @greenponik
      @greenponik  3 ปีที่แล้ว

      Hi John! FYI, the preorders for our EC/PH smart auto-doser are ON, you can take a look on KickStarter right here: kck.st/39ku9p5
      Enjoy! ✌

  • @lklo_works
    @lklo_works 7 หลายเดือนก่อน

    Hello. Your video was helpful yes, but my pH sensor was wrongly calibrated for some reason. How do can you recalibrate the sensor or set it back to its default state?

  • @kenwayjohn2919
    @kenwayjohn2919 4 ปีที่แล้ว +5

    can you make tutorial on how to connect two sensor which is SEN0161-V2 and DS18B20 in esp32?
    and monitor it using blynk application

    • @mickaellehoux6606
      @mickaellehoux6606 4 ปีที่แล้ว

      hi, you get wiring in this kind of tutorial lastminuteengineers.com/ds18b20-arduino-tutorial/
      and start using blynk with this tutorial : th-cam.com/video/fgzvoan_3_w/w-d-xo.html

  • @Tamiletronics
    @Tamiletronics ปีที่แล้ว +1

    Hello , Thanks for code but the calibration cmd not working could not enter the Calibration mode.

  • @lifehackboutique5567
    @lifehackboutique5567 3 ปีที่แล้ว +1

    Great work thank you for sharing it. Do you think it will work with one of those cheap aliexpress PH module too?

    • @greenponik
      @greenponik  3 ปีที่แล้ว

      Hi, don't know, you have to test them.

  • @idksoiputthis2332
    @idksoiputthis2332 4 ปีที่แล้ว

    What about offset calibration? From what i have learned, voltage calibration by adjusting offset and calibration by reference solution are both requirements for this type of ph module

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      Hello, what do you mean? have you seen the whole video ? Calibration is explain here th-cam.com/video/EqFw561pO5k/w-d-xo.html

  • @waiyawatmancharoen8220
    @waiyawatmancharoen8220 ปีที่แล้ว

    How long can the probe be immersed in water?

  • @Hridoychowdhury
    @Hridoychowdhury 3 ปีที่แล้ว

    Hello, Thanks for the tutorial. I was wondering if this probe can be used for continuous measurements by always keeping it in a solution. If yes how long will it last and how often it might need cleaning? If continuously used, will it give us accurate results for its lifetime?
    Thank you.

    • @greenponik
      @greenponik  3 ปีที่แล้ว +1

      Hello, for us, DFrobot do not recommend to use the probe continuously in the water. For more info, go to DFrobot forum to post same question ;-)

  • @wildanhifzy2890
    @wildanhifzy2890 4 ปีที่แล้ว

    great video, but i want to ask, why dissolved oxygen sensor cant read the value if i used esp32?

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      hi @wildan we never test it but we think you can try this circuit and probe to read disolved oxygen with esp32
      atlas-scientific.com/dissolved-oxygen/

  • @muhammadfarhanjundiosama8686
    @muhammadfarhanjundiosama8686 5 หลายเดือนก่อน

    For this module PH4502C sensor can be configured to ESP32?

  • @andresroca9736
    @andresroca9736 3 ปีที่แล้ว +1

    Great video friend, nice explanation. Thanks a lot. May I ask a question: How reliable is the system for long-term outdoor applications (fish farming pool)?. Muchos saludos. 👍

    • @greenponik
      @greenponik  2 ปีที่แล้ว

      Not at all. The kit we make is reliable.

  • @gunawanfranky
    @gunawanfranky หลายเดือนก่อน

    Hi, I'm planning to put this on my reef tank for a real time reading 24/7, may i know if it will works for my project ?
    and what solution you used to clean the sensor? can i just use distilled water?

  • @mkrath72
    @mkrath72 4 ปีที่แล้ว +1

    Thanks Sir. Can you make a tutorial on how to connect this to a Raspberry Pi? I have with me a "I2C ADS1115 16-Bit ADC Module".

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      hello @Manas Rath, you can find the answer by search on google ADS1115 + ESP32
      microcontrollerslab.com/ads1115-external-adc-with-esp32/
      you have the wiring explanation here too
      th-cam.com/video/n1EBzMDPI74/w-d-xo.html

  • @metennisman22
    @metennisman22 3 ปีที่แล้ว

    what type of cleaning solution is good for probes? please reply asap as we are working on the project with the gravity electric conductivity one.. Super thanks..

    • @mickaellehoux6606
      @mickaellehoux6606 3 ปีที่แล้ว +1

      Hi you Can find what u need with Google dude.
      www.google.com/search?q=ph+clean+solution&oq=ph+clean+solution

  • @Feldi897
    @Feldi897 4 ปีที่แล้ว

    Hello,
    Really great video!
    I have an old V1.1 board, can I use your library for that?
    The measured value of the v1.1 ph board is 5V I think, would it work with a logic level converter?

    • @greenponik
      @greenponik  4 ปีที่แล้ว +2

      Hi Thomas Hummitzsch , you cannot use the library with old version.

    • @abib2604
      @abib2604 4 ปีที่แล้ว

      @@greenponik any library suggestions? if i use V1.1 df robot ph meter with esp32

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      @@abib2604 hello, sorry but no because we never use the v1.1 df robot pH sensor
      but you can find an arduino sample code here www.dfrobot.com/product-1025.html

  • @fernandamanrique1244
    @fernandamanrique1244 5 ปีที่แล้ว

    I would like to know if the V1.1 board works? or what should I keep in mind to make it work?

    • @greenponik
      @greenponik  5 ปีที่แล้ว

      Hi, the V1.1 need 5v power supply www.dfrobot.com/product-1025.html

  • @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?

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      Hi, sorry but we've never tried with STM unfortunately.

  • @muhammadasri5872
    @muhammadasri5872 3 ปีที่แล้ว

    hello sir, after calibrate the pH sensor, then can we put a new coding to the arduino? does it maintain the value of the pH after upload a new coding?

    • @greenponik
      @greenponik  2 ปีที่แล้ว

      Hello, sorry but it's been a very long time we stopped using this kit and the githup code should be reviewed by someone willing to do it.

  • @learning-computer-stuff
    @learning-computer-stuff 5 ปีที่แล้ว

    Measuring pH becomes pretty expensive if for every time, new calibration solutions must be bought.

    • @greenponik
      @greenponik  5 ปีที่แล้ว

      You only have to calibration the sensor every 1 month or 2. Just keep the same microcontroller to read the PH so you don't have to calibrate again (calibration values are stored in EEPROM so once it's been done, the ESP will keep those information)

  • @oceanpokhrel8501
    @oceanpokhrel8501 5 ปีที่แล้ว +1

    my pH sensor gives 5v output so i put voltage divider and dropped it down to 3v but now my pH value is showing "nan" . Do you know whats causing this?

    • @greenponik
      @greenponik  5 ปีที่แล้ว

      Hi there we make patch about this trouble. you can try the new release :
      with ADC use: github.com/GreenPonik/DFRobot_ESP_PH_WITH_ADC_BY_GREENPONIK/releases/tag/1.2.3
      without ADC: github.com/GreenPonik/DFRobot_ESP_PH_BY_GREENPONIK/releases/tag/1.1.1

  • @eb23lsm9d
    @eb23lsm9d 4 ปีที่แล้ว

    Hy one more question, the value calibrated is stored in esp32? If i flash with another firmware i I lose calibration?

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      Hello @marco, calibration values are stored in the EEPROM of the ESP32 so if you flash the firmware and change nothing in EEPROM addresses values still safe stored.

  • @spycall
    @spycall 4 ปีที่แล้ว

    can I use it with 3.3v of the ESP32, if the input voltage is 5V? Does it have any adjustments?

    • @greenponik
      @greenponik  4 ปีที่แล้ว +1

      yeah you can! it's why we have build a library to permit use with ESP32. We talk about the SEN0161-V2 probe and circuit.

  • @chrissyv817
    @chrissyv817 ปีที่แล้ว

    I keep getting an EEPROM error message. How do I fix this?

  • @saigonrider
    @saigonrider 3 ปีที่แล้ว

    Hello, I'm currently using your method, but my probe in pH7.0 solution gives a 9.17 reading and i cant calibrate it. any idea how i could fix this?

    • @greenponik
      @greenponik  2 ปีที่แล้ว

      Hello, sorry but it's been a very long time we stopped using this kit and the githup code should be reviewed by someone willing to do it.

  • @lukeramsay4291
    @lukeramsay4291 4 ปีที่แล้ว +1

    Would this work on a ESP8266 board? What Would I need to change In the code?

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      Hi! as you can see here github.com/GreenPonik/DFRobot_ESP_PH_BY_GREENPONIK#compatibility the esp8266 board is not supported.
      There are some differences are about eeprom management.
      On the repo's issues we have already discusse about this and you can find some responses about your question here:
      github.com/GreenPonik/DFRobot_ESP_PH_BY_GREENPONIK/issues/1
      Regards

  • @blynkappli894
    @blynkappli894 ปีที่แล้ว

    Hello, I am wondering if I uploaded this code on my board and calibrate the ph. Will the reading of ph sensor changes or will the calibration disappear if I upload my own code to my board?

    • @greenponik
      @greenponik  ปีที่แล้ว

      Hi, sorry we don't use those anymore.

  • @eb23lsm9d
    @eb23lsm9d 4 ปีที่แล้ว

    Hello, great job. My readings when use 4.0 solution is about 2.8 ph value in my console and when use 7 solution , in my console have 6.85 ph value? Is normal, something wrong?

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      @Marco! You read theses values after calibration? if yes, maybe calibration solutions are too old or your probe. When you calibrate you have to read the same value during calibration and after calibration.

  • @pavanpatil953
    @pavanpatil953 4 ปีที่แล้ว

    For Ph 4 buffer solution I am getting reading some ABOVE 9 Values and for ph 7 near to seven and 8. and im using the same ph sensor as you using. please help me.

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      hi, which board do you use?

  • @dhananjayvarmagottumukkala7473
    @dhananjayvarmagottumukkala7473 4 ปีที่แล้ว

    is this ph sensor useful for longterm use like continuously working for a month

    • @greenponik
      @greenponik  4 ปีที่แล้ว +1

      As long as you clean your sensor like every two weeks and check it's calibration i'll do. Industrial on is recommended for continuous usage.

  • @ivanraju17
    @ivanraju17 3 ปีที่แล้ว

    hi im using t18_3.0 esp32 which have 5V and using V1.1 board i just tested tap water the reading for arduino board i get 7.53pH where as this esp i get 10.38 ....i already change the adc value,adj the screw still same ... what should be the error sir ?
    suppose the ph value for tap water is 6-7.99

    • @greenponik
      @greenponik  2 ปีที่แล้ว

      Hello, sorry but it's been a very long time we stopped using this kit and the githup code should be reviewed by someone willing to do it.

  • @csisk
    @csisk 3 ปีที่แล้ว +1

    You do not show wiring in an ADC converter but all docs call for one? When I connect the way you present in the video I get REALLY high voltage reading and a PH of 35.80. When I connect to Arduino Uno I get proper readings. I am looking for a wiring diagram that will show proper wiring for ESP32 and ADC converter with this probe

    • @MaximeSeguin
      @MaximeSeguin 3 ปีที่แล้ว

      Did you find the answer to your question? I have the same problem! :-( I followed the other video example, for the EC Meter... still does not work.

    • @greenponik
      @greenponik  3 ปีที่แล้ว

      Hi, don't know what can be wrong in your case as you have to be in front of the circuits to see what's happening. Basically, if your readings are too high in voltage, decrease the ADC gain, if the readings don't change when you put the sensor in different liquids, check the adc wiring or even replace the adc.

  • @jorgepascal8431
    @jorgepascal8431 3 ปีที่แล้ว +1

    Hello, what would be the cleaning solution ? just distilled water ?

    • @metennisman22
      @metennisman22 3 ปีที่แล้ว

      im requesting that as well. have you figured anything out yet?

    • @greenponik
      @greenponik  3 ปีที่แล้ว +1

      Not sure to understand well you question. We use clearing solution like thoses: www.google.com/search?q=ph+clean+solution&oq=ph+clean+solution

  • @yashambekar6055
    @yashambekar6055 3 ปีที่แล้ว

    sir help me out the output is garbage value . i am using heltech ESP32 and pH sensor .
    what should I do?

    • @greenponik
      @greenponik  3 ปีที่แล้ว

      Hello @Yash, you should give us more details about your issue on github directly => github.com/GreenPonik/DFRobot_ESP_PH_WITH_ADC_BY_GREENPONIK/issues

  • @ahmadzakighifari8556
    @ahmadzakighifari8556 4 ปีที่แล้ว

    Hello, how about if I want to calibrate the ph sensor with 10 ph buffer solution? Since I want to use this sensor for Aquaponic system.

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      Hi Ahmad, unfortunately you cannot use this system out of the box. Because, buffers solutions used to define acid and neutral points are pH4 and pH7.
      If you're able to write code, you can fork the lib and replace the neutral point value on the lib or define a third point as pH10 to get the corresponding voltage value on the circuit.

    • @ahmadzakighifari8556
      @ahmadzakighifari8556 4 ปีที่แล้ว

      @@greenponik Alright, but btw If I want to add Ds18b20 waterproof sensors, How can I modify the code? Can you give me the complete code if I wanna add ds18b20 sensor into this ph sensor?

  • @nuradiimah3957
    @nuradiimah3957 4 ปีที่แล้ว

    sir, what should we do if our ph sensor reading suddenly inaccurate. i have used this sensor for a few month and the reading accurated. but now the reading become higher suddenly.. any suggestion sir?
    any way we already calibrate the ph sensor before used.
    from malaysia..

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      If the accurate the your probe drifted, you have to calibrate it an other time, we advice user to calibrate probe + circuit every month.
      If after calibration the probe still drift, maybe your probe is dead. DFRobot says the probes cannot be used in water everytimes because it's only for labs uses.

  • @iantjasink6966
    @iantjasink6966 3 ปีที่แล้ว +1

    can i leave in a test medium continuously eg process flow

    • @greenponik
      @greenponik  2 ปีที่แล้ว

      Hello, no, they make a "pro" version for that. You can check their website.

  • @SenyumNetwork
    @SenyumNetwork 3 ปีที่แล้ว

    Sir, why my voltage is not stable? voltage is depends on what?

    • @greenponik
      @greenponik  3 ปีที่แล้ว

      th-cam.com/video/d7_YSVGY14Y/w-d-xo.html

  • @zhtan1173
    @zhtan1173 2 ปีที่แล้ว

    Hello, you coding did wonders, but I need something else. I'm trying to send the pH data to telegram. You think you can help me out with that? I already install the universal telegram library.

  • @ksaqua2389
    @ksaqua2389 4 ปีที่แล้ว +1

    sir, i need the project in Bangladesh for aquaculture and iot base, how can I contact with you.

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      Hi! you can email us at contact@greenponik.com or contact us directly through our social networks 😉

  • @haerulmukmin6489
    @haerulmukmin6489 2 ปีที่แล้ว

    review sensor salinitas

  • @nirornkong416
    @nirornkong416 2 ปีที่แล้ว

    Excuse me sir.I calibrated with pH 4.00 when I type CALPH it’s say Buffer solution error.Could you help me with this?

    • @greenponik
      @greenponik  2 ปีที่แล้ว

      Hello, sorry but it's been a very long time we stopped using this kit and the githup code should be reviewed by someone willing to do it.

  • @lost_sam6348
    @lost_sam6348 3 ปีที่แล้ว

    hello have you got a guide to add Mqtt to the code to use with home assistant

    • @mickaellehouxpro286
      @mickaellehouxpro286 3 ปีที่แล้ว

      Hi! we don't use MQTT but you can find some examples through google ;-) like this: www.valvers.com/open-software/arduino/esp32-mqtt-tutorial/

    • @Bartlebyxx
      @Bartlebyxx 3 ปีที่แล้ว

      Did you get it to work with home assistant? I'm also stuck at the point that i see the values but can't figure out how to send them over

    • @greenponik
      @greenponik  3 ปีที่แล้ว

      Hi, for this moment nope! but the device have REST API and graphql to be connected with any smart home system. You maybe have to develop plugin to wrap our api in the smart home system.

    • @Bartlebyxx
      @Bartlebyxx 3 ปีที่แล้ว

      I have added mqtt to my setup now if you still need the code I could send it, it's not pretty but working 😅

    • @greenponik
      @greenponik  3 ปีที่แล้ว

      @@Bartlebyxx thx ;-) in the futur maybe we'll need it

  • @akvr714
    @akvr714 3 ปีที่แล้ว

    is this using 3,3 volt pin in esp32 ?

    • @greenponik
      @greenponik  3 ปีที่แล้ว

      Hi, it's better to use an external power source as the ESP doesn't like to be disturbed.

  • @omassi
    @omassi 5 ปีที่แล้ว +1

    the module require 5v and esp32 is 3.3v board... I'm confused

    • @greenponik
      @greenponik  5 ปีที่แล้ว

      Hello @omassi, the SEN0161-V2 can be supply in the range 3.3~5.5V www.dfrobot.com/product-1782.html

  • @pandemariana5268
    @pandemariana5268 3 ปีที่แล้ว

    How about the ph sensor SEN0169-V2. Is that the same ?

    • @greenponik
      @greenponik  3 ปีที่แล้ว

      Hi Mate, never tried with this one, you'll have to experiment!

    • @danielchamberlain3241
      @danielchamberlain3241 3 ปีที่แล้ว

      Any luck? I'm getting 0.00 voltage with the 169.

  • @dhananjayvarmagottumukkala7473
    @dhananjayvarmagottumukkala7473 4 ปีที่แล้ว

    what is meant by calibration?

    • @greenponik
      @greenponik  4 ปีที่แล้ว +1

      To check if the sensor still read PH 7 when inserted in a PH 7 solution. if not, the code will correct it.

    • @dhananjayvarmagottumukkala7473
      @dhananjayvarmagottumukkala7473 4 ปีที่แล้ว

      @@greenponik some times if sensor doesnot read PH 7 solution as PH 7 then the problem maybe with the sensor but not with the code.is that case occur?

  • @K4NGR3Y
    @K4NGR3Y 4 ปีที่แล้ว

    What is the solution you use made of?

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      K4NGR3Y it’s DFRobot calibration solutions provided with pH probe in the SEN0161-V2 kit we can think it’s pH 7 and pH4 liquids 😂

    • @K4NGR3Y
      @K4NGR3Y 4 ปีที่แล้ว

      The one that you use to clean the probe?

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      @@K4NGR3Y You can use this kind of solution to store your PH sensor (and sometime revive it too):
      growstore.fr/calibrage-entretien/449-solution-ph-probe-refill-storage-300ml-growthtechnology-5025644913962.html

  • @aimangotze
    @aimangotze 3 ปีที่แล้ว

    Hi, How do i use it for raspberry pi?

    • @greenponik
      @greenponik  3 ปีที่แล้ว

      Hello, you can find some python library for raspberry on our github

  • @RamandikaPutra
    @RamandikaPutra 2 ปีที่แล้ว +1

    Can you show me ESP32 with pH-4502C DIY MORE module please?

    • @greenponik
      @greenponik  2 ปีที่แล้ว

      Hello, sorry we don't use it at all.

    • @RamandikaPutra
      @RamandikaPutra 2 ปีที่แล้ว

      @@greenponik thanks for ur reply, and now I used SKU sen v2 bro! :)

  • @patricklorenz7445
    @patricklorenz7445 4 ปีที่แล้ว

    Is it possible to use another ph sensor?
    For example this one: de.aliexpress.com/item/32964738891.html?spm=a2g0o.cart.0.0.294b3c00AO9Avq&mp=1
    Or does the library just work with the ph sensor from DFRobot?

    • @greenponik
      @greenponik  4 ปีที่แล้ว

      The library works only with DFRobot probe because the output voltage level of the SEN0161-V2 is different of your example.
      Maybe you can fork the library from github and adjust the range of voltage values in the header
      github.com/GreenPonik/DFRobot_ESP_PH_BY_GREENPONIK/blob/master/src/DFRobot_ESP_PH.h
      The procedure is:
      Wiring the circuit
      check the ADS channel is good
      Put probe in first calibration solution and get the voltage value and the voltage value
      set it has the first ref on the header
      Then make the same for the second calibration solution.
      To be sure check you get the same read value after second calibration
      You can use the example to start from good way
      github.com/GreenPonik/DFRobot_ESP_PH_BY_GREENPONIK/blob/master/example/DFRobot_ESP_PH_BY_GREENPONIK/DFRobot_ESP_PH_BY_GREENPONIK.ino

  • @martinkaspar5095
    @martinkaspar5095 2 ปีที่แล้ว

    Hello and good day. awesome vid: - great vid - awesome. How to draw a sketch diagram - here!? - i need a sketch diagram for wiring; i want to do some work with sensing ph in Coffee and water - Can you help here out!=? Look forward to hear from you

  • @mohamadmohamad-te5sl
    @mohamadmohamad-te5sl 3 ปีที่แล้ว

    Library ph link please

    • @mickaellehoux6606
      @mickaellehoux6606 3 ปีที่แล้ว +1

      Look in description 😏

    • @mohamadmohamad-te5sl
      @mohamadmohamad-te5sl 3 ปีที่แล้ว

      @@mickaellehoux6606 I didn't notice it ... Thank you
      Can the acidity of olive oil be measured by the same circuit?
      What is the acidity value of the oil?

    • @mickaellehoux6606
      @mickaellehoux6606 3 ปีที่แล้ว

      @@mohamadmohamad-te5sl sorry i dont know