Control Light Bulb and Relay using Blynk Mobile App

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • 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
    ►► Try Altium Student Lab! You get FREE access to Altium Designer and Altium 365
    www.altium.com...
    ►► Need Help? To Learn Embedded Systems: courses.binary...
    Useful References:
    ►► PART 1- Create New Blynk Project • Blynk with NodeMCU ESP...
    Umesh Lokhande
    BINARYUPDATES.COM
    Web: binaryupdates....
    Mail: umesh@binaryupdates.com

Komentáře • 66

  • @woolfy02
    @woolfy02 Před rokem +1

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

  • @za1981zee
    @za1981zee Před 2 lety +1

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

    • @BINARYUPDATES
      @BINARYUPDATES  Před 2 lety +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!!

  • @sudheerkumar5966
    @sudheerkumar5966 Před 2 lety +1

    Very good sir

  • @Chef_engineer...
    @Chef_engineer... Před 2 lety +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  Před 2 lety

      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

  • @Bestbiom
    @Bestbiom Před 2 lety +1

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

  • @muhammadalkaff3679
    @muhammadalkaff3679 Před 2 lety +1

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

    • @BINARYUPDATES
      @BINARYUPDATES  Před 2 lety

      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 Před 2 lety

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

  • @jinji.17
    @jinji.17 Před 2 lety

    thank you brother, you explained very clear

  • @kcreations5478
    @kcreations5478 Před rokem +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  Před rokem

      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 Před rokem

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

  • @anokhautomation4453
    @anokhautomation4453 Před 2 lety

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

  • @milapvishnoi3759
    @milapvishnoi3759 Před 9 měsíci +1

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

    • @BINARYUPDATES
      @BINARYUPDATES  Před 8 měsíci

      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 Před 8 měsíci

      @@BINARYUPDATES thanks

  • @capstonegroup8806
    @capstonegroup8806 Před rokem

    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  Před rokem

      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 Před rokem

    very good. How to measure current with ACS712?

    • @BINARYUPDATES
      @BINARYUPDATES  Před rokem

      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 Před rokem

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

  • @don2652
    @don2652 Před 9 měsíci +1

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

  • @ramprasadmanna2757
    @ramprasadmanna2757 Před rokem

    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  Před rokem

      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!

  • @phenomenal0ne10
    @phenomenal0ne10 Před 2 lety

    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  Před 2 lety

      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!

  • @aryaputra2951
    @aryaputra2951 Před 7 měsíci

    how many Watts of light are used

  • @solarize.your.site85
    @solarize.your.site85 Před rokem +1

    Great

  • @KingsleyOkeze
    @KingsleyOkeze Před rokem

    What voltage output does your Nodemcu esp8266 produce?

    • @BINARYUPDATES
      @BINARYUPDATES  Před rokem

      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!

  • @huzaifah03
    @huzaifah03 Před rokem

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

    • @BINARYUPDATES
      @BINARYUPDATES  Před rokem

      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 Před rokem

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

  • @shrutibera1538
    @shrutibera1538 Před 2 lety

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

    • @BINARYUPDATES
      @BINARYUPDATES  Před 2 lety

      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

  • @07dharshanp86
    @07dharshanp86 Před rokem +1

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

    • @BINARYUPDATES
      @BINARYUPDATES  Před rokem

      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!

  • @sheginismail
    @sheginismail Před 6 měsíci

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

    • @BINARYUPDATES
      @BINARYUPDATES  Před 6 měsíci

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

  • @PeerawatSornphao
    @PeerawatSornphao Před 2 lety

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

    • @BINARYUPDATES
      @BINARYUPDATES  Před 2 lety

      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 Před 2 lety

      @@BINARYUPDATES Thank you Sir. Love your lesson!

  • @AbhishekShrivastava-nd8yk
    @AbhishekShrivastava-nd8yk Před 2 měsíci

    Where i can download this app

    • @BINARYUPDATES
      @BINARYUPDATES  Před 26 dny

      Hi Abhishesk, just search Blynk IoT in play store and you'll find it. Best wishes!

  • @John6376
    @John6376 Před 2 lety +1

    Sir can send the program for this

    • @BINARYUPDATES
      @BINARYUPDATES  Před 2 lety +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

  • @pavan_3322
    @pavan_3322 Před rokem

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

    • @BINARYUPDATES
      @BINARYUPDATES  Před rokem

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

  • @indrajitdas9655
    @indrajitdas9655 Před 2 lety

    How i can get the coding part to control node mcu

    • @BINARYUPDATES
      @BINARYUPDATES  Před 2 lety

      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

  • @c_zar9706
    @c_zar9706 Před 2 lety +1

    How i can get the coding

    • @BINARYUPDATES
      @BINARYUPDATES  Před 2 lety

      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

  • @santanupramanik4913
    @santanupramanik4913 Před rokem

    Could you tell me some resource for blynk coding?

    • @BINARYUPDATES
      @BINARYUPDATES  Před rokem

      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 Před 10 měsíci

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

    • @BINARYUPDATES
      @BINARYUPDATES  Před 8 měsíci

      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!

  • @ruthushreeruthu4563
    @ruthushreeruthu4563 Před 3 měsíci

    Source code

  • @sawankumar3499
    @sawankumar3499 Před 8 měsíci

    Can I have a coding

    • @BINARYUPDATES
      @BINARYUPDATES  Před 7 měsíci

      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 Před rokem

    Sir can u provide code

    • @BINARYUPDATES
      @BINARYUPDATES  Před rokem +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 Před rokem

      In the description sir not git hub link for code