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

  Рет қаралды 56,520

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

Пікірлер: 116
@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 8 ай бұрын
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?
@Tamiletronics
@Tamiletronics Жыл бұрын
Hello , Thanks for code but the calibration cmd not working could not enter the Calibration mode.
@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 : kzfaq.info/get/bejne/nM2qqdKS08WXj6s.html
@waiyawatmancharoen8220
@waiyawatmancharoen8220 Жыл бұрын
How long can the probe be immersed in water?
@gunawanfranky
@gunawanfranky 2 ай бұрын
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?
@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.
@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 kzfaq.info/get/bejne/e9d2qphnltazZZ8.html
@muhammadfarhanjundiosama8686
@muhammadfarhanjundiosama8686 6 ай бұрын
For this module PH4502C sensor can be configured to ESP32?
@andresroca9736
@andresroca9736 3 жыл бұрын
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 3 жыл бұрын
Not at all. The kit we make is reliable.
@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/
@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
@mkrath72
@mkrath72 4 жыл бұрын
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 kzfaq.info/get/bejne/pJd1dd1-qbatZ2g.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
@oceanpokhrel8501
@oceanpokhrel8501 5 жыл бұрын
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
@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 жыл бұрын
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
@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.
@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)
@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.
@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.
@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 жыл бұрын
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.
@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.
@chrissyv817
@chrissyv817 Жыл бұрын
I keep getting an EEPROM error message. How do I fix this?
@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
@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.
@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.
@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.
@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.
@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
@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 😉
@iantjasink6966
@iantjasink6966 3 жыл бұрын
can i leave in a test medium continuously eg process flow
@greenponik
@greenponik 3 жыл бұрын
Hello, no, they make a "pro" version for that. You can check their website.
@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.
@SenyumNetwork
@SenyumNetwork 3 жыл бұрын
Sir, why my voltage is not stable? voltage is depends on what?
@greenponik
@greenponik 3 жыл бұрын
kzfaq.info/get/bejne/mp2PjLaHrL-VZI0.html
@haerulmukmin6489
@haerulmukmin6489 2 жыл бұрын
review sensor salinitas
@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?
@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
@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.
@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.
@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.
@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
@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
@omassi
@omassi 5 жыл бұрын
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
@RamandikaPutra
@RamandikaPutra 3 жыл бұрын
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! :)
@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?
@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
EC Meter with ESP32 and DFRobot EC module (DFR0300)
15:03
GreenPonik
Рет қаралды 32 М.
ESP-IDF | Введение
45:38
Crazy Geeks
Рет қаралды 28 М.
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 35 МЛН
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 47 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 188 МЛН
pH Sensor: Assembling, Coding, & Calibrating with Arduino | Smart Gardening
10:54
pH and Microbit project
13:14
DrChrisByrne
Рет қаралды 2,1 М.
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 8 МЛН
Сколько реально стоит ПК Величайшего?
0:37
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 955 М.
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 482 М.
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 64 МЛН