Control Light Bulb and Relay using Blynk Mobile App

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2021
  • Let's explore how to control light bulb and relay using Blynk mobile app or dashboard. We’ll learn the basics of the single-channel relay. Also, we’ll interface the relay module and light bulb with ESP8266 NodeMCU. This IoT project demonstrates, how microcontrollers control AC-operated devices like a light bulb, fan, etc. through the relay. In the end, you’ll be able to control the light bulb through the Blynk IoT Platform. This video is a part of Blynk video tutorial series.
    0:38 relay overview
    3:00 pin details of relay
    6:08 explained of relay working
    7:43 bulb and relay connection
    11:53 nodemcu and relay connection
    14:08 control bulb with blynk app
    ►► Get FREE TRIAL of Altium Designer: www.altium.com/yt/binaryupdates
    ►► Need Help? To Learn Embedded Systems: courses.binaryupdates.com
    Useful References:
    ►► PART 1- Create New Blynk Project • Blynk with NodeMCU ESP...
    Umesh Lokhande
    BINARYUPDATES.COM
    Web: binaryupdates.com/
    Mail: umesh@binaryupdates.com

ความคิดเห็น • 63

  • @woolfy02
    @woolfy02 ปีที่แล้ว +1

    Thank you for the great tutorial! Very detailed which is always nice

  • @Bestbiom
    @Bestbiom 2 ปีที่แล้ว +1

    Sir, thank you and how can we use Bluetooth module in hearing aids

  • @jinji.17
    @jinji.17 ปีที่แล้ว

    thank you brother, you explained very clear

  • @za1981zee
    @za1981zee 2 ปีที่แล้ว +1

    Sir, really great information, please make a video on Blynk + Raspberry pi-3 Thank you.

    • @BINARYUPDATES
      @BINARYUPDATES  2 ปีที่แล้ว +1

      Hi Zeeshan, I'll try my best to make video lesson on Raspberry Pi to communicate with Blynk IoT Platform. Maybe in few weeks you could expect. Good luck and best wishes. Thanks!!

  • @KingsleyOkeze
    @KingsleyOkeze 8 หลายเดือนก่อน

    What voltage output does your Nodemcu esp8266 produce?

    • @BINARYUPDATES
      @BINARYUPDATES  8 หลายเดือนก่อน

      Hi Kingsley, ESP8266 works with 3.3V DC but on NodeMCU ESP8266 you can find Pin which provides you 5V DC in case if you want to drive relay. As in this video I used 5V pin on NodeMCU to control light bulb using relay. I hope this may help you. Good luck and best wishes!

  • @anokhautomation4453
    @anokhautomation4453 2 ปีที่แล้ว

    Hi dear .are u the same person who having the electronic clinic channel?? Because I am very familiar with your talking style and sound.

  • @sudheerkumar5966
    @sudheerkumar5966 2 ปีที่แล้ว +1

    Very good sir

  • @muhammadalkaff3679
    @muhammadalkaff3679 2 ปีที่แล้ว +1

    can you combine the temperature sensor with the humidity sensor on the NodeMCU ESP8266?

    • @BINARYUPDATES
      @BINARYUPDATES  2 ปีที่แล้ว

      Hi Muhammad, I'll be soon making video to make send temperature and humidity sensor data DH11 Sensor Module to the Blynk IoT Platform. Stay tune for next videos in Blynk series. Thanks for your visit. Best wishes !!

    • @muhammadalkaff3679
      @muhammadalkaff3679 2 ปีที่แล้ว

      @@BINARYUPDATES can you combine it with the moisture sensor too?

  • @aryaputra2951
    @aryaputra2951 3 หลายเดือนก่อน

    how many Watts of light are used

  • @Chef_engineer...
    @Chef_engineer... 2 ปีที่แล้ว +4

    Sir, your are say very clear and step by step the students can understand very easily . Thank you sir . And kept up 👍👍

    • @BINARYUPDATES
      @BINARYUPDATES  2 ปีที่แล้ว

      Thanks and welcome
      I'll try to make more video lessons around Blynk IoT Platform and OTA Feature
      Thanks for you comment I appreciate
      Wish you a beautiful day

  • @solarize.your.site85
    @solarize.your.site85 ปีที่แล้ว +1

    Great

  • @PeerawatSornphao
    @PeerawatSornphao 2 ปีที่แล้ว

    Sir, can you also do tutorial for servo motor to please Thank you.

    • @BINARYUPDATES
      @BINARYUPDATES  2 ปีที่แล้ว

      Hi Mr. Truth of John, I'll be soon making video around servo control with Arduino, NodeMCU ESP8266 and also with Blynk IoT. It may take few weeks but those are in the upcoming video list. Thanks for your suggestions. Have a good day

    • @PeerawatSornphao
      @PeerawatSornphao 2 ปีที่แล้ว

      @@BINARYUPDATES Thank you Sir. Love your lesson!

  • @pavansravanam6472
    @pavansravanam6472 ปีที่แล้ว

    Bro did you use the same code as the last part-1 video or did you make any changes in the code?

    • @BINARYUPDATES
      @BINARYUPDATES  ปีที่แล้ว

      Hi Pavan, here I've used same code from Blynk Part-1 Video lesson. Good luck!

  • @capstonegroup8806
    @capstonegroup8806 ปีที่แล้ว

    Sir, what if I will use 5V 8 channel relay. What is the connection of Nodemcu and 5V 8-channel relay? I want to control 5 solenoid water valve. Thank you

    • @BINARYUPDATES
      @BINARYUPDATES  ปีที่แล้ว

      Yes you can. Use 5-GPIO Pins of NodeMCU ESP8266 to connect relay input and control your Solenoid Valve. Its the same same as shown in video lesson except configure more pins to control and drive more relay inputs. I hope this may help you. Good luck and best wishes!

  • @ahmetcayirr
    @ahmetcayirr ปีที่แล้ว

    very good. How to measure current with ACS712?

    • @BINARYUPDATES
      @BINARYUPDATES  ปีที่แล้ว

      Hi Ahmet, It can be done. I'll consider making video on measuring current using ACS712 module and NodeMCU ESP8266. Thanks for your patience!

    • @ahmetcayirr
      @ahmetcayirr ปีที่แล้ว

      @@BINARYUPDATES Thank you very much for your attention. I need it as soon as possible. I'm looking forward to you share.

  • @phenomenal0ne10
    @phenomenal0ne10 ปีที่แล้ว

    Im not using nodemcu but im using wemos d1 r1 esp8266 so can i use this code ? What changes should i make to the code?

    • @BINARYUPDATES
      @BINARYUPDATES  ปีที่แล้ว

      Hi I believe this code will work fine for Wemos ESP8266. Just make sure the Pin numbering while connecting relay before trying Blynk IoT Code. Good luck!

  • @don2652
    @don2652 5 หลายเดือนก่อน +1

    Sir, plz provide code iam run the code but device is not connected

  • @ramprasadmanna2757
    @ramprasadmanna2757 ปีที่แล้ว

    Hello Sir I have a Doubt i'm using 5v relay on nodemcu and its low level triggered .... So when i'm triggering the relay means giving an low signal the relay is triggered and when i'm giving a high signal the relay is not comming back to the untriggered position because nodemcu gives 3.3v output which is not enough for a 5v relay....Is there any other option or am i doing something wrong??

    • @BINARYUPDATES
      @BINARYUPDATES  ปีที่แล้ว

      Hi Ramprasad, It completely depends on relay module. I would suggest try single channel and 3V DC operated relay for better operation.
      There are so many variants of relay module out there in market. Usually, most relay module operate on 5V DC for devices like Arduino and Raspberry Pi. But there're some which also work with 3.3V of NodeMCU ESP8266.
      I hope this may help you. Good luck and best wishes!

  • @milapvishnoi3759
    @milapvishnoi3759 5 หลายเดือนก่อน +1

    why have you connected vcc with 3.3v on nodemcu and not with 5v?

    • @BINARYUPDATES
      @BINARYUPDATES  4 หลายเดือนก่อน

      Hi, Its because my Relay Module operate on 3.3V DC. Usually, most relays in market operate on 5V DC. So Its always advisable to test your relay specification before using it in our project. Its fine if you use 5V DC on NodeMCU ESP8266 Board. Best wishes!

    • @milapvishnoi3759
      @milapvishnoi3759 4 หลายเดือนก่อน

      @@BINARYUPDATES thanks

  • @kcreations5478
    @kcreations5478 ปีที่แล้ว +2

    Sir i created my own android app for controlling this and using my own real webserver with some apis that i have created all apis are responding quickly as usual but the nodemcu is fetching data from the api very late why is it happening

    • @BINARYUPDATES
      @BINARYUPDATES  ปีที่แล้ว

      There may several reasons from server's uptime to network speed through which your NodeMCU ESP8266 is connected to Internet. Try with other cloud platform and test for performance test to get mode clarity. I hope this help. Wish you good luck and best wishes!

    • @kcreations5478
      @kcreations5478 ปีที่แล้ว

      @@BINARYUPDATES Thank You very much Sir for replying. Please tell me one thing How can I change the TCP_MSS value in arduino ide 1.8.18 because I was unable to find the sdk_overrides.h file in the Arduino installation directory

  • @huzaifah03
    @huzaifah03 ปีที่แล้ว

    is it possible to power the NODE MCU from the relay instead of data cable

    • @BINARYUPDATES
      @BINARYUPDATES  ปีที่แล้ว

      Hi Huzaifah, as long as what i understand your question. I think its better to avoid because NodeMCU operates on 3.3V DC and most relay in market start to operate from 5V DC up.....I hope you get my point. You can do so but it will not make sense in the end.

    • @huzaifah03
      @huzaifah03 ปีที่แล้ว

      @@BINARYUPDATES yes I got it, so is there any way that I can power node mcu other than the cable?

  • @indrajitdas9655
    @indrajitdas9655 2 ปีที่แล้ว

    How i can get the coding part to control node mcu

    • @BINARYUPDATES
      @BINARYUPDATES  2 ปีที่แล้ว

      Hi Indrajit, I suggest you to watch all 3-videos in series on Blynk IoT with NodeMCU ESP8266. Also, I have given link in video description from where you can download Arduino code for ESP8266 NodeMCU to use with Blynk IoT Platform. I hope this may help you
      Best Wishes
      Umesh

  • @shrutibera1538
    @shrutibera1538 ปีที่แล้ว

    How will this work if 12v relay module is being used

    • @BINARYUPDATES
      @BINARYUPDATES  ปีที่แล้ว

      Hi Shruti, you may need to provide power to relay from other 12V power supply from DC side of connection on relay module. Make sure you keep Ground Pin common between NodeMCU ESP8266 and Relay module to function it properly.
      Good luck and best wishes

  • @John6376
    @John6376 ปีที่แล้ว +1

    Sir can send the program for this

    • @BINARYUPDATES
      @BINARYUPDATES  ปีที่แล้ว +1

      Yes code of Blynk will be find in video description of first video published in Blynk IoT platform series or else you can directly visit the GitHub github.com/binaryupdates/Blynk-NodeMCU-ESP8266
      Best wishes
      Team BinaryUpdates

  • @07dharshanp86
    @07dharshanp86 9 หลายเดือนก่อน +1

    Why bro there is a delay in switching on and off?

    • @BINARYUPDATES
      @BINARYUPDATES  9 หลายเดือนก่อน

      Hi Dharshan, It's because of high traffic on sever slows down response time for NodeMCU ESP8266. It happens sometimes Blynk Server respond late. I hope you got answer. Good luck and best wishes!

  • @c_zar9706
    @c_zar9706 ปีที่แล้ว +1

    How i can get the coding

    • @BINARYUPDATES
      @BINARYUPDATES  ปีที่แล้ว

      Hi C-zar, you can watch part-1 of Blynk lesson the link is in description. You'll get code for blynk in first video description in series as code is same. Its just a simple code. Or even you can visit github.com/binaryupdates/Blynk-NodeMCU-ESP8266

  • @sheginismail
    @sheginismail 2 หลายเดือนก่อน

    sir, shock is passing through relay ,even though relay works perfectly and the bulb is not responding

    • @BINARYUPDATES
      @BINARYUPDATES  2 หลายเดือนก่อน

      Maybe try replacing light bulb and then test relay module. Best wishes!

  • @santanupramanik4913
    @santanupramanik4913 11 หลายเดือนก่อน

    Could you tell me some resource for blynk coding?

    • @BINARYUPDATES
      @BINARYUPDATES  11 หลายเดือนก่อน

      Please refer to the link in video description in first Blynk video I've provided link for github. There you find all the code and instructions.
      Best wishes!

  • @Kakashi-zd9sc
    @Kakashi-zd9sc 5 หลายเดือนก่อน

    What are the components used here ( I mean I want their names )

    • @BINARYUPDATES
      @BINARYUPDATES  4 หลายเดือนก่อน

      Hi Kakashi, in this tutorial I used, Single Channel Relay Module, Light Bulb and it's holder, Wires, NodeMCU ESP8266, screw driver, cutter etc. I hope this may help. Good luck and best wishes!

  • @sawankumar3499
    @sawankumar3499 4 หลายเดือนก่อน

    Can I have a coding

    • @BINARYUPDATES
      @BINARYUPDATES  3 หลายเดือนก่อน

      Hi Sawan, the blynk project code is shared in video description section. It's github link to download the code. Good luck and best wishes!

  • @naughtygujju5188
    @naughtygujju5188 ปีที่แล้ว

    Sir can u provide code

    • @BINARYUPDATES
      @BINARYUPDATES  ปีที่แล้ว +1

      Hi, the code of Blynk IoT Platform with NodeMCU ESP8266 is already provided in GitHub link in video description. Good luck and best wishes!

    • @naughtygujju5188
      @naughtygujju5188 ปีที่แล้ว

      In the description sir not git hub link for code