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

  Переглядів 54,243

GreenPonik

GreenPonik

5 років тому

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
UKposts: / @greenponik

КОМЕНТАРІ: 115
@greenponik
@greenponik 4 роки тому
You can find everythings about code example ec meter in video description
@circle4922
@circle4922 4 роки тому
This is so cool. Thanks.
@johndijkstra9625
@johndijkstra9625 4 роки тому
Great! Now i really need ESP and PH controllers :-)
@greenponik
@greenponik 4 роки тому
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 5 місяців тому
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?
@lifehackboutique5567
@lifehackboutique5567 3 роки тому
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.
@muhammadfarhanjundiosama8686
@muhammadfarhanjundiosama8686 3 місяці тому
For this module PH4502C sensor can be configured to ESP32?
@Tamiletronics
@Tamiletronics Рік тому
Hello , Thanks for code but the calibration cmd not working could not enter the Calibration mode.
@waiyawatmancharoen8220
@waiyawatmancharoen8220 Рік тому
How long can the probe be immersed in water?
@andresroca9736
@andresroca9736 2 роки тому
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.
@thomashummitzsch9306
@thomashummitzsch9306 3 роки тому
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 3 роки тому
Hi Thomas Hummitzsch , you cannot use the library with old version.
@abib2604
@abib2604 3 роки тому
@@greenponik any library suggestions? if i use V1.1 df robot ph meter with esp32
@greenponik
@greenponik 3 роки тому
@@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
@wildanhifzy2890
@wildanhifzy2890 3 роки тому
great video, but i want to ask, why dissolved oxygen sensor cant read the value if i used esp32?
@greenponik
@greenponik 3 роки тому
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/
@kenwayjohn2919
@kenwayjohn2919 4 роки тому
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 : ukposts.info/have/v-deo/nperqqWYpZVkwKs.html
@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 роки тому
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 ;-)
@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 ukposts.info/have/v-deo/faF3q2ttaKaAlp8.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 роки тому
Hi you Can find what u need with Google dude. www.google.com/search?q=ph+clean+solution&oq=ph+clean+solution
@mkrath72
@mkrath72 3 роки тому
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 3 роки тому
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 ukposts.info/have/v-deo/pmF2drCEe4Z6mGg.html
@haerulmukmin6489
@haerulmukmin6489 2 роки тому
review sensor salinitas
@chrissyv817
@chrissyv817 11 місяців тому
I keep getting an EEPROM error message. How do I fix this?
@fernandamanrique1244
@fernandamanrique1244 4 роки тому
I would like to know if the V1.1 board works? or what should I keep in mind to make it work?
@greenponik
@greenponik 4 роки тому
Hi, the V1.1 need 5v power supply www.dfrobot.com/product-1025.html
@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.
@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.
@eb23lsm9d
@eb23lsm9d 3 роки тому
Hy one more question, the value calibrated is stored in esp32? If i flash with another firmware i I lose calibration?
@greenponik
@greenponik 3 роки тому
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.
@learning-computer-stuff
@learning-computer-stuff 4 роки тому
Measuring pH becomes pretty expensive if for every time, new calibration solutions must be bought.
@greenponik
@greenponik 4 роки тому
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)
@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 роки тому
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.
@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.
@csisk
@csisk 3 роки тому
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.
@eb23lsm9d
@eb23lsm9d 3 роки тому
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 3 роки тому
@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.
@lukeramsay4291
@lukeramsay4291 4 роки тому
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
@oceanpokhrel8501
@oceanpokhrel8501 4 роки тому
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 4 роки тому
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
@dhananjayvarmagottumukkala7473
@dhananjayvarmagottumukkala7473 4 роки тому
is this ph sensor useful for longterm use like continuously working for a month
@greenponik
@greenponik 4 роки тому
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.
@ksaqua2389
@ksaqua2389 4 роки тому
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 😉
@jorgepascal8431
@jorgepascal8431 3 роки тому
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 роки тому
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
@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.
@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.
@iantjasink6966
@iantjasink6966 2 роки тому
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.
@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
@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?
@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.
@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.
@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.
@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
@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.
@SenyumNetwork
@SenyumNetwork 3 роки тому
Sir, why my voltage is not stable? voltage is depends on what?
@greenponik
@greenponik 3 роки тому
ukposts.info/have/v-deo/nGeQjYmNfo9ilY0.html
@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.
@RamandikaPutra
@RamandikaPutra 2 роки тому
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 Рік тому
@@greenponik thanks for ur reply, and now I used SKU sen v2 bro! :)
@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
@dhananjayvarmagottumukkala7473
@dhananjayvarmagottumukkala7473 4 роки тому
what is meant by calibration?
@greenponik
@greenponik 4 роки тому
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?
@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
@omassi
@omassi 4 роки тому
the module require 5v and esp32 is 3.3v board... I'm confused
@greenponik
@greenponik 4 роки тому
Hello @omassi, the SEN0161-V2 can be supply in the range 3.3~5.5V www.dfrobot.com/product-1782.html
@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 роки тому
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
pH Sensor: Assembling, Coding, & Calibrating with Arduino | Smart Gardening
10:54
science with jessica
Переглядів 28 тис.
ESP-IDF | Введение
45:38
Crazy Geeks
Переглядів 23 тис.
0% Respect Moments 😥
00:27
LE FOOT EN VIDÉO
Переглядів 33 млн
Introduction to ESP32 - Getting Started
47:57
DroneBot Workshop
Переглядів 1,5 млн
15 Brilliant IoT Projects for Beginners!
9:25
ToP Projects Compilation
Переглядів 754 тис.
Calibrating an Analog pH Sensor (with Linear Algebra)
12:06
DFRobot
Переглядів 10 тис.
Controlling 2 DC Motors using ESP32 and L298N Motor driver
19:42
PlatformIO: All you need to know in 10 Minutes!
10:56
J's e-shack
Переглядів 278 тис.
#112 LoRa / LoRaWAN De-Mystified / Tutorial
20:25
Andreas Spiess
Переглядів 997 тис.
Що покаже Apple, гнучкі айфони та Windows переходить на ARM
17:49
Ноталка Шелягіна
Переглядів 60 тис.
All New Atlas | Boston Dynamics
0:40
Boston Dynamics
Переглядів 5 млн
Как должен стоять ПК?
1:00
CompShop Shorts
Переглядів 714 тис.