PH Sensor interfacing with New Blynk2.0 using NuttyFi, NodeMCU & ESP32 with Programming code- DIY

  Переглядів 14,456

SME Dehradun

SME Dehradun

2 роки тому

How to interface PH Sensor with Blynk2.0 using ESP32 & NodeMCU with Programming code
#phsensor #phvalue #nodemcu #esp32 #blynk2 #esp8266 #iot #safewater #phvalueofwater
Hello guys,
In this video, we will show you how you can get the PH value of water and display them to new Blynk2.0 IoT cloud Mobile app and web dashboard.
Key Moments of this Video:
1:10 List of the components
1:26 Circuit Diagram of interfacing of PH sensor with NodeMCU ESP8266
1:40 Circuit Diagram of interfacing of PH sensor with ESP32
1:45 Hardware interfacing of PH sensor with NodeMCU
2:38 How to Configure the new Blynk2.0 web dashboard on blynk.cloud website
2:42 Login to new Blynk2.0 IoT website
2:53 How to create new template in new Blynk2.0
3:25 Blynk2.0 firmware Configuration
3:36 Blynk2.0 Metadata
3:46 How to configure Datastream tab in blynk2.0
3:59 How to create virtual pin in new blynk2.0
4:21 Events tab in new Blynk2.0
4:35 How to configure the web dashboard in new blynk2.0
4:41 How to add Gauge widget in the new blynk2.0
4:45 How to add Chart widget in the new blynk2.0
4:50 How to add label widget in t he new blynk2.0
4:53 How to configure the Chart widget in the new blynk2.0
5:15 how to configure the Gauge widget in the new blynk2.0
5:22 How to configure the Label widget in the new blynk2.0
5:52 Link to download the Arduino code for PH Sensor interfacing with NodeMCU ESP8266
6:03 Link to download the Arduino code for PH Sensor interfacing with ESP8266
6:20 Link to download WinRAR & WinZip software
6:36 How to replace the Blynk credentials, template id & Device name in Arduino code
6:55 Arduino Program explanation of PH Sensor with NodeMCU ESP8266 & new Blynk2.0
10:23 How to add new blynk2.0 library to Arduino IDE
11:00 How to Select NodeMCU ESP8266 board in Arduino IDE
11:12 How to add NodeMCU ESP8266 or ESP32 board in Arduino IDE
11:29 How to add select the COM Port in Arduino IDE
11:34 PH Sensor program for new Blynk2.0 Uploading to NodeMCU ESP8266
11:55 Downloading of new Blynk2.0 Mobile app
12:29 How to add NocdMCU new device to new Blynk2.0 Mobile app
13:04 What do we do, if didn’t find any device in new Blynk2.0 mobile app
13:39 How to add Wifi credentials in new blynk2.0 mobile app
14:04 How to add widgets in new blynk2.0 mobile app
14:06 How to add Super Chart widget in new blynk2.0 mobile app
14:24 How to add Gauge widget in new blynk2.0 mobile app
14:29 How to add Value Display widget in new blynk2.0 mobile app
14:37 How to configure Super chart widget in new blynk2.0 mobile app
15:01 How to configure Value Display widget in new blynk2.0 mobile app
15:16 How to configure Gauge widget in new blynk2.0 mobile app
15:35 Live demo of PH Sensor Value displaying with New Blynk2.0 Mobile app and Web Dashboard
Important Links:
Github Link for Programming Code: github.com/itsbhupendrasingh/...
PH Sensor Code for Blynk2.0 ( NuttyFi/ NodeMCU ESP8266)
drive.google.com/file/d/1hBLG...
PH Sensor Code for Blynk2.0 (ESP32):
drive.google.com/file/d/14OCC...
Circuit Diagram ( NuttyFi/ NodeMCU ESP8266) drive.google.com/file/d/1Km4o...
Circuit Diagram ( ESP32)
drive.google.com/file/d/1S_zD...
Blynk 2.0 Library: drive.google.com/file/d/1dzvt...
How to install NodeMCU ESP8266 board in Arduino IDE: www.nuttyengineer.com/nuttyfi...
How to install ESP32 board in Arduino IDE: www.nuttyengineer.com/how-to-...
Blynk cloud server: blynk.cloud/
Link to download winzip: www.winzip.com/en/download/wi...
Link to download WinRAR: www.win-rar.com/download.html...
Arduino IDE Software: www.arduino.cc/en/software
NuttyFi Wifi Development board: www.nuttyengineer.com/product...
Contact link for Nutty Engineer Company: www.nuttyengineer.com/contact...
Contact link for SME: www.smedehradun.com/contact/
More innovation available at our UKposts Channel & Stay update for latest videos at
/ smedehradun
For any query, you can comment on comment box below.

