How To Make Smart Plant Watering System With ESP8266 NodeMCU & New Blynk
ฝัง
- เผยแพร่เมื่อ 9 ก.ค. 2023
- In This Video, I have Shown, How To Make Smart Plant Watering System With ESP8266 NodeMCU & New Blynk Update
Thanks for watching...❤
COMMENT BELOW , if you LIKE the Video
Help Me To Cross LIKE AIM Of This Video : 1k
& Help Me To Reach SUBSCRIBERS AIM : 1Lakh
📜 NodeMCU ESP8266 CODE LINK :
1.www.mediafire.com/file/3tcmrl...
2.www.mediafire.com/folder/rsam...
📝CIRCUIT DIAGRAM :
Described In the Video Itself Step By Step
🔍COMPONENTS BUYING LINK :
📌NODEMCU - ESP8266 Wifi Development Board
www.electronicscomp.com/nodem...
📌Soil Moisture Sensor Module
www.electronicscomp.com/soil-...
📌1 Channel 5V Relay Module without Optocoupler
www.electronicscomp.com/1-cha...
📌3V to 12V Mini DC Submersible Pump
quartzcomponents.com/products...
📌18650 Li-ion 2200mAh Rechargeable Battery (Original)
quartzcomponents.com/products...
📌GL12 840 Points Solderless Breadboard
www.electronicscomp.com/gl12-...
📌2 x 3.7V 18650 Lithium Polymer (Lipo) Battery Holder
www.electronicscomp.com/2x3.7...
📌Male To Male Jumper Wires (10cm) - 40 Pieces pack
www.electronicscomp.com/male-...
🎼Music Credits :
TH-cam Audio Library
🎧 SFX Credits :
1.Sound Effect from href="pixabay.com/sound-effects/?ut..."Pixabay
2.Sound Effect from href="pixabay.com/sound-effects/?ut..."Pixabay
3.Sound Effect from href="pixabay.com/sound-effects/?ut..."Pixabay
~~~~~~~~~
📲 FOLLOW US ON :
📌Facebook :
/ sayan-electronics-1061...
📌Instagram :
/ priyo2.2
#sayanelectronics #iot #nodemcu #esp8266 #arduino - แนวปฏิบัติและการใช้ชีวิต
Really liked your video bro. The way you portray connection and the working mechanisms absolutely loved it. Also, I am planning to use the same method in my project as well bro. Will I be able to communicate with you if I have any issues during the project bro ? Thank you so much for sharing your knowledge bro. Extremely grateful.
Thanks a lot brother for such a beautiful comment ☺️🤍All of your comments inspire me to improve & make more high level projects for you guys,
If you share your problems here in TH-cam comment box , then it'll be good , because both the problem & solution I'll provide will benefit all other future viewers , having same problems..
This uses a 5v relay version which is LOW Trigger or HIGH Trigger or LOW HIGH Trigger?
great video, beautiful and helpful
Thanks a lot😊🙏
Bro your great, I made this project and it works, thank you❤️❤️
Thanks a lot , to let me know that you succeeded ...keep up the good work😊
You are not getting any issue when you run the code
I am getting an error after installation of All liberary
I have installed all the libraries but still it says .. BlynkSimpleEsp8266.h no such file or directory...
Plz help ne bro its very important for my college project 😭😭😭😭
Erreur de compilation pour la carte NodeMCU 1.0 (ESP-12E Module) errror that i got,please help me
Why is nobody talking about how well edited the video is? ❤
You are the first Sayan Electronics family member , to write such a beautiful comment...❤️🙏🥺Thanks a lot brother from the core of my heart❤️❤️
I'll put your comment snapshot in my story😇
Sir can we control this system from any where? Please reply sir
I have installed all the libraries but still it says .. BlynkSimpleEsp8266.h no such file or directory...
Plz help ne bro its very important for my college project 😭😭😭😭
thanks for the tutorial, sir! it worked perfectly fine. but can you write a code to make the pump on when soil moisture value is low? like the automatic one, please? i need it tomorrow for school project.
Thanks to let me know that it worked..☺️obviously I'll make the automatic one ,but sorry brother ,recently I'm working on a big project ,so I need time to do that...not possible to upload tomorrow..Hope u understand😊
😭
I have installed all the libraries but still it says .. BlynkSimpleEsp8266.h no such file or directory...
Plz help ne bro its very important for my college project 😭😭😭😭
hello why i cant click on the template code? please answer
sir my nodemcu fit fully on the breadboard so not leaving one point on the edge like u (to connect the led and others component) why is that? did u use the different nodeMCU? or different breadboard?
Yes , you are using nodemcu version-3(with CH340 driver chip) , I've used nodemcu version-2 (with CP2102 driver chip)
are they the same or there is a difference ?@@SayanElectronics
Obviously different , versions , driver chip & size
Awesome video bro, quick question. Can I skip the battery part?
Yes ,If you want
Me to offline node mcu 8266 after 31 dec. 2022 blynk cloud shutdown. 😥
👍🏻❤️
bro actually i have connected everything as you shiwed in the video but when i turn on the on switch from my mobile phone for water pump, the relay light emits to green but the pump is not getting started what is the issue?? though i have chnaged the relay twice or is it necessary that the water pump should be 3-12 volt??
Yes , pump may not getting adequate voltage it needs to get started...what battery have you used?
12v
But the pump as well as 1 channel relay can't tolerate 12 volts ,they might've been damaged... I have used total 7.4 volts , try using 7.4 volts
Hey does your motor work now ?
@@mi0468 no buddy
Everything is working but i have got few error sir but u made very well
Thanks , feel free to share your errors here...
Hi i have problem with inluded libraries and i can't find board. Could you tell me how i can add it .
Solution To Your Question Coming On Next Video...Must Watch 😊
@@SayanElectronics thanks i will be waiting 😀
You can see the solution on your comment on recent long video at 4:04 onwards..
can we use the app offline?
Why is my pump not working even though the yellow light in the on relay module is still on, the blink app still works?
Please tell the battery voltage & amp you are using ...the pump may not be getting the voltage & current to start
Hey I am having the exact same issue as I have a 9V battery.
Try using a 6V-7.4V battery. Also check separately, if your pump & relay are working or not
Same problem for me, relay module works (tested separately). Pump works when it is connected to the breadboard but not working when connected to battery (7.4V). Please help.
Sir ive problem, my display(led) is turning off after few minutes of usage its not showing any value except light and also data from soil moisture sensor is alsways changing even if its in open air its showing 100 please revert back
Please check for any loose connections & check also battery voltage if you are using the same code of mine
Aasalam o alaikum! Sir
Can you provide the software requirements specifications (SRS)
I CHOOSE THIS PROJECT FOR FINAL YEAR PLZ PROVIDE SRS if available thanks ❤
Walekum Salam vai,😇
You need only Arduino software to just upload code...so any simple device can do that work very smoothly... So if you have computer it's fine otherwise also you can upload the code using your phone
Is it still gonna work if i remove the soil moisture sensor
The mechanism of the working is that when soil is moist then nothing'll happen but when soil dries , moisture sensor senses it & waters the plant
Now , if you not use the sensor , then in code u can use delays to water the plant twice everyday like that...you've to make changes in code to make it work without sensor
I'm having a problem, the pump won't turn on, even though I've followed your method. HELP ME
How to upload code many errors
Code errors may occur if you've not installed all libraries required for the code..
Check the relay & each module you are using separately, if they are working , also check the pump, if it is getting proper voltage output from relay out pins...if they are all fine.... Check if your connection are same as that of code ...otherwise it will not work
Hey does your motor work properly now ? I am also having the same problem with my project
Sir can i use LCD Display instead of LCD With 12C
Obviously but in that case you've to define each lcd pins in code & connect separately & that may lead to loose connection giving rise to sevaral problems ...so try to use i2c
Possible combine temperature sensor and soil sensor together with ESP8266
Yes it's possible brother..
Do we need to pay in the Blynk website or you are using free ?
No , it's free brother .... For some extra buttons & features it's paid version...but if you follow my video , it's made absolutely free of cost on BLYNK side
Do this has limited range?
Yes about 2-3kms ...but thanks for commenting😊...I'll make a range test experiment on ESP8266 for my TH-cam family❤️
Can I use 5v relay ???
Yes ,I've also used 5V , but ..."without optocoupler"
hi sir i dont find the followings in the libraries that you showed: 6:32 and 6:48
6:48 is not a library it's the board required
1)Open the Boards Manager. Go to Tools > Board > Boards Manager…
2)Search for ESP8266 and press install button for the "ESP8266 by ESP8266 Community"
6:32 is the "ESP8266 Wifi" Library , go to Sketch > manage libraries & then install the library first
Hello i am also doing this project for final year and blynk app is also works properly but my Motor is not turning on . Can you please help me with this one
Motor may not getting adequate voltage it needs to get started...what battery have you used?
9v
Check the motor separately if it works perfectly or not , bcz the motor can tolerate 3-6V DC .
For that reason ,I've used 7.4Volts battery . Also before using ,I drained excess 1V in it in other circuits.
Ohh ok I will try that
@@mi0468 did it work?
Can i use Esp8266 ch340 instead of Cp2102
Obviously you can but in that case coding needs to be changed in some parts
hi .. do u have a pic of the circiut diagram ?
No brother , but you can connect all modules step by step as shown in video .
can i replace led+i2c with oled i2c sir?
Yes you can, but the code will change also in that case
@@SayanElectronics thank you sir
When i try to run the code here i getting error because of missing Template I'd and template name you not written in code
The template I'd and name will be yours which you will find in the blynk dashboard when u will create the design as mentioned in the video. Hope it helps
Absolutely
Your solution is from 6:00 onwards
Is it necessary to connect it externally with power bank?
No brother , you can also use mobile charger or any power supply box with 5V output supply & also a 5V battery...
Can use the USB cable with my Pc@@SayanElectronics
Yes you can
My LED i2c is not working and moisture sensor shows wrong value
Check if there r some loose connections , fix that first & recheck your circuit connection
@@SayanElectronics I checked that, and everything is fine. I checked on the internet, seems that I'm using esp8266 v0.9 and not 1.0. is that the problem? And now I have a new issue, the esp does not connect to my laptop for some reason, it was working fine before and I could control the motor using blynk, but now even that is not happening
Toools > Board > nodemcu 0.9
Select right board & port & change the preferences
watch this video ...
th-cam.com/video/hMEllYYoz_s/w-d-xo.htmlsi=7OvNXCIO8DOq0gUi
for details
Is there any other way to make it without Arduino and breadboard?!
Why not , you can make permanent connection in veroboard ... & for more professional design you can use customized PCB
hello hi , why the value not appear at my lcd
Check for any loose connection at any pins of lcd..check code to define pins correctly
The pump is not working and the lcd is also not showing any display
Check for any loose connection & also the power source should range between 6V - 7V
While compiling i am having error for exit status how can i solve this
Can you plz copy paste the full error message ...!?
@@SayanElectronics now I don't have laptop all code is ok but atlast after verifying I am getting error that is "exit status" it is the error I'm getting
It means compilation process failed. Check for any syntax errors in the code, missing libraries , select right board & port ,& again try to compile..
Can i use esp32 place of esp8266
Yes you can..
Bro error is coming that
Pls specify Blynk templet id
What should I do
If you've used my code then you need to change template id & password .Check that on your BLYNK , provide that in place of mine ..
@@SayanElectronics bro i have made changes in auth ssid and password
Can u tell where I have to make changes else
My code is not able to compile pls help
Can u paste the code here ?...which line is showing error...
cant access the link for downloading the code. plz help
You can copy & paste the code also from the comments . Please see the comments section
Sir how can i found 7.4 volt battery?
Link in description
Favorite part was the battery edit
Thanks a lot ...much happy to know that you liked that part 😇☺️🤍subscribe for more such videos...
@@SayanElectronicsbro, I'm trying to build this exact thing for my college project, could you please help me with the programming bit? Thank you
@@SayanElectronicsSIR****
DM your prblm in instagram
is the app online? can we use it offline?
No , BLYNK must remain online
Bro i am doing my clg project bro some error coming you can help me bro i will pay amt also bro plzz help me
No bro , no amt is required you please describe your error ...
Arduino: 1.8.16 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
WARNING: library LiquidCrystal_I2C-1.1.2 claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp8266 architecture(s).
In file included from C:\Users\HARISH\Documents\Arduino\libraries\Blynk\src/BlynkApiArduino.h:14,
from C:\Users\HARISH\Documents\Arduino\libraries\Blynk\src/BlynkSimpleEsp8266.h:24,
from C:\Users\HARISH\Documents\Arduino\sketch_feb17b\sketch_feb17b.ino:9:
C:\Users\HARISH\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkApi.h:39:6: error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_TEMPLATE_NAME"
39 | #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_TEMPLATE_NAME"
| ^~~~~
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
@@SayanElectronics bro alteast give whatapp number bro please
Contact me on Instagram brother ...
link is not working
It's working brother ..plz try moving to a high speed network area
//In Case Description Code Doesn't Work, Here It Is For All Of You Friends☺ Please Subscribe, If You Like The Video //
Smart Plant Watering System
#define BLYNK_TEMPLATE_ID "Put Template Id"
#define BLYNK_TEMPLATE_NAME "Put Template Name"
#define BLYNK_AUTH_TOKEN "Put Auth Token"
/*Smart Plant Watering System With New BLYNK
@SayanElectronics */
//include libraries
#include
#define BLYNK_PRINT Serial
#include
#include
//Initialize the LCD display
LiquidCrystal_I2C lcd(0x27, 16, 2);
char auth[] = "Auth Token";//Enter your Auth token
char ssid[] = "Wifi SSID";//Enter your WIFI name
char pass[] = "Wifi Password";//Enter your WIFI password
BlynkTimer timer;
bool Relay = 0;
//Define component pins
#define sensor A0
#define waterPump D3
void setup() {
Serial.begin(9600);
pinMode(waterPump, OUTPUT);
digitalWrite(waterPump, HIGH);
lcd.init();
lcd.backlight();
Blynk.begin(auth, ssid, pass, "blynk.cloud", 80);
lcd.setCursor(1, 0);
lcd.print("System Loading");
for (int a = 0; a
Code is not working
Can you help me please
Plz tell the error you 'r getting..
@@SayanElectronics many errors
No prblm , copy all the errors & paste them here
@@SayanElectronics okay I will paste it from another account
@@SayanElectronicsC:\Users\kadam\OneDrive\Documents\Arduino\Plant_watering_system_with_new_blynk_update__1_\Plant_watering_system_with_new_blynk_update__\Plant_watering_system_with_new_blynk_update__.ino:6:10: fatal error: LiquidCrystal_I2C.h: No such file or directory
6 | #include
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: LiquidCrystal_I2C.h: No such file or directory
Hello brother i have a problem why can't i connect to blynk? Always offline 😢
Please reply brother 😢
th-cam.com/video/r7gBR_wfhqE/w-d-xo.htmlsi=80w-URMTiFLueVnI
Watch this video....your solution is at 13:52
Thank you brother i will try it now
Try, if you solve it ...plz let me know😊
It won't work brother 😢 where can i contact you brother? I will send you a picture
C:\Users\sbi\Downloads\Modified new project (2)\Modified new project (2).ino:4:10: fatal error: BlynkSimpleEsp8266.h: No such file or directory
4 | #include
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: BlynkSimpleEsp8266.h: No such file or directory
what can i do
Install the Blynk library first brother..
WHEN I WANT TO SELECT PORT I CANT and when i upload the code shows an error thats it:WARNING: library LiquidCrystal I2C claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp8266 architecture(s).
. Variables and constants in RAM (global, static), used 31384 / 80192 bytes (39%)
║ SEGMENT BYTES DESCRIPTION
╠══ DATA 1560 initialized variables
╠══ RODATA 2576 constants
╚══ BSS 27248 zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 61911 / 65536 bytes (94%)
║ SEGMENT BYTES DESCRIPTION
╠══ ICACHE 32768 reserved space for flash instruction cache
╚══ IRAM 29143 code in IRAM
. Code in flash (default, ICACHE_FLASH_ATTR), used 256244 / 1048576 bytes (24%)
║ SEGMENT BYTES DESCRIPTION
╚══ IROM 256244 code in flash
Failed uploading: no upload port provided
please help me i have a school project
can somebody help me?
Make sure you have connected your esp8266 (version 1) with computer via USB cable & select the right board & settings as I've done in video at 6:10
i did it but again i cant select port
@@SayanElectronics
C:\Users\HARISH\Desktop\New folder\test_1\test_1.ino: In function 'void setup()':
test_1:32:7: error: 'class LiquidCrystal_I2C' has no member named 'init'
32 | lcd.init();
| ^~~~
Multiple libraries were found for "LiquidCrystal_I2C.h"
Used: C:\Users\HARISH\Documents\Arduino\libraries\ESP8266-I2C-LCD1602-master
Not used: C:\Users\HARISH\Documents\Arduino\libraries\LiquidCrystal_I2C-1.1.2
exit status 1
'class LiquidCrystal_I2C' has no member named 'init'
please help me to clear this sir
change the "init" to "begin"
@@ryucerie tried bro but not working at all
@@DEIX_REMOX_YT you have multiple libraries, only choose the second referred in "not used" . you can delete the one referred in "used".
WARNING: library LiquidCrystal I2C claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp8266 architecture(s).
In file included from c:\Users\vishw\Documents\Arduino\libraries\Blynk\src/Blynk.h:14,
from C:\Users\vishw\Desktop\soil\soil.ino:9:
c:\Users\vishw\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkApi.h:39:6: error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_TEMPLATE_NAME"
39 | #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_TEMPLATE_NAME"
| ^~~~~
exit status 1
Compilation error: exit status 1
This is the error I'm getting
Select the write board as I've selected ...also change the template id & name . Your BLYNK should generate a different Template id & name . Put that in code .
I selected nodemcu 1.0(ESP-12) I gave what u told in video but it is getting error
See carefully there are two options --
1) NodeMCU 0.9(ESP-12 Module)
2)NodeMCU 1.0 (ESP-12E Module)
Option no.2 which has (12E)written, select that board & also go to
File > Preferences > Additional board manager URL's
& paste this link given below --
arduino.esp8266.com/stable/package_esp8266com_index.json
can we use the app offline?