IoT Smart Home project using ESP32 Blynk control relay with WiFi + Manual Switch - 2021
HTML-код
- Опубликовано: 5 ноя 2021
- In this ESP32 project, I have explained how to make an IoT Smart Home project using ESP32 Blynk to control relays with Wi-Fi and manual switch. with this internet of things home automation system, you can also monitor the real-time feedback and control the appliances manually without internet.
PCBA from $0 (Free Setup, Free Stencil) jlcpcb.com/RHS
Download PCB Gerber file for the ESP32 IoT based home automation project
drive.google.com/uc?export=do...
For this ESP32 project, I have used the FREE plan of the Blynk IoT platform.
During the Blynk IoT tutorial video, I have covered the following topics:
00:35 Required Components for this Blynk ESP32 IoT project.
01:09 Circuit of the ESP32 Home Automation system.
03:00 Program the ESP32 with Arduino IDE
04:21 Set up Blynk cloud account, Web Dashboard.
07:02 Connect ESP32 with Blynk cloud account.
07:59 Setup Blynk IoT application Mobile Dashboard.
09:10 Control relays from Blynk App and switches.
Required Components for this ESP32 home automation system
1. ESP32 DEV KIT V1
2. 8-channel 5V SPDT Relay Module
3. Latched switches or Push Button
Amazon India Affiliate links:
ESP32 DEV KIT V1 : amzn.to/331pohb
8-channel 5V Relay Module : amzn.to/3mTWyVZ
Amazon United States Affiliate links:
ESP32 DEV KIT V1 : amzn.to/3mBjCch
8-channel 5V Relay Module : amzn.to/3p50UeH
Required Components for the Smart Relay Module PCB:
1. Relays 5v (SPDT) (8 no)
2. BC547 Transistors (8 no)
3. PC817 Optocuplors (8 no)
4. 510-ohm 0.25-watt Resistor (8 no)
5. 1k 0.25-watt Resistors (10 no)
6. LED 5-mm (10 no)
7. 1N4007 Diodes (8 no)
8. Push Buttons (8 no)
9. Terminal Connectors
10. Jumper (2 no)
11. 5V DC supply
------Important points for this ESP32 project:------
1. After compiling the code, you have to press and hold the BOOT button of ESP32 until the code starts uploading.
2. Install the correct version of the ESP32 board and Blynk library as mentioned in the code.
3. Please take proper safety precautions while working with high voltage.
-----------Related Previous Video Links:------------
Create New Template, DataStreams in Blynk Cloud account
• Home Automation using ...
Steps to program ESP32 with Arduino IDE
• Programming NodeMCU ES...
----------Codes----------
Download Code for this Blynk ESP32 control relays from the following article
iotcircuithub.com/iot-smart-h...
#smarthome #esp32 #blynk
-------------------------------------------------------
Thanks For Watching...
✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
Find out more such projects: iotcircuithub.com/
Facebook: / techstudycell
Instagram: / techstudycell
Telegram: t.me/techstudycell/
Twitter: / techstudycell
-------------------------------------------------------
Other useful ESP32 home automation projects:
Latest ESP32 projects playlist:
• ESP32 Projects
Latest NodeMCU projects playlist:
• NodeMCU Projects
Smart Home using Arduino IoT Cloud ESP32 Alexa control relay with IR remote
• Arduino IoT Cloud ESP3... Наука
Woahhh👏👏 Bro, Can u please make a base board of this that is ready to be installed behind the switch board because the esp32 or node MCU also need their own power supply I am sort of confused on how to do this without the need to use a charger and connect to the socket.
Great project
Thank you
♥
Have a little question.
Would like to see all this operated via multiple ESP32 modules, that is, I now only see an ESP32 sitting directly on a switch block and sitting directly on a switch block.
Everything is nice and well, that is nice in a test environment like this, the practice is more unruly, let's assume that, do you not think that is a better plan, because here we have nothing in basics, right?
I have to attach that switch block to a separate ESP32 module, because it is somewhere in a central point in a room or several rooms and thus multiple ESP32 modules to make it more difficult, put the ESP32 in MESH switching.
Somewhere else is the other ESP32 with its relay card which controls the lamps and other grut, as above in terms of MESH the multi-chamber principle.
Do you have an idea how to solve that?
Let's assume 2 rooms with 8 relay contacts each!
Old Wizzy, in NL
Excuse me, this concerns my college project too. please help, can the manual switch work using time. for example, the manual switch is pressed, the light turns on after a count of 5 seconds or vice versa.
Excellent project sir. If Eeprom and dimmer are added it will be very useful project
It can fetch the previous status from Blynk server.
@Tech StudyCell sir what do I need to change in sketch to use touch switch using tp223 instead of push button?
Thanks very much !
Nice video
I just wanted to know that
You provide or do you sell this project
On your website ?
your video is very good, i am a big fan of you, hope you do video bynk 2.0, 8 relay, bluetooth and switch
super excellent proyect thks hello from colombia
Nice project sir , i like your all projects keep it up sir
Thanks
Very Good Project !!!!!!
👌💪🤙
👏👏👏👏👏😘
Thanks
Hi, your project is great. Can you share your pcb drawing schematic? i want to redraw it on altium. can you share the schamatic and pcb file please?
sir are data stream and double data stream same?
bcs in my blynk iot app it is showing as double data stream? pls help me
Nice video
Sir I'm using esp32 and 8 channel optacopular relay
But I'm getting lots of errors
But I'm copying all the seps as you told
Nice project bro, please I need help
I want to use your PCB board can you provide different terminal block to supply esp32 board and change the input header pin to terminal block please 🙏
Again a super project 👍do you make it still for 3 or 4 relays ?
Also the board to match 🤔
Yes and yes
Is it possible if I will use esp32, 5V 8 channel relay, 12V battery supply to control the solenoid water valve using blynk 2.0?
Hye, good project, can I request a project? Can you make water level indicator using 2 ultrasonic sensor (2 water tank) and blynk 2.0 in esp32
It's an useful video... Thank you for sharing👍👍👍
Welcome
Boa tarde.
Prezado
Tem como você fazer ou ensinar em um vídeo fazendo NodeMCU ou ESP32 como uma placa de portão inteligente com acionamento de motor e estados do fim-de-curso.
Desde já lhe agradeço a atenção
awesome project 👍👍👍
Thanks
thanks sir
yeh project humne banaya full susses hai bahut acha hai.
please ek video esp-01 ki programming 1 channel 30 amp relay ke liye bana dijiye hume room ac ke liye
chahiye please
I want this project without blynk app fully control as amazon alexa or Google assistant any idea for you
sir i make this project for 4 switch only its work perfectly but there is some mistake/bug in code that when i switch on all devices either by manual switch or by blynk app after that Wi-Fi is permanently disconnected after that it is required to reset the board
'BLYNK_FIRMWARE_TYPE' was not declared in this scope - Hi, how do I fix this error ? (in the Console.h tab)
Can you show us, the very circuit.... Just using mosfet instead of the relays, please
bro, but how can you control the through mobile without internet ? is there way to build a offline mobile app?
Bro if I am going to upload for wifi and IR remote file and another IR remote and Bluetooth both file will upload for ESP32 it will work or no it means if I am going to upload first wifi,IR remote file after I am going to upload for bluetooth and IR remote file it will work or not bro???
Sir blynk iot app par agr account banate h first time to 8 relay switch ka free plan kitne days ke lea valied hota h
HI,
without wifi system working?only use pushbutton?
How is your approach if switches are distributed
Which software is use for making pcb gerble file???
excellent. can you add code and diagram for Fan speed alos?
Sir how to fan speed control usage with this project?
شكرا لك 🙏🏻
You some project like Water level sensor with dry run protection, motion sensor with LDR door sensor with notification . Full home automation project with all feature make project like series
This project is amazing but i have a question
When you restart the esp32 board it fetch the data from blynk previous state not manual switches your manual switches are only used to control the relays but esp32 did not save the last state of switches so this project is not helpful for us kindly fix this issue please and thanks for sharing your other projects with us I really appreciate your effort
Sir please make home automation without any limitations
How to program, which software use to program
Kuch add karo jaise fan controller, seven segment
Great sir 👌👌 , can you add auto option with esp32
Will try
sir can you make blutooth+blynk 2.0(wifi)+manual using ESP32?
Could someone tell me if this works with the esp8266 too ?
i guess when wifi reconnect u can check relay state and set blynk button to current position of relay , if this work we don't need to reset it . just a thought
Can you make one with 16 channel relay?
Hi can you please share thge schematic for this. Thanks in advance
Make a project ,on real time monitoring powermeter in load conditions
hi how to wifi charger please
The possibility of importing this card to my address in Brazil?
can anybody tell esp32 is not getting wifi after try to connect different wifi
What if the esp32 is mounted somewhere not reachable ?? And the internet drops for few minutes! And couple of times a day or week !? How will you reach out to it and reset it everytime?? This will be such a dumb thing to do right ?
yes i think
Code upload hone per ye eror araha he DEBUG_PRINT was not declared in this scope
Is ka kya solution he
Very nice video
What component did you connect to the JD VCC and JD GND.
Jumper.
@@TechStudyCell the black component is a Jumper?
@@TechStudyCell on the PCB
Yes it is just a jumper to connect 2 pins.
@@TechStudyCell thank you
Thank you 💗😊 sir
Most welcome
Pls. add Fan Regulator with microswitch up n down Also blynk app. thanks
Супер! Где скачать Blynk server Windiws?
podrías pasar código en esposarme para los que no estamos familiarizados con arduino, pues es un proyecto muy interesante.
Pcb Instock I want to buy?
Nice one brother. Does this rennet the switch state in case of a power cut. Like if the switch was on will it automatically turn on when the power resumes or will it default to off? And Can you control this with Alexa and if yes how? And do you have to always press the reset button for it to reconnect to wifi?
Did you manage to figure out auto reconnect? So far only way that works for me is a while loop and if statement when lose connection reset esp but this changes the state of thr light or relay.
@@crouchingchicken007 you’ll have to save pin status to memory and read that while restart.
@@RameezRazaRiaz99 would that be via the EEPROM? Also while I've been testing this, it seems like the system favors smart control via Blynk over manual control of the switches. Or maybe internet just isn't good enough? Thank you for your reply
@@crouchingchicken007 yeah by eeprom. I didn’t like blynk much so I ended up making it using the espalexa library and it works flawlessly.
@@RameezRazaRiaz99 I'll have a look at that thank you
How can I delete my previous wifi?
Sir
For single channel 5v Relay
At output side ( I mean it's NO or NC or COM )
Can we connect 2 or 3 LED bulb of 8 watt ?
For single relay
Only one relay and at output can we connect 2 or 3 LED bulbs
Yes
But it will operate All Led Bulbs Connected to that output
Same project nodeMCU(esp8266)
can i connect this with amazon alexa for free??
Plz Rate this total board.!
can we control this project using alexa app
You have to connect IFTTT
How to change WiFi and password in esp 32
Could u make a device for me
can you share the schamatic and pcb file please?
did u got the file?
@@rahulviswanath7916 nah, but I wrote it
@@wolves2.075 can u share for me
@@wolves2.075 can you share the schamatic and pcb file please?
Kya ye alexa me se connect ho sakta hai
You have to use IFTTT
👌
SIR. eik video push button aur blynk par banaye plz. 8chanel
Make project on iot device using esp32 with Bluetooth
Already made. Video Link: ruclips.net/video/UxwQ8DHY2zs/видео.html
Ek hi chiz ko kitni baar banaoge bhai
Bro use push button + esp bluetooth 8 channel
ruclips.net/video/UxwQ8DHY2zs/видео.html
ya banda ka dakh ka banay par bana nhi all of you please not follow him because he is not providing all information that you can make from this video
Can you help me with this error?
Code_ESP32_Blynk2_8Relay_Button:83:10: fatal error: BlynkEdgent.h: No such file or directory
#include "BlynkEdgent.h"
how may i contact you
Please help me, I have define Template id and name already.
In file included from C:\Users\DELL\Desktop\Code_ESP32_Blynk2_8Relay_Switch\Code_ESP32_Blynk2_8Relay_Switch.ino:84:
C:\Users\DELL\Desktop\Code_ESP32_Blynk2_8Relay_Switch\BlynkEdgent.h:16: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"