КОМЕНТАРІ: 139
@dr.rajeshsingh1869
@dr.rajeshsingh1869 2 роки тому
Really well deserve among so many top global trainer
@SMEDehradun
@SMEDehradun 2 роки тому
Thank you sir
@PSISVarshiniKN
@PSISVarshiniKN Рік тому
I sincerely appreciate your help with the project today sir even u don't know who am I . Thank u for helping me to accomplish my goal. I wanted to express my gratitude for your training today.You are the best.I wish you the best of the best with your career and your life.God Almighty will continue to favour you and crown all your efforts with success...!.i can't express ur help in words sir thank you so much.
@SMEDehradun
@SMEDehradun Рік тому
Most welcome 🙏
@PSISVarshiniKN
@PSISVarshiniKN Рік тому
U explained very well sir thank you ...
@SMEDehradun
@SMEDehradun Рік тому
Welcome 🙏
@nuttyengineer6095
@nuttyengineer6095 2 роки тому
Very useful video sir 👍
@SMEDehradun
@SMEDehradun 2 роки тому
Thanks @NuttyEngineer
@techuk6454
@techuk6454 2 роки тому
wow very nice its very useful
@SMEDehradun
@SMEDehradun 2 роки тому
Thank you
@hrithik_1813
@hrithik_1813 4 місяці тому
Thank you very much sir
@SMEDehradun
@SMEDehradun 4 місяці тому
🙏
@thecalipercnc2800
@thecalipercnc2800 Рік тому
Thank you very much
@SMEDehradun
@SMEDehradun Рік тому
Welcome 🙏
@GodaseRohitMallappa
@GodaseRohitMallappa Рік тому
👍👍
@SMEDehradun
@SMEDehradun Рік тому
Thank you
@watchyoutube5225
@watchyoutube5225 Рік тому
Great video man. But how do you connect the ESP32 board to the ph sensor? I didn't get it.
@SMEDehradun
@SMEDehradun Рік тому
Hi, I have already attached the code for NodeMCU as well as ESP32 in the video description. Check out the link in description.
@akinaaisyah7496
@akinaaisyah7496 5 місяців тому
hi sir how do you recommend the safest way to use external 5v from node mcu esp8266 to the pH sensor
@SMEDehradun
@SMEDehradun 5 місяців тому
Use external step down module 12V DC to 5V DC for this
@parthnavale3849
@parthnavale3849 Рік тому
As per the circuit diagram how do i connect the 12v dc adapter to node mcu 8266 vin?
@SMEDehradun
@SMEDehradun Рік тому
You can connect external 5V dc to Vin pin.
@capstonegroup8806
@capstonegroup8806 Рік тому
Sir is it possible if you will add email notification here? That when the reading of the sensor is lower than 5, it will notify the user?
@SMEDehradun
@SMEDehradun Рік тому
Yes, You can add email alert. See this video to add email alert in blynk. ukposts.info/have/v-deo/jGinhI6MqXeXxKM.html
@yogeshwargupta5878
@yogeshwargupta5878 11 місяців тому
what is blynkEdgent.h it is not present in my library manager please explain about it and how to include it
@SMEDehradun
@SMEDehradun 11 місяців тому
You need to put all the headers in the programming folder. Below video link may explain you in batter way ukposts.info/have/v-deo/fYCZjZWfe6WrxqM.html
@yogeshwargupta5878
@yogeshwargupta5878 11 місяців тому
@@SMEDehradun it's showing complication errors as BlynkEdgent.h : no such file or directory And also I'm not able to connect the wifi with blynk
@hanfan2603
@hanfan2603 День тому
have you used battery on circuit diagram
@SMEDehradun
@SMEDehradun День тому
I have used power directly through my laptop. You can use mobile power bank or other 5V battery.
@amulya_minnie3387
@amulya_minnie3387 Рік тому
Hello sir , I'm trying to build a project using ph. But I'm having a difficulty with the code. Can you please help. I connected a motor pump to the esp along with ph sensor. So when the ph sensor value decreases the motor pump should turn on. In the code I tried to implement if else but i am getting an error saying "conversion from int to constString is ambiguous" Can you please tell me a solution sir ?
@SMEDehradun
@SMEDehradun Рік тому
Hi, There is definition issue to define the values in your code. Rectify it.
@wharrjk2446
@wharrjk2446 Рік тому
what version is that node mcu esp 8266
@SMEDehradun
@SMEDehradun Рік тому
ESP12E version
@user-eo1yd5wf2i
@user-eo1yd5wf2i 4 місяці тому
In file included from C:\Users\Umer Ahmed\Downloads\PH_Sensor_ESP32\PH_Sensor_ESP32.ino:13: C:\Users\Umer Ahmed\Downloads\PH_Sensor_ESP32\BlynkEdgent.h:17:2: error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" ^~~~~ exit status 1 Compilation error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" i am getting this error how can i resolve it, i have already define the both but getting same error again again
@SMEDehradun
@SMEDehradun 4 місяці тому
I think, you haven’t seen the video properly. There is need if headers in the sketch folder. Below video link may help you to troubleshoot- ukposts.info/have/v-deo/fYCZjZWfe6WrxqM.html
@user-eo1yd5wf2i
@user-eo1yd5wf2i 4 місяці тому
@@SMEDehradun i have check the sensor directly, which gives me readings but when i am using your code it start only showing 0.00 reading and nothing else although all the things are correct, then what would be probable reason that why it is showing only 0.00, further more i try to change the pin v0 to v13 on blynk but that not also works.
@SMEDehradun
@SMEDehradun 4 місяці тому
Only option is to calibrate the sensor. 0.00 is not the reading.
@miavega9997
@miavega9997 Рік тому
Hello I've done all of these but the readings on my Ph sensor is above 14. What seems to be the problem?
@SMEDehradun
@SMEDehradun Рік тому
You need to calibrate the ph sensor first. Then it will work accurate with code.
@miavega9997
@miavega9997 Рік тому
@@SMEDehradun how to do that sir?
@blynkappli894
@blynkappli894 Рік тому
Hello sir, I am using ph sensor, arduino, nodemcu and blynk. I am having trouble with the codes for nodemcu. Can I ask for your help sir ? Thankyou
@SMEDehradun
@SMEDehradun Рік тому
Hi, I have already made a video on PH sensor interfacing with New Blynk IoT. You can take help from this video. And if there is some issue, let me know.
@99klicks59
@99klicks59 Рік тому
My voltage/PH from the ph sensor is hard changing from 6.87-7.3 But why ? The input voltage from the arduino are 5Volts constantly. Please help I need to measure 24/7 but sometimes the ph value are to high or low
@SMEDehradun
@SMEDehradun Рік тому
Hi, If you have already calibrate the PH sensor then it may issue of the bit resolution and accuracy in the ADC. SoYou can do one thing, read the PH sensor in Arduino and then send that data to NodeMCU ESP8266 serially. This link will help you to access the data serially from Arduino to ESP8266. ukposts.info/have/v-deo/jmedZpCOpIOAso0.html
@Anand.M88
@Anand.M88 Рік тому
Hi , I need to build this ph sensor. Could you please help me on this project. I’m not an expert on this topic. Need your support. How may I contact you.
@SMEDehradun
@SMEDehradun Рік тому
Hi, Mail us at schematicslab@gmail.com
@lukemarkg.carino5861
@lukemarkg.carino5861 Рік тому
Hello sir, I am using the ESP WROOM 32 board. I want to ask what should I define in my code. In your case, you use NodeMCU board so you put #define USE_NODE_MCU_BOARD
@SMEDehradun
@SMEDehradun Рік тому
Hi LUKE, You can write #define USE_WROVER_BOARD
@lukemarkg.carino5861
@lukemarkg.carino5861 Рік тому
@@SMEDehradun thanks sir
@lukemarkg.carino5861
@lukemarkg.carino5861 Рік тому
@@SMEDehradun why does my readings get so high. It reads from 17.00 - 18.00
@SMEDehradun
@SMEDehradun Рік тому
Most welcome
@lukemarkg.carino5861
@lukemarkg.carino5861 Рік тому
@@SMEDehradun sir what do you think is the problem when it reads higher than 14
@user-dj2on7tu7f
@user-dj2on7tu7f 10 місяців тому
I am using esp8266 nodemcu. But i got this error sir. Help me sir. Need this for my uni project \BlynkEdgent.h:16:2: error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" 16 | #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" | ^~~~~ exit status 1 Compilation error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" .
@SMEDehradun
@SMEDehradun 10 місяців тому
It’s shows the error of blynk template name & password. So Write blynk credentials in the program.
@nifasyahla5548
@nifasyahla5548 8 місяців тому
@@SMEDehradun hi sir i got the same problem. I already write the blynk credentials in the program but it's #define BLYNK_TEMPLATE_NAME instead #define BLYNK_DEVICE_NAME. can you help me with that?
@SMEDehradun
@SMEDehradun 8 місяців тому
As shown in the video, if you Follow all the instructions your program will run and work properly. The program is working here.
@SSS-SkyMaster
@SSS-SkyMaster Рік тому
How would it be the code, If we connect 2 set of pH sensor to ESP32.
@SMEDehradun
@SMEDehradun Рік тому
Hi, you just calibrate the PH sensor and connect to any Analog pin in ESP32 board. and read the sensor like the first one, shows in the video.
@SSS-SkyMaster
@SSS-SkyMaster Рік тому
What about show data of both pH sensor to Blynk website or app.
@SMEDehradun
@SMEDehradun Рік тому
Create the new datastream, and send the value to the blynk as for the first sensor
@capstonegroup8806
@capstonegroup8806 Рік тому
Hello sir, can you help me with my project. I did all of these but I cannot connect the blynk app. It only appear the readings on my serial monitor
@SMEDehradun
@SMEDehradun Рік тому
Have you connect your board to wifi using blynk IoT app? ukposts.info/have/v-deo/fYCZjZWfe6WrxqM.html Go through this video if you are getting any problem.
@capstonegroup8806
@capstonegroup8806 Рік тому
@@SMEDehradun Thank you for this video sir. The one thing I didn't do is open my mobile data that's why I can't connect my board to the wifi using blynk app
@SMEDehradun
@SMEDehradun Рік тому
Once you connect your board to the wifi, then you will get the reading to your blynk widgets.
@capstonegroup8806
@capstonegroup8806 Рік тому
@@SMEDehradun Thank you so much sir
@SMEDehradun
@SMEDehradun Рік тому
Most welcome
@PSISVarshiniKN
@PSISVarshiniKN Рік тому
the selected serial port serial.serialutil.SerialTimeoutException: Write timeout does not exist or your board is not connected... Sir it's showing error while compiling
@SMEDehradun
@SMEDehradun Рік тому
Which board you have selected like ESP12E or esp32 ?
@PSISVarshiniKN
@PSISVarshiniKN Рік тому
@@SMEDehradun esp8266
@PSISVarshiniKN
@PSISVarshiniKN Рік тому
Sir pH sensor has 5 pins T0 D0 P0 G G V+
@PSISVarshiniKN
@PSISVarshiniKN Рік тому
Here which is the output pin sir
@SMEDehradun
@SMEDehradun Рік тому
Mail me the screenshot of complete program. I will revert you.
@leonidas047
@leonidas047 7 місяців тому
Hello, sir. Can you help me? I'm planning to build a project similar to yours, but I intend to use a soil pH sensor to determine the pH level of the soil. However, I don't know how to proceed.
@SMEDehradun
@SMEDehradun 7 місяців тому
I have already posted a video on the soil sensor. To calibrate the soil sensor, this will guide you. ukposts.info/have/v-deo/rXpynJWQeo99yJc.html And this video will guide you for the plant monitoring based on soul sensor ukposts.info/have/v-deo/hnFlf32nqKyGjqM.html
@leonidas047
@leonidas047 7 місяців тому
@@SMEDehradun thank you so much sir I appreciated your help, last one question it is possible to connect that PH Sensor that using ESP32 to firebase to send the result of ph sensor to firebase?
@SMEDehradun
@SMEDehradun 7 місяців тому
Yes. This is possible.
@vedantraut6126
@vedantraut6126 Рік тому
Sir i have made same project but sir i am facing some problems, that i ahe done all the process but the value of ph is not getting accurate means it is not constant . It is varies up and dowm continuously. i think some problems in the code plzzz rely me as soon as possible
@SMEDehradun
@SMEDehradun Рік тому
Hello Vedant, There is no coding issue. You need to calibrate the PH sensor first so that it can give you the accurate value.
@vedantraut6126
@vedantraut6126 Рік тому
@@SMEDehradun sir i have calibrated the ph sensor already but vale is still not constant can i send you the video ?
@vedantraut6126
@vedantraut6126 Рік тому
sir how can i contact you sir
@SMEDehradun
@SMEDehradun Рік тому
There is not any issue with programming code as it’s tested with the parameters. So Check your hardware connection properly & also provide the external power to your board.
@vedantraut6126
@vedantraut6126 Рік тому
@@SMEDehradun ok sir thanks you sir
@mudzakirsalam2779
@mudzakirsalam2779 Місяць тому
how to conect wifi device
@SMEDehradun
@SMEDehradun Місяць тому
Through mobile app. If you Watch the video, you will get the method to connect with wifi.
@lukemark157
@lukemark157 Рік тому
Sir what if the ph sensor is connected to the arduino, and the arduino is connected to the nodemcu. Is it possible? Thank you
@lukemark157
@lukemark157 Рік тому
And also, my ph sensor is v1.1, not v2.0
@SMEDehradun
@SMEDehradun Рік тому
Yes Luke Mark, This is also possible.
@lukemark157
@lukemark157 Рік тому
Can I ask how to do it sir? The problem is that it does not show the readings in my web dashboard and blynk app
@SMEDehradun
@SMEDehradun Рік тому
Send the link for the ph sensor so that I can suggest the library.
@lukemark157
@lukemark157 Рік тому
I'll mail it to you sir
@PSISVarshiniKN
@PSISVarshiniKN Рік тому
Sir can I get a report for this project
@SMEDehradun
@SMEDehradun Рік тому
Hi, Sorry report is not available. I can help you on project.
@PSISVarshiniKN
@PSISVarshiniKN Рік тому
@@SMEDehradun ok sir thank you
@SMEDehradun
@SMEDehradun Рік тому
Welcome
@kristianeeaquariu7655
@kristianeeaquariu7655 2 роки тому
i used PH-4502C and the output is different
@SMEDehradun
@SMEDehradun 2 роки тому
Ya. It’s depend on water & calibration of the sensor. It may vary.
@kristianeeaquariu7655
@kristianeeaquariu7655 2 роки тому
@@SMEDehradun the results are reversed, ph value of bleach is around 5 and ph value of of vinegar is around 9
@kristianeeaquariu7655
@kristianeeaquariu7655 2 роки тому
Sir @@SMEDehradun how to calibrate PH-4502C ph sensor? pls help
@SMEDehradun
@SMEDehradun 2 роки тому
You need Calibrate the sensor first. After that try.
@SMEDehradun
@SMEDehradun 2 роки тому
We don’t have PH-4502C sensor. So can’t say how to calibrate it.
@user-ox5on9yl7v
@user-ox5on9yl7v 7 місяців тому
Hello sir, when i followed your tutorial everything works in order except when i started verifying or uploading the code it will say "Compilation error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" and it will direct me to BlynkEdgent.h i properly copied the #define BLYNK_TEMPLATE_ID "TMPL6N6GotM39" #define BLYNK_TEMPLATE_NAME "PH Sensor With Blynk 2" in NODEMCU And it says that kind of error and "Compilation error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" which can be located in BlynkEdgent.h could you upload another tutorial for this? thank you
@SMEDehradun
@SMEDehradun 7 місяців тому
Hi, You need put header file inside your programming folder. Below video link will help you troubleshoot thw errors. ukposts.info/have/v-deo/fYCZjZWfe6WrxqM.html
@user-ox5on9yl7v
@user-ox5on9yl7v 7 місяців тому
@@SMEDehradun the header file is already attached to the programming which is the file we download " Ph_Sensor_Nodemcu" as you said in the video where you send a new link, you said " don't touch the header files without a knowledge" yes, i didn't touch a single thing on the headers. but the problem is whenever i try to verify and upload it it says like that "Compilation error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" and directing to blynkedge header files. which i have already attach the header on programming
@user-ox5on9yl7v
@user-ox5on9yl7v 7 місяців тому
@@SMEDehradun when opening a Ph_Sensor_with_New_Blynk 2.0. the header is already attached to a file NODEMCU/ESP32. so i had already the header. but once i started to verify or upload the code it says that error "Compilation error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" and it will direct me to BlynkEdgent.h. which on your tutorial don't have that video to fix it. you said in the link you send " don't touch the header if you don't have knowledge on it" so basically yeah i didn't touch a single thing in the headers, but only to follow the process in your tutorial.
@SMEDehradun
@SMEDehradun 7 місяців тому
I think, you are not watching the video properly. I have aleqdy share you the troubleshooting link. Watch it completely. And still you are facing same problem, Share the complete screen shot at schematicslab@gmail.com
@PSISVarshiniKN
@PSISVarshiniKN Рік тому
Sir how can I contact u
@SMEDehradun
@SMEDehradun Рік тому
You can contact us at schematicslab@gmail.com
@PSISVarshiniKN
@PSISVarshiniKN Рік тому
@@SMEDehradun sir alredy I have mailed can u plz check it ones
@PSISVarshiniKN
@PSISVarshiniKN Рік тому
@@SMEDehradun sir can I get ur contact number plz
@SMEDehradun
@SMEDehradun Рік тому
K.
Making your first project on New Blynk 2.0⚡️
15:23
techiesms
Переглядів 197 тис.
Эффект Карбонаро и пончики
01:01
История одного вокалиста
Переглядів 3 млн
DIY IoT Water pH Meter using pH Sensor & ESP32
9:40
How To Electronics
Переглядів 60 тис.
Boston Dynamics NEW ROBOT STUNS EVERYBODY!
4:24
NEXT AI
Переглядів 1,8 тис.
pH Sensor: Assembling, Coding, & Calibrating with Arduino | Smart Gardening
10:54
science with jessica
Переглядів 28 тис.
New Blynk IOT Smart Plant Monitoring System
16:54
Viral Science - The home of Creativity
Переглядів 309 тис.
DHT11 Temperature Sensor With ESP8266 NodeMCU & Blynk
8:47
Sayan Electronics
Переглядів 3,7 тис.
Рекламная уловка Apple 😏
0:59
Яблык
Переглядів 146 тис.
Бюджетная видеокарта за 5000 рублей
17:47
Nitroxsenys
Переглядів 27 тис.