IOT Based Smart Plant Watering System using the New Blynk Iot and Nodemcu esp8266 || Techie Lagan

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024

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

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

    //Include the library files
    #define BLYNK_PRINT Serial
    #include
    #include
    char auth[] = "hItT82Ueb4BpcEOb_0YnYsyArfbDlLkb";//Enter your Auth token
    char ssid[] = "LJ";//Enter your WIFI name
    char pass[] = "12345678";//Enter your WIFI password
    BlynkTimer timer;
    bool Relay = 0;
    //Define component pins
    #define sensor A0
    #define waterPump D3
    void setup() {
    Serial.begin(9600);
    pinMode(waterPump, OUTPUT);
    digitalWrite(waterPump, HIGH);
    Blynk.begin(auth, ssid, pass, "blynk.cloud", 80);
    //Call the function
    timer.setInterval(100L, soilMoistureSensor);
    }
    //Get the button value
    BLYNK_WRITE(V1) {
    Relay = param.asInt();
    if (Relay == 1) {
    digitalWrite(waterPump, LOW);
    } else {
    digitalWrite(waterPump, HIGH);
    }
    }
    //Get the soil moisture values
    void soilMoistureSensor() {
    int value = analogRead(sensor);
    value = map(value, 0, 1024, 0, 100);
    value = (value - 100) * -1;
    Blynk.virtualWrite(V0, value);
    }
    void loop() {
    Blynk.run();//Run the Blynk library
    timer.run();//Run the Blynk timer
    }

  • @desmondcassidy1759
    @desmondcassidy1759 День назад

    the pump does not turn off

  • @bibhuduttasarangi3990
    @bibhuduttasarangi3990 Месяц назад

    Sir" error compiling for board nodemcu 1.0 (ESP-12E Module). Define BLynk template id and blynk template name" asaa error araha hai plzz help sir

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

    That a good project
    can we use as soil sensor without using phone ?
    and mixing of fertilizer also ?

    • @VishnuPrasad-uv7hy
      @VishnuPrasad-uv7hy Год назад

      Bro if u have the code please send me the program code for the project

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

    Thank You so much. The Project Works.

  • @muthukumar-bx2iz
    @muthukumar-bx2iz 10 месяцев назад +2

    Sir error please specify your blynk template id and template name

  • @bibhuduttasarangi3990
    @bibhuduttasarangi3990 Месяц назад

    Sir code file open nahi horaha hai plzz reply sir

  • @user-qr3nt8pt9h
    @user-qr3nt8pt9h Год назад

    I am using esp32 devkitc v4 what output do you use to connect it with relay ?

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

    Sir please provide the esp32 node mcu video please sir🙏🙏🙏🙏

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

    Great info 😊

  • @satyjitdeshmukh5949
    @satyjitdeshmukh5949 10 месяцев назад

    The project works

  • @muthukumar-bx2iz
    @muthukumar-bx2iz 10 месяцев назад

    The device is offline what can I do

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

    bro can you send the code please because the link in description is not working plz

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

      //Include the library files
      #define BLYNK_PRINT Serial
      #include
      #include
      char auth[] = "hItT82Ueb4BpcEOb_0YnYsyArfbDlLkb";//Enter your Auth token
      char ssid[] = "LJ";//Enter your WIFI name
      char pass[] = "12345678";//Enter your WIFI password
      BlynkTimer timer;
      bool Relay = 0;
      //Define component pins
      #define sensor A0
      #define waterPump D3
      void setup() {
      Serial.begin(9600);
      pinMode(waterPump, OUTPUT);
      digitalWrite(waterPump, HIGH);
      Blynk.begin(auth, ssid, pass, "blynk.cloud", 80);
      //Call the function
      timer.setInterval(100L, soilMoistureSensor);
      }
      //Get the button value
      BLYNK_WRITE(V1) {
      Relay = param.asInt();
      if (Relay == 1) {
      digitalWrite(waterPump, LOW);
      } else {
      digitalWrite(waterPump, HIGH);
      }
      }
      //Get the soil moisture values
      void soilMoistureSensor() {
      int value = analogRead(sensor);
      value = map(value, 0, 1024, 0, 100);
      value = (value - 100) * -1;
      Blynk.virtualWrite(V0, value);
      }
      void loop() {
      Blynk.run();//Run the Blynk library
      timer.run();//Run the Blynk timer
      }

  • @user-nt9rp8hd5q
    @user-nt9rp8hd5q 6 месяцев назад

    Hello
    Please please please send me libraries, i can't download them in Arduino IDE

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

    In app they show offline

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

    Hi, my soil moisture sensor is not giving any readings on blynk app, please suggest a solution

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

      Sorry I won't lie , actually I don't know the solution...
      But I think there may be some issue with the sensor, maybe it's not working..

  • @muthukumar-bx2iz
    @muthukumar-bx2iz 10 месяцев назад

    What can i do

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

    Bro in the app it is coming as offline

  • @bruceleegamingSFA
    @bruceleegamingSFA 2 месяца назад

    What is that wifi i mean who’s wifi? Is our personal wifi or any other source? Please answer

  • @Triggeredinsaanmemes63
    @Triggeredinsaanmemes63 9 месяцев назад

    sir offline dekha raha h

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

    Bro my relay not working why

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

    where can we download the libraries?

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

    😇😇😇

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

    Libaries kaha se dowload kare

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

      There is a library section in Arduino ide. From there you can download the libraries.....

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

      @@TechieLagan thanks bhai.
      Bhai blynk ke liye paid premium le na pade gaa kya

    • @SumitKushwah-qh1ro
      @SumitKushwah-qh1ro 11 месяцев назад

      Please reply me😢😢

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

      No

    • @SumitKushwah-qh1ro
      @SumitKushwah-qh1ro 11 месяцев назад

      Bhai ye phone pr message send Kare ga Kya jab moisture Kam hoga too please reply me

  • @VishnuPrasad-uv7hy
    @VishnuPrasad-uv7hy Год назад

    Bro resend the program code

    • @VishnuPrasad-uv7hy
      @VishnuPrasad-uv7hy Год назад

      Coding of the program can't download

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

      //Include the library files
      #define BLYNK_PRINT Serial
      #include
      #include
      char auth[] = "hItT82Ueb4BpcEOb_0YnYsyArfbDlLkb";//Enter your Auth token
      char ssid[] = "LJ";//Enter your WIFI name
      char pass[] = "12345678";//Enter your WIFI password
      BlynkTimer timer;
      bool Relay = 0;
      //Define component pins
      #define sensor A0
      #define waterPump D3
      void setup() {
      Serial.begin(9600);
      pinMode(waterPump, OUTPUT);
      digitalWrite(waterPump, HIGH);
      Blynk.begin(auth, ssid, pass, "blynk.cloud", 80);
      //Call the function
      timer.setInterval(100L, soilMoistureSensor);
      }
      //Get the button value
      BLYNK_WRITE(V1) {
      Relay = param.asInt();
      if (Relay == 1) {
      digitalWrite(waterPump, LOW);
      } else {
      digitalWrite(waterPump, HIGH);
      }
      }
      //Get the soil moisture values
      void soilMoistureSensor() {
      int value = analogRead(sensor);
      value = map(value, 0, 1024, 0, 100);
      value = (value - 100) * -1;
      Blynk.virtualWrite(V0, value);
      }
      void loop() {
      Blynk.run();//Run the Blynk library
      timer.run();//Run the Blynk timer
      }

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

    hiii bro , blynktimer ko error aa rha hai
    kya kru

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

      sorry I don't know what to do .......sorry for late reply.

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

    Please sir

  • @user-xs9rn5ly1q
    @user-xs9rn5ly1q Год назад

    How i can contact you?

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

      Through Instagram - link is in channel description