IoT Smart Home project using ESP32 Blynk control relay with WiFi + Manual Switch - 2021

  Рет қаралды 45,354

Tech StudyCell

Tech StudyCell

2 жыл бұрын

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...

Пікірлер: 111
@shakerileiwat4341
@shakerileiwat4341 2 жыл бұрын
Great project Thank you ♥
@nelsongonzalez6292
@nelsongonzalez6292 2 жыл бұрын
super excellent proyect thks hello from colombia
@draganmihai4897
@draganmihai4897 Жыл бұрын
Thanks very much !
@phamkhai1294
@phamkhai1294 2 жыл бұрын
your video is very good, i am a big fan of you, hope you do video bynk 2.0, 8 relay, bluetooth and switch
@safiyasulthana3531
@safiyasulthana3531 2 жыл бұрын
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.
@mariamamart8086
@mariamamart8086 2 жыл бұрын
Very Good Project !!!!!! 👌💪🤙 👏👏👏👏👏😘
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thanks
@user-ly8ls6xl3s
@user-ly8ls6xl3s 25 күн бұрын
شكرا لك 🙏🏻
@sohinideb7843
@sohinideb7843 2 жыл бұрын
It's an useful video... Thank you for sharing👍👍👍
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Welcome
@AAdnaanmtl
@AAdnaanmtl 2 жыл бұрын
Excellent project sir. If Eeprom and dimmer are added it will be very useful project
@TechStudyCell
@TechStudyCell 2 жыл бұрын
It can fetch the previous status from Blynk server.
@balchandpatidar8205
@balchandpatidar8205 2 жыл бұрын
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
@arughana
@arughana Жыл бұрын
Nice project sir , i like your all projects keep it up sir
@TechStudyCell
@TechStudyCell Жыл бұрын
Thanks
@ARIYANTO0601rewinding
@ARIYANTO0601rewinding 2 жыл бұрын
awesome project 👍👍👍
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thanks
@aravindhanvivekanandhan5649
@aravindhanvivekanandhan5649 2 жыл бұрын
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
@ikmalirfan04
@ikmalirfan04 2 жыл бұрын
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
@oldwizzy
@oldwizzy 2 жыл бұрын
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
@karangaikwad9914
@karangaikwad9914 2 жыл бұрын
Thank you 💗😊 sir
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Most welcome
@SohailKhan-iq1wk
@SohailKhan-iq1wk 2 жыл бұрын
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
@smartteg7381
@smartteg7381 2 жыл бұрын
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 🙏
@4uhacks767
@4uhacks767 2 жыл бұрын
@Tech StudyCell sir what do I need to change in sketch to use touch switch using tp223 instead of push button?
@loopfi8835
@loopfi8835 Жыл бұрын
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?
@ekbal2251
@ekbal2251 2 жыл бұрын
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.
@AlexandreEglit
@AlexandreEglit 2 жыл бұрын
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
@travelexpenses1395
@travelexpenses1395 2 жыл бұрын
Kuch add karo jaise fan controller, seven segment
@rahiasif7574
@rahiasif7574 2 жыл бұрын
Sir please make home automation without any limitations
@marvelfans0
@marvelfans0 2 жыл бұрын
👌
@yeshpalprasad6963
@yeshpalprasad6963 2 жыл бұрын
Make a project ,on real time monitoring powermeter in load conditions
@matthiash.454
@matthiash.454 2 жыл бұрын
Again a super project 👍do you make it still for 3 or 4 relays ? Also the board to match 🤔
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Yes and yes
@omorfaruk1
@omorfaruk1 2 жыл бұрын
excellent. can you add code and diagram for Fan speed alos?
@SohailKhan-iq1wk
@SohailKhan-iq1wk 2 жыл бұрын
Nice video I just wanted to know that You provide or do you sell this project On your website ?
@capstonegroup8806
@capstonegroup8806 Жыл бұрын
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?
@xyz-iz2kf
@xyz-iz2kf 2 жыл бұрын
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
@janakpatel137
@janakpatel137 2 жыл бұрын
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
@skhumbuzocele1330
@skhumbuzocele1330 2 жыл бұрын
Can you show us, the very circuit.... Just using mosfet instead of the relays, please
@kaviprasanth4999
@kaviprasanth4999 2 жыл бұрын
I want this project without blynk app fully control as amazon alexa or Google assistant any idea for you
@sakirkarakoyun8757
@sakirkarakoyun8757 Жыл бұрын
HI, without wifi system working?only use pushbutton?
@palashsenapati3299
@palashsenapati3299 2 жыл бұрын
Great sir 👌👌 , can you add auto option with esp32
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Will try
@RobertFerreira76041
@RobertFerreira76041 2 жыл бұрын
'BLYNK_FIRMWARE_TYPE' was not declared in this scope - Hi, how do I fix this error ? (in the Console.h tab)
@rexrig7109
@rexrig7109 9 ай бұрын
How is your approach if switches are distributed
@shiblisadik9586
@shiblisadik9586 2 жыл бұрын
Sir how to fan speed control usage with this project?
@anshulbisht4130
@anshulbisht4130 2 жыл бұрын
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
@SabirHussain-yy9zi
@SabirHussain-yy9zi 2 жыл бұрын
Which software is use for making pcb gerble file???
@Minggoreng
@Minggoreng Жыл бұрын
bro, but how can you control the through mobile without internet ? is there way to build a offline mobile app?
@jayasakthivel6123
@jayasakthivel6123 2 жыл бұрын
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???
@Nitinpatil2612
@Nitinpatil2612 2 жыл бұрын
Pls. add Fan Regulator with microswitch up n down Also blynk app. thanks
@ofrasel1
@ofrasel1 2 жыл бұрын
Same project nodeMCU(esp8266)
@janakpatel137
@janakpatel137 2 жыл бұрын
sir can you make blutooth+blynk 2.0(wifi)+manual using ESP32?
@user-iv7bl1ku8d
@user-iv7bl1ku8d 6 ай бұрын
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
@rameshwarprasadprasad1717
@rameshwarprasadprasad1717 2 жыл бұрын
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
@iystreem186
@iystreem186 Жыл бұрын
Can you make one with 16 channel relay?
@anandhurajeev4046
@anandhurajeev4046 Жыл бұрын
How to program, which software use to program
@sunman778
@sunman778 2 жыл бұрын
Супер! Где скачать Blynk server Windiws?
@TheShortFacts777
@TheShortFacts777 Жыл бұрын
Hi can you please share thge schematic for this. Thanks in advance
@jacobytahu2941
@jacobytahu2941 2 жыл бұрын
Could someone tell me if this works with the esp8266 too ?
@chisomeje8150
@chisomeje8150 2 жыл бұрын
Very nice video What component did you connect to the JD VCC and JD GND.
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Jumper.
@chisomeje8150
@chisomeje8150 2 жыл бұрын
@@TechStudyCell the black component is a Jumper?
@chisomeje8150
@chisomeje8150 2 жыл бұрын
@@TechStudyCell on the PCB
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Yes it is just a jumper to connect 2 pins.
@chisomeje8150
@chisomeje8150 2 жыл бұрын
@@TechStudyCell thank you
@weldonmartins9148
@weldonmartins9148 2 жыл бұрын
The possibility of importing this card to my address in Brazil?
@miguelmoreno5993
@miguelmoreno5993 2 жыл бұрын
podrías pasar código en esposarme para los que no estamos familiarizados con arduino, pues es un proyecto muy interesante.
@boristakamwe814
@boristakamwe814 Жыл бұрын
hi how to wifi charger please
@rahulviswanath7916
@rahulviswanath7916 Жыл бұрын
can anybody tell esp32 is not getting wifi after try to connect different wifi
@RameezRazaRiaz99
@RameezRazaRiaz99 2 жыл бұрын
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?
@crouchingchicken007
@crouchingchicken007 Жыл бұрын
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.
@RameezRazaRiaz99
@RameezRazaRiaz99 Жыл бұрын
@@crouchingchicken007 you’ll have to save pin status to memory and read that while restart.
@crouchingchicken007
@crouchingchicken007 Жыл бұрын
@@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
@RameezRazaRiaz99
@RameezRazaRiaz99 Жыл бұрын
@@crouchingchicken007 yeah by eeprom. I didn’t like blynk much so I ended up making it using the espalexa library and it works flawlessly.
@crouchingchicken007
@crouchingchicken007 Жыл бұрын
@@RameezRazaRiaz99 I'll have a look at that thank you
@mohitbarhate6970
@mohitbarhate6970 5 ай бұрын
Pcb Instock I want to buy?
@AkhtarAli-jr8ed
@AkhtarAli-jr8ed 2 жыл бұрын
SIR. eik video push button aur blynk par banaye plz. 8chanel
@jhonpeter2889
@jhonpeter2889 2 жыл бұрын
Plz Rate this total board.!
@quiz3945
@quiz3945 2 жыл бұрын
How can I delete my previous wifi?
@faneeshbansal
@faneeshbansal 2 жыл бұрын
can i connect this with amazon alexa for free??
@robinrathode2349
@robinrathode2349 2 жыл бұрын
Code upload hone per ye eror araha he DEBUG_PRINT was not declared in this scope Is ka kya solution he
@SohailKhan-iq1wk
@SohailKhan-iq1wk 2 жыл бұрын
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
@BHARGAVRANA20011993
@BHARGAVRANA20011993 Жыл бұрын
Yes
@BHARGAVRANA20011993
@BHARGAVRANA20011993 Жыл бұрын
But it will operate All Led Bulbs Connected to that output
@madhukeshnp
@madhukeshnp 2 жыл бұрын
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 ?
@anshulbisht4130
@anshulbisht4130 2 жыл бұрын
yes i think
@kishorekumarsahoo9859
@kishorekumarsahoo9859 2 жыл бұрын
How to change WiFi and password in esp 32
@wolves2.075
@wolves2.075 2 жыл бұрын
can you share the schamatic and pcb file please?
@rahulviswanath7916
@rahulviswanath7916 2 жыл бұрын
did u got the file?
@wolves2.075
@wolves2.075 2 жыл бұрын
@@rahulviswanath7916 nah, but I wrote it
@rahulviswanath7916
@rahulviswanath7916 2 жыл бұрын
@@wolves2.075 can u share for me
@loopfi8835
@loopfi8835 Жыл бұрын
@@wolves2.075 can you share the schamatic and pcb file please?
@DrPPrabu
@DrPPrabu 2 жыл бұрын
Could u make a device for me
@gharatcreations2724
@gharatcreations2724 Жыл бұрын
can we control this project using alexa app
@TechStudyCell
@TechStudyCell Жыл бұрын
You have to connect IFTTT
@pratikparatwar3667
@pratikparatwar3667 2 жыл бұрын
Make project on iot device using esp32 with Bluetooth
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Already made. Video Link: kzbin.info/www/bejne/i6nagmt6fb5lsNU
@eddyparker7861
@eddyparker7861 Жыл бұрын
Kya ye alexa me se connect ho sakta hai
@TechStudyCell
@TechStudyCell Жыл бұрын
You have to use IFTTT
@travelexpenses1395
@travelexpenses1395 2 жыл бұрын
Ek hi chiz ko kitni baar banaoge bhai
@defencetalk1
@defencetalk1 2 жыл бұрын
Bro use push button + esp bluetooth 8 channel
@TechStudyCell
@TechStudyCell 2 жыл бұрын
kzbin.info/www/bejne/i6nagmt6fb5lsNU
@bhaweshsharma8687
@bhaweshsharma8687 Жыл бұрын
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
@user-ci6ed4lk7g
@user-ci6ed4lk7g 9 ай бұрын
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"
@subratsharma4591
@subratsharma4591 2 жыл бұрын
how may i contact you
@kawintipkhankaew4409
@kawintipkhankaew4409 11 ай бұрын
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"
ESP32/ESP8266 Relay Module - Control AC Appliances (Web Server)
6:10
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 23 МЛН
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 57 МЛН
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 38 МЛН
ESP32 Home Automation with AI - No Code Required
6:40
Ahmad Logs
Рет қаралды 21 М.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 672 М.
Mastering Picture Editing: Zoom Tools Tutorial
0:52
Photoo Edit
Рет қаралды 507 М.
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 3,1 МЛН