Control LED using Blynk 2.0/Blynk IOT using Simple Program | Blynk 2.0 Projects | Node MCU Projects

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • Control LED using Blynk 2.0/Blynk IOT using Simple Program | Blynk 2.0 Projects | Node MCU Projects | Blynk 2.0 Projects
    Required Components
    ==================
    1. ESP8266
    2. LED
    3. Connecting Cable
    4. Connecting Wires
    Components Link
    ===============
    1. ESP8266 - www.electronic...
    2. LED - www.electronic...
    3. Connecting Wires
    Software Required
    ===============
    1. Arduino IDE - www.arduino.cc...
    2. Programming Language - C Language
    Source Code
    ===========
    github.com/Tec...
    Reference Video of Arduino Experiments
    ======================================
    1. Temperature and Humidity Monitor using Arduino IOT Cloud and ESP8266
    • Temperature and Humidi...
    2. How to Display Current Date and Time in LCD
    • How to Display Current...
    3. Top 10 Arduino GSM module projects
    • Top 10 Arduino GSM mod...
    4. How to interface MPU6050 Accelerometer and Gyroscope Sensor with Arduino Nano
    • How to interface MPU60...
    5. How to store Temperature data in Google Spreadsheet
    • How to store Temperatu...
    6. How to Display Temperature, Pressure, Altitude Display in LCD
    • Temperature, Pressure,...
    7. Rain Alert Call and SMS in Mobile using GSM SIM 800 Module | Arduino Projects
    • Rain Alert Call and SM...
    8. Live Streaming using ESP32 CAM and Blynk App
    • Live Streaming using E...
    9. How to store temperature data in SD card | Arduino Projects
    • How to store temperatu...
    10. Object Detection Alert Call and SMS in Mobile using GSM SIM 800 Module | Arduino Projects
    • Object Detection Alert...
    11. Distance Measurement in OLED Display
    • Distance Measurement i...
    12. ESP32 Cam Setup | Face Detection | WiFi Camera
    • ESP32 Cam Setup | Face...
    13. Temperature Display in OLED | Arduino Projects
    • Temperature Display in...
    14. How to get the Temperature Alert Call and SMS in Mobile using GSM SIM 800 Module | Arduino Projects
    • How to get the Tempera...
    15. How to get the Theft Alert Call and SMS in Mobile using GSM SIM 800 Module | Arduino Projects
    • How to get the Theft A...
    16. How to get Gas Leakage Alert Call and SMS | Arduino Projects
    • How to get Gas Leakage...
    17. How to get Fire Alert Call and SMS in Mobile
    • How to get Fire Alert ...
    18. Control LED by Phone Call
    • How to Control LED by ...
    19. How To Receive SMS in GSM Module and Send Automatic Response
    • How To Receive SMS in ...
    20. How to send SMS from GSM Module to Mobile
    • How to Send SMS from G...
    Music: www.bensound.com
    ♥ Facebook: / techtrendsshameer
    ♥ Instagram: / tech_trends_shameer

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

  • @ChubbaBoastinTone766
    @ChubbaBoastinTone766 2 года назад +5

    Thanks sir, I've been looking for 3 days for a simple walk through like this. All others were either legacy Blynk or had links to codes that were never obtainable...... so frustrating. Mine didn't work at first but I had accidently chose INTEGER instead of DIGITAL for my control. Also to newbs, make sure your add your wifi creds and pw's to code. Thanks again this is great.

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

      Thank you so much Bro.

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

      Thanks bro, but wat happen if the project is successful ,,am i going to be continuing paying the blynk app after the pay period expired?

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

      @@justicemkandawire9211 the blynk app has a free version that’s more than enough for a semi serious hobbyist. 2 devices and 30 functions each I believe.

  • @RojinaSundas-v1z
    @RojinaSundas-v1z Месяц назад

    Very Good🤗

  • @prodyumnapal5430
    @prodyumnapal5430 6 месяцев назад +1

    Great! Can it be controlled form anywhere in the world?

  • @KIYANSHJAINSuchitraAcademy
    @KIYANSHJAINSuchitraAcademy 9 месяцев назад +1

    I keep getting this error when I try to upload program :A fatal esptool.py error occurred: Timed out waiting for packet header

  • @SALIMkhan-cf4bh
    @SALIMkhan-cf4bh Год назад +2

    THANKS, WORKING CODE

  • @Neptune_studious
    @Neptune_studious 29 дней назад +1

    What is the cost of node mcu ???

  • @AnkitSaini-kr6oz
    @AnkitSaini-kr6oz 2 года назад +2

    It works in my first attempt

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

      That's Great. Good to Know. Thank you.
      Keep Supporting.

    • @AnkitSaini-kr6oz
      @AnkitSaini-kr6oz 2 года назад +1

      @@TechTrendsShameer can you help me in project. My project is smart dustbin.
      In which I'm using ultra sonic sensor to get notification by blynk app when my dustbin is full.
      I am facing problem to get the notification on my blynk app.
      Please help me.
      And thank you ☺️ for my help

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

      Can you send me your program?
      Also which version of blynk you are using ? Blynk Legacy or Blynk iot?

    • @AnkitSaini-kr6oz
      @AnkitSaini-kr6oz 2 года назад

      @@TechTrendsShameer
      #define BLYNK_PRINT Serial
      #include
      #include
      const int trigger = 9;
      const int echo = 10;
      float duration;
      int distance, percentage;
      const int upper_limit = 5;
      const int bottom_limit = 80;
      // You should get Auth Token in the Blynk App.
      // Go to the Project Settings (nut icon).
      char auth[] = "xSUtGHO53BQ3Wn8sVs2otaIehrdxodrB";
      // Your WiFi credentials.
      // Set password to "" for open networks.
      char ssid[] = "vivo 1801";
      char pass[] = "abhishek";
      void setup()
      {
      Serial.begin(9600);
      pinMode(trigger, OUTPUT);
      pinMode(echo, INPUT);
      digitalWrite(trigger, LOW);
      Blynk.begin(auth, ssid, pass);
      }
      void sensor()
      {
      digitalWrite(trigger, HIGH);
      delayMicroseconds(10);
      digitalWrite(trigger, LOW);
      duration = pulseIn(echo, HIGH);
      distance = duration * 0.017;
      percentage= ((bottom_limit - distance)/(bottom_limit - upper_limit))*100;
      //Actually percentage = (((bottom_limit - upper_limit)- (distance - upper_limit))/(bottom_limit - upper_limit)))*100;
      }
      BLYNK_READ(V5){
      Blynk.virtualWrite(V5, percentage);
      }
      void loop()
      {
      sensor();
      Blynk.run();
      BLYNK_READ(V5);
      }
      This is my code .
      And here I am using blynk iot app.
      Please help☺️

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

    First view.

  • @Ojha_Anmol
    @Ojha_Anmol 5 месяцев назад

    Sir code problem ha plz aap code paste kardona 🤧🤧 discription par code paste kardona to mehar bani hogi sir kyuki kl checking ha

  • @ndaghakangoma6003
    @ndaghakangoma6003 Год назад +2

    great video !!..I was doing the same project but I used an arduino mkr wifi 1010 instead of esp ...arduino mkr wifi is an arduino with wifi capabiilities.. You're instructions were very clear and I was able to finish the project and it all worked out

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

      Great 👍Whether the code is same for Arduino MKR Wifi?
      Please share the details. I will also give a try.

  • @iamindiaarmiy8927
    @iamindiaarmiy8927 3 месяца назад +1

    Sir aap se koi help mil sakta hai

  • @shirishakothuri1454
    @shirishakothuri1454 9 месяцев назад +1

    Hello sir!!! device is showing online but led is not getting on😢

    • @TechTrendsShameer
      @TechTrendsShameer  9 месяцев назад +1

      Check Auth code and wifi credentials are correct

  • @huaweigr3856
    @huaweigr3856 2 года назад +3

    It works on my 1st attempt.
    I used ESP8266 Wemos D1
    LED - (D9) + (3.3v)

  • @KIYANSHJAINSuchitraAcademy
    @KIYANSHJAINSuchitraAcademy 9 месяцев назад +1

    Hi, which version of ESP2866 works in Adruino?

  • @musicaddict12345
    @musicaddict12345 9 месяцев назад +1

    I did not get which programme u were talking

  • @adamsarjana2092
    @adamsarjana2092 Год назад +2

    hey why my device still offline

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

    How we connect more than one led
    I was trying to connect through D5
    Select digital pin 1 in blynk it's not working

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

      Did you tried with 1 LED? If not please try with that. Once you get the output, I will tell you the modifications in the code for 5 LEDs.

    • @meliodasagario398
      @meliodasagario398 11 месяцев назад +1

      @@TechTrendsShameer i did tried with 1 LED and it worked! pls do more than 1 LED

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

      After Wifi Connection add these lines in the code
      int ledpin = D4;
      int ledpin = D1;
      int ledpin = D2;
      int ledpin = D3;
      int ledpin = D5;
      Then Connect LED 1 to D4, LED 2 to D1, LED 3 to D2, LED 4 to D5, LED 5 to D6
      IN Blynk Datastream, select the variable as 2, 5, 4, 0, 14

  • @KavyaReddy-u5s
    @KavyaReddy-u5s 10 месяцев назад

    Sir can i use 3 LEDs instead of 1 LED
    If yes please tell me how to connect 3 LEDs
    Is there any use of resistors

  • @KIYANSHJAINSuchitraAcademy
    @KIYANSHJAINSuchitraAcademy 9 месяцев назад +1

    @3.44 mins, you are saying copy code and upload program, where and how to upload the program?

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

    Will it work from anywhere in the world?

  • @harshinir440
    @harshinir440 2 года назад +2

    awesome sir . Its working

  • @madh6244
    @madh6244 Год назад +2

    thank you

  • @travel_vloz3430
    @travel_vloz3430 4 месяца назад +1

    Which platform to run the code

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

    It works... Thank you soo much sir

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

      Welcome 👍. Please subscribe and follow instagram 😊

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

    Sir when we code is uploading and y sir don't show in online our device

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

      The device will show online once the code is completed uploading.
      Please check the template ID, device id and auth token are correct. Also make sure the wifi credentials are correct.
      If you are still facing issues, please contact me on instagram
      instagram.com/tech_trends_shameer

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

      @@susmithak8574 I didn't understand the doubt clearly. Can you please connect me in instagram
      instagram.com/tech_trends_shameer

  • @SALIMkhan-cf4bh
    @SALIMkhan-cf4bh Год назад +1

    2 MEANS D4, PLEASE SEND ME WHAT ABOUT D5 AND D6

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

    You didn’t explain the code

  • @KPP26
    @KPP26 5 месяцев назад +1

    where we get the program

  • @444-h6w
    @444-h6w Год назад +1

    Bro i need the source code Google drive not working

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

      Check this please
      github.com/Tech-Trends-Shameer/Esp-8266-Projects/tree/main/Control-LED-Using-Blynk-IOT

    • @444-h6w
      @444-h6w Год назад

      @@TechTrendsShameer working 🤗♥️

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

    Can we use more than one led

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

    Where did you learn coding? What are resources you have?

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

    Sir mera blynk switch thoda late work kr rha hai on off hone me kch secs lgta hai

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

    maya doola dirachav ne tho mamulga vundadhu thop nuvu

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

    why my blynk.run(); it says does not declare in the scope

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

    Sir how to change the device offline into online sir

  • @dr.muhammadsohail3820
    @dr.muhammadsohail3820 Год назад +1

    The led is not connecting to blynk and the led is glowing automatically

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

      Please let me know which pin you connected in ESP8266 board and which pin you mentioned in Blynk -> Datastream.

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

      same problem

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

    El único vídeo que me sirvió, good work 🤙

  • @satreaaji
    @satreaaji 2 года назад +2

    there something wrong with your code

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

      Please let me know what's wrong in the code

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

      @@TechTrendsShameer idk, but it wont work, did you recheck your code? Loop is empty

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

      @@TechTrendsShameer nvm, i found it, in your code ledpin d14, but your blynk use d2. Im conversing your code to esp32, at first it wont work. But after change digital pin on blynk, now it worked. Thanks

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад +3

      I think you checked the code from the video. You will not able to see the full code in the video screen. Please check the video description for the complete source code.

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

      I use ESP 8266 in this project. If you are using other boards or selected other pins, please modify the program.

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

    invalid auth code, please help

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

      The auth code will be generated during setup. My code will not work for you. Please follow the steps and generate your own code.

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

    it says d4 not declared in scope... time waste

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

      How many hours you wasted ?

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

      @@TechTrendsShameer sir i am getting same error pls help

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

      C:\Users\sanja\AppData\Local\Temp\.arduinoIDE-unsaved2022917-1652-1lgzl4z.blme\sketch_oct17a\sketch_oct17a.ino:18:14: error: 'D4' was not declared in this scope; did you mean 'V4'?
      18 | int ledpin = D4;
      | ^~
      | V4
      Multiple libraries were found for "BlynkSimpleEsp8266.h"
      Used: C:\Users\sanja\OneDrive\Documents\Arduino\libraries\Blynk
      Not used: C:\Users\sanja\OneDrive\Documents\Arduino\libraries\blynk-library-master
      exit status 1
      Compilation error: 'D4' was not declared in this scope; did you mean 'V4'?

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

    Hi i get error on code #include for this line

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

      you should setup the esp8266 in arduino ide