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

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2021
  • 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.electronicscomp.com/nodem...
    2. LED - www.electronicscomp.com/green...
    3. Connecting Wires
    Software Required
    ===============
    1. Arduino IDE - www.arduino.cc/en/main/software
    2. Programming Language - C Language
    Source Code
    ===========
    github.com/Tech-Trends-Shamee...
    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
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @ChubbaBoastinTone766
    @ChubbaBoastinTone766 ปีที่แล้ว +4

    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  ปีที่แล้ว +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.

  • @ndaghakangoma6003
    @ndaghakangoma6003 8 หลายเดือนก่อน +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  8 หลายเดือนก่อน +1

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

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

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

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

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

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

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

  • @keerthanabantumilli585
    @keerthanabantumilli585 3 หลายเดือนก่อน +1

    It works... Thank you soo much sir

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

      Welcome 👍. Please subscribe and follow instagram 😊

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

    awesome sir . Its working

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

    thank you

  • @user-fb7qn8vq8l
    @user-fb7qn8vq8l 6 หลายเดือนก่อน

    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

  • @SALIMkhan-cf4bh
    @SALIMkhan-cf4bh ปีที่แล้ว +2

    THANKS, WORKING CODE

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

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

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

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

    Hi, which version of ESP2866 works in Adruino?

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

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

  • @prodyumnapal5430
    @prodyumnapal5430 2 หลายเดือนก่อน +1

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

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

    Sir how to change the device offline into online sir

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

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

    • @TechTrendsShameer
      @TechTrendsShameer  5 หลายเดือนก่อน

      Check video description for the code.

  • @harsh9266
    @harsh9266 7 หลายเดือนก่อน +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  7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน +1

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

    • @TechTrendsShameer
      @TechTrendsShameer  7 หลายเดือนก่อน

      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

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

    maya doola dirachav ne tho mamulga vundadhu thop nuvu

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

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

    First view.

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

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

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

    I did not get which programme u were talking

    • @TechTrendsShameer
      @TechTrendsShameer  5 หลายเดือนก่อน

      Check video description for the code.

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

    Can we use more than one led

  • @travel_vloz3430
    @travel_vloz3430 25 วันที่ผ่านมา +1

    Which platform to run the code

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

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

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

      Check Auth code and wifi credentials are correct

  • @SALIMkhan-cf4bh
    @SALIMkhan-cf4bh ปีที่แล้ว +1

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

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

      1 -> D5
      2 -> D4
      3 -> D0
      4 -> D2
      5 -> D14
      6 -> D12

  • @allin1kannada674
    @allin1kannada674 29 วันที่ผ่านมา +1

    where we get the program

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

    Will it work from anywhere in the world?

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

  • @user-tt3fx4vz6g
    @user-tt3fx4vz6g ปีที่แล้ว +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

    • @user-tt3fx4vz6g
      @user-tt3fx4vz6g ปีที่แล้ว

      @@TechTrendsShameer working 🤗♥️

  • @dr.muhammadsohail3820
    @dr.muhammadsohail3820 11 หลายเดือนก่อน +1

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

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

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

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

      same problem

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

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

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

    You didn’t explain the code

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

    hey why my device still offline

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

      Check WiFi connection and auth token

    • @almeespinosawild2196
      @almeespinosawild2196 5 หลายเดือนก่อน

      You found any solution? I’m in the same situation

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

    Hi i get error on code #include for this line

    • @hisham5983
      @hisham5983 7 หลายเดือนก่อน

      you should setup the esp8266 in arduino ide

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

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

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

    • @TechTrendsShameer
      @TechTrendsShameer  ปีที่แล้ว +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'?