Это видео недоступно.
Сожалеем об этом.
How To Make Smart Plant Watering System With ESP8266 NodeMCU & New Blynk
HTML-код
- Опубликовано: 19 авг 2024
- 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....
2.www.mediafire....
📝CIRCUIT DIAGRAM :
Described In the Video Itself Step By Step
🔍COMPONENTS BUYING LINK :
📌NODEMCU - ESP8266 Wifi Development Board
www.electronic...
📌Soil Moisture Sensor Module
www.electronic...
📌1 Channel 5V Relay Module without Optocoupler
www.electronic...
📌3V to 12V Mini DC Submersible Pump
quartzcomponen...
📌18650 Li-ion 2200mAh Rechargeable Battery (Original)
quartzcomponen...
📌GL12 840 Points Solderless Breadboard
www.electronic...
📌2 x 3.7V 18650 Lithium Polymer (Lipo) Battery Holder
www.electronic...
📌Male To Male Jumper Wires (10cm) - 40 Pieces pack
www.electronic...
🎼Music Credits :
RUclips Audio Library
🎧 SFX Credits :
1.Sound Effect from href="pixabay.com/so..."Pixabay
2.Sound Effect from href="pixabay.com/so..."Pixabay
3.Sound Effect from href="pixabay.com/so..."Pixabay
~~~~~~~~~
📲 FOLLOW US ON :
📌Facebook :
/ sayan-electronics-1061...
📌Instagram :
/ priyo2.2
#sayanelectronics #iot #nodemcu #esp8266 #arduino
//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
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😇
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 😭😭😭😭
@@SciBhai Did you fix it?
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 RUclips comment box , then it'll be good , because both the problem & solution I'll provide will benefit all other future viewers , having same problems..
great video, beautiful and helpful
Thanks a lot😊🙏
This uses a 5v relay version which is LOW Trigger or HIGH Trigger or LOW HIGH Trigger?
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
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 😭😭😭😭
Everything is working but i have got few error sir but u made very well
Thanks , feel free to share your errors here...
Awesome video bro, quick question. Can I skip the battery part?
Yes ,If you want
Bro please help i need a code for only to run the motor(i am not going to use lcd display and soil Moisture sensor...)
Do you want to test the water pump or run it with a particular time delay between on & off ?
@@SayanElectronics bro i want run it as on and off switch using blynk,no time delay.please give the code 🥺
compiling is done , but lcd is not turned on and the device is offline, also my relay module , only 1 light is on
For offline problem , watch this video -
ruclips.net/video/r7gBR_wfhqE/видео.htmlsi=6p9Y97-IvuHyzN1l
from 13:55 onwards
I follow all your steps correctly after compiling the program it gives me successful message but while I am operating with my phone it's shows me offline plz sir help me out
Please help me out tomorrow is my project submission day
Please watch this video
ruclips.net/video/r7gBR_wfhqE/видео.htmlsi=dHp8x9Wu4lRhneR7
from 13:55 onwards to solve your problem.
Sir will it work if we don't use lcd and i2c because for some budget issue please reply🙏🏻
Yes why not
Thank u sir for ur response
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
Bro pls tell that can i do direct connections ?? because mine nodemcu is new one nodemcu v3 so it doesnt fit in breadboard
Yes you can , but for Nodemcu V3 , code 'll not be the same as this ...you've to make changes in code . Be careful about that to avoid runtime errors
Erreur de compilation pour la carte NodeMCU 1.0 (ESP-12E Module) errror that i got,please help me
How much distance it covers Means how much distance the connectivity range plsss reply❤
Range is about
50m (approx) indoors
100m (approx) outdoors
( without any interference/obstacles in between, like walls or other wifi networks)
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
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?
THERE IS NO IMAGE ON MY LCD SCREEN. IT WAS WORKING IN MY PREVIOUS PROJECT, SO IT'S NOT BROKEN. WHAT COULD BE THE REASON FOR THIS?
Most of the times this issue is for loose connection of lcd display . Please check & let me know ...
@@SayanElectronics The connections are correct. The humidity sensor also only shows between 85-95. Where is the error, please help. I have a project delivery in 2 days.
1)Make sure you've used correct i2C adress like mine is - 0x27
2) Install all libraries reqd..specially LiquidCrystal_I2C library.
3) Select correct esp8266 board like mine is Nodemcu 1.0(ESP -12E module)
4) Enter correct ssid, password , auth token .
5) Make sure your mobile data, wifi ,wifi hotspot all are ON
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.
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 ...
ruclips.net/video/hMEllYYoz_s/видео.htmlsi=7OvNXCIO8DOq0gUi
for details
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
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
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
Bro can esp32 will work with this?
Yes why not , board name & some coding sections will be different
SIR , what app did you use for the coding part? im so confused, i've downloaded the code link but i dont know how to put the codings. please help me , i need to submit this project this week
Software - Arduino
You can download it from official " arduino.cc "website
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
Can I use 5v relay ???
Yes ,I've also used 5V , but ..."without optocoupler"
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
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..
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
Do this has limited range?
Yes about 2-3kms ...but thanks for commenting😊...I'll make a range test experiment on ESP8266 for my RUclips family❤️
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 .
hello why i cant click on the template code? please answer
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...
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
Sir I buy a one 5v relay module without autocoplour ....sir when it will deliver and from where i can view my order details
From which website?
👍🏻❤️
Sir im facing a issue of Lcd_i2c claims to run on (avr) how it can be solved
This error means that the library isn't fully compatible with the ESP8266 platform.
Go to Sketch > Include Library > Manage Libraries...Search for LiquidCrystal_I2C by Frank de Brabander and install it.
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
Can i use Esp8266 ch340 instead of Cp2102
Obviously you can but in that case coding needs to be changed in some parts
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
Library problem
Possible combine temperature sensor and soil sensor together with ESP8266
Yes it's possible brother..
link is not working
It's working brother ..plz try moving to a high speed network area
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 😭😭😭😭
You may've multiple libraries with same name . Try deleting all similar libraries & install again
Can i use esp32 place of esp8266
Yes you can..
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
can we use the app offline?
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
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
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
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..
Please reply on my query why i am facing device offline on my blynk app
Watch this video
ruclips.net/video/r7gBR_wfhqE/видео.htmlsi=_fdqROmjTATvmQnQ
from 13:55 onwards
Compilation error: LiquidCrystal_I2C.h: No such file or directory
HELP ME!!!
Install the LiquidCrystal_I2C library first ...then upload code
@@SayanElectronics ı did it. ı installed all of them but this error keep going.
@@SayanElectronics can ı contact with you on any platform?
Plz copy your error message & paste here
@@SayanElectronics C:\Users\furka\OneDrive\Masaüstü\son_deneme_copy_20240616003341\son_deneme_copy_20240616003341.ino:6:10: fatal error: LiquidCrystal_I2C.h: No such file or directory
compilation terminated.
exit status 1
Compilation error: LiquidCrystal_I2C.h: No such file or directory
Im not getting the board name pls help me
You should follow these steps to install nodemcu board correctly -
ruclips.net/video/T5iubenbEcE/видео.htmlsi=UOoyWB90DeDfHxO1
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
Sir can we control this system from any where? Please reply sir
No , esp8266 is a wifi module , so this'll depend on the wifi signal strength it is connected ..
Range is about
50m (approx) indoors
100m (approx) outdoors
Sir, my pump is not turning off plsssss help mee...
Check your internet connectivity may not be stable
Ohwwwww... everything working fine now thank you so much
Don't forget to Subscribe & Share ☺️
😄👍👍👍
Sir how can i found 7.4 volt battery?
Link in description
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
In blynk project offline dekha raha h
Watch this video
ruclips.net/video/r7gBR_wfhqE/видео.htmlsi=_fdqROmjTATvmQnQ
from 13:55 onwards for this error solution
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 ...
Bro what will be the wifi I'd and password
You might be using a mobile hotspot or a broadband for internet . Use that wifi ssid password
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 😢
ruclips.net/video/r7gBR_wfhqE/видео.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\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".
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..
where is the code
?
Code link given in description..
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?