Home Automation Using NodeMCU and Blynk 2.0 | Control Bulb Using Blynk 2.0 | Blynk 2.0 Projects
ฝัง
- เผยแพร่เมื่อ 13 ม.ค. 2022
- Control Electric Bulb Using Blynk 2.0/Blynk IOT
Required Components
==================
1. NodeMCU
2. Relay
3. Bulb
Components Link
===============
1. NodeMCU - robu.in/product/nodemcu-esp82...
2. Relay - robu.in/product/5v-2-channel-...
3. Connecting Wires - robu.in/product/30pcs-flexibl...
Software Required
===============
1. Arduino IDE - www.arduino.cc/en/main/software
2. Programming Language - C Language
Source Code
===========
github.com/Tech-Trends-Shamee...
Reference Video of Arduino Experiments
======================================
1. Control Water Pump Using Blynk 2.0 / Blynk IOT | IOT Projects | Home Automation
• Smart Irrigation Using...
2. Control LED using Arduino IOT Cloud and ESP8266 | Arduino IOT Cloud Projects
• Control LED using Ardu...
3. Control LED using Blynk 2.0/Blynk IOT using Simple Program | Blynk 2.0 Projects | Node MCU Projects
• Control LED using Blyn...
4. Temperature and Humidity Monitor using Arduino IOT Cloud and ESP8266
• Temperature and Humidi...
5. How to Display Current Date and Time in LCD
• How to Display Current...
6. Top 10 Arduino GSM module projects
• Top 10 Arduino GSM mod...
7. How to interface MPU6050 Accelerometer and Gyroscope Sensor with Arduino Nano
• How to interface MPU60...
8. How to store Temperature data in Google Spreadsheet
• How to store Temperatu...
9. How to Display Temperature, Pressure, Altitude Display in LCD
• Temperature, Pressure,...
10. Rain Alert Call and SMS in Mobile using GSM SIM 800 Module | Arduino Projects
• Rain Alert Call and SM...
11. Live Streaming using ESP32 CAM and Blynk App
• Live Streaming using E...
12. How to store temperature data in SD card | Arduino Projects
• How to store temperatu...
13. Object Detection Alert Call and SMS in Mobile using GSM SIM 800 Module | Arduino Projects
• Object Detection Alert...
14. Distance Measurement in OLED Display
• Distance Measurement i...
15. ESP32 Cam Setup | Face Detection | WiFi Camera
• ESP32 Cam Setup | Face...
16. Temperature Display in OLED | Arduino Projects
• Temperature Display in...
17. How to get the Temperature Alert Call and SMS in Mobile using GSM SIM 800 Module | Arduino Projects
• How to get the Tempera...
18. How to get the Theft Alert Call and SMS in Mobile using GSM SIM 800 Module | Arduino Projects
• How to get the Theft A...
19. How to get Gas Leakage Alert Call and SMS | Arduino Projects
• How to get Gas Leakage...
20. How to get Fire Alert Call and SMS in Mobile
• How to get Fire Alert ...
Music: www.bensound.com
♥ Facebook: / techtrendsshameer
♥ Instagram: / tech_trends_shameer - วิทยาศาสตร์และเทคโนโลยี
BRILLIANT! Excellent project WITH EASY TO DOWNLOAD SKETCH! Thank you very much!
You are welcome! Keep Supporting.
how could you say that? This guy is completely incomprehensible
Relay turn on but it does not work for any commands and it does not turn off. I even tried by setting digitalWrite to low but it does not work.
Good teaching, thank you.
Thank you
My relay led is on and off while triggered but the bulb continuously on and i m also not getting any switching sound why pls help
my NodeMcu's LED is blink and stop is my Node mcu is works or not ?
THANK YOU
Welcome.
very helpful thank you it's working for me
You're welcome!
0hh best leh bro biang2
Sir my bulb is just switched on and not getting off, only the MCU led is getting off.
Sir can i use analog bulb
I am a learner. Nodemcu is connected with wify and setup all parameters but through the blynk I cannot make it on or off.
What error you are getting?
The relay doesn´t work properly with this code. When you conect the cable with the signal, it activates the relay but didn´t respond to the commands of the phone or Comp. It seems that the relay is always activate. Is the same problem that explain some of the other coleagues previusly.
i face same problem , please can you explain the solution !!
Blow is glowing but node mcu is working...what is the problem with the relay, iam not understanding...
I didn't got your question. Can you please let me know the problem you are facing?
Sir please make one video tutorial on Temperature control fan
Can i know why i cant put relay D4. its show error and the system askme to change to V4. Is it still the same? I follow all the insruction but i cant turn on the bulb(as for me i change to fan). My fan not move at all
Please reply the below
1. Where you connected the pin in Nodemcu D2 or D4?
2. In Blynk -> Datastream which pin you selected?
3. In the program which pin is mentioned?
@@TechTrendsShameer 1. in NodeMCU I connected to D4
2. in blynk I selected pin 2
3. In the program, pin D4 is mentioned
bro is your project working?
Same problem I'm facing
This code is showing compilation error for ESP8266wifi.h, what to do?
Install the Blynk library from Arduino IDE -> Tools -> Manage Libraries
Thank you sir, the problem is solved but the bulb is not working instead the LED on the MCU is working, please help me out.
Sir its showing as uploaded but its not showing online
Check the WiFi Connection, Auth code and the circuit connection.
The source code link is not working,,can you kindly please provide the source code!
Please check this link drive.google.com/file/d/12QAQ_tQcEUAJ3tWhwNkZHHfKNx2jxeDk/view?usp=sharing
What library are you using sir
Blynk library.
Is it still the same if system donr recognize D4. and only know V4
Please reply the below
1. Where you connected the pin in Nodemcu D2 or D4?
2. In Blynk -> Datastream which pin you selected?
3. In the program which pin is mentioned?
@@TechTrendsShameer
1. At D4 at nodemcu
2. Pin 2 same as you
3. I copy your code which is D4 is mentioned at code
Should we put socket too? Because i just use fan pc connect to relay
Connections are correct. Give power supply for the fan through a battery.
I am using 4 relay. What will be the source code?
#define BLYNK_TEMPLATE_ID "TEMPLATEID"
#define BLYNK_DEVICE_NAME "Control Electric Bulb"
#define BLYNK_AUTH_TOKEN "AUTHTOKEN"
#define BLYNK_PRINT Serial
#include
#include
char auth[] = BLYNK_AUTH_TOKEN;
char ssid[] = "WIFI Username"; // type your wifi name
char pass[] = "WIFI Password"; // type your wifi password
int pin1 = D1;
int pin2 = D2;
int pin3 = D4;
int pin4 = D5;
void setup()
{
Serial.begin(115200);
Blynk.begin(auth, ssid, pass);
pinMode(pin1,OUTPUT);
pinMode(pin2,OUTPUT);
pinMode(pin3,OUTPUT);
pinMode(pin4,OUTPUT);
}
void loop()
{
Blynk.run();
}
Sir which ssid and password we entered in programme?
Enter the ssid and password of the connection which you are using.
Sir I can't able to connect Google assistant sir.i should done all the things that you have don't i can't able to connect Google assistant.
Is there is any code to insert into esp8266
please connect me in instagram.
My project is not seeing device online
Please message me on Instagram
instagram.com/tech_trends_shameer
Sir what is the source code for 2 channel relay
You can use the same code, there is no change in code. In blynk, you need to add 2 variables. That is the only change.
Sir I have completed the project but in the program it shows V4
And another problem is it is not connecting to internet and shows offline
Its D4. Not V4.
@@TechTrendsShameer it is not connecting to internet?
Check the video again and follow all the steps in the video.
Check the circuit connection
Check the Auth code from Blynk is correct.
For esp32
Just need to change the pin and the corresponding lines in the code
@@TechTrendsShameer send the code for esp32 sir
Code link not working
message me in instagram.
Very Good Project
I also trying to make this but my relay not running properly both red and green signals are giving !
So how can solve this problem??
Guide me sir
Thank you. Did you have external power supply to the relay ?
Pls send me the photo of connection
please send whole code
github.com/Tech-Trends-Shameer/Esp-8266-Projects/tree/main/Home-Automation-Using-Blynk-iot
Source code deleted pls add
please message me in instagam.
Source Code Not Working
What is the problem you are facing?
Please send me the code
complete source code diya hi nhi iss bhai ne
device is offline problem
Check WiFi connection and also make sure you copied the auth token from blynk
Please share to code
Please check video description
No source code
Please contact me in instagram.
Sir can you provide the circuit diagram
Please watch the full video. Circuit is included in the video