Control Light Bulb and Relay using Blynk Mobile App

Поделиться
HTML-код
  • Опубликовано: 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

Комментарии • 65

  • @woolfy02
    @woolfy02 Год назад +1

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

  • @jinji.17
    @jinji.17 Год назад

    thank you brother, you explained very clear

  • @sudheerkumar5966
    @sudheerkumar5966 2 года назад +1

    Very good sir

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

  • @solarize.your.site85
    @solarize.your.site85 Год назад +1

    Great

  • @Bestbiom
    @Bestbiom 2 года назад +1

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

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

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

  • @AbhishekShrivastava-nd8yk
    @AbhishekShrivastava-nd8yk 8 дней назад

    Where i can download this app

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

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

  • @aryaputra2951
    @aryaputra2951 6 месяцев назад

    how many Watts of light are used

  • @don2652
    @don2652 7 месяцев назад +1

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

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

  • @phenomenal0ne10
    @phenomenal0ne10 2 года назад

    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  2 года назад

      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!

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

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

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

  • @KingsleyOkeze
    @KingsleyOkeze 11 месяцев назад

    What voltage output does your Nodemcu esp8266 produce?

    • @BINARYUPDATES
      @BINARYUPDATES  11 месяцев назад

      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!

  • @pavan_3322
    @pavan_3322 Год назад

    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!

  • @milapvishnoi3759
    @milapvishnoi3759 7 месяцев назад +1

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

    • @BINARYUPDATES
      @BINARYUPDATES  7 месяцев назад

      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 7 месяцев назад

      @@BINARYUPDATES thanks

  • @sheginismail
    @sheginismail 4 месяца назад

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

    • @BINARYUPDATES
      @BINARYUPDATES  4 месяца назад

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

  • @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 2 года назад

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

    • @BINARYUPDATES
      @BINARYUPDATES  2 года назад

      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 11 месяцев назад +1

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

    • @BINARYUPDATES
      @BINARYUPDATES  11 месяцев назад

      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!

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

  • @John6376
    @John6376 2 года назад +1

    Sir can send the program for this

    • @BINARYUPDATES
      @BINARYUPDATES  2 года назад +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

  • @santanupramanik4913
    @santanupramanik4913 Год назад

    Could you tell me some resource for blynk coding?

    • @BINARYUPDATES
      @BINARYUPDATES  Год назад

      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 8 месяцев назад

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

    • @BINARYUPDATES
      @BINARYUPDATES  7 месяцев назад

      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 2 месяца назад

    Source code

  • @sawankumar3499
    @sawankumar3499 6 месяцев назад

    Can I have a coding

    • @BINARYUPDATES
      @BINARYUPDATES  6 месяцев назад

      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

  • @c_zar9706
    @c_zar9706 2 года назад +1

    How i can get the coding

    • @BINARYUPDATES
      @BINARYUPDATES  2 года назад

      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