Soil Moisture Sensor & Arduino using Tinkercad

Sdílet
Vložit
  • čas přidán 8. 09. 2024
  • In this video, we will interface the Soil Moisture Sensor with Arduino in Tinkercad to detect the percentage of moisture available in the soil.
    #soilmoisturesensor #arduino #tinkercad

Komentáře • 13

  • @beenagairola8745
    @beenagairola8745 Před 4 měsíci +5

    code of the program :
    int moistureValue;
    float moisture_percentage;
    void setup()
    {
    Serial.begin(9600);
    }
    void loop()
    {
    moistureValue = analogRead(A0);
    moisture_percentage = ((moistureValue/539.00)*100);
    Serial.print("
    Moisture Value : ");
    Serial.print(moisture_percentage);
    Serial.print("%");
    delay(1000);
    }

  • @alexanderbaquero2694
    @alexanderbaquero2694 Před rokem +3

    Thanks my friend so easy to understand

  • @A_to_Z-lt8jn
    @A_to_Z-lt8jn Před 4 měsíci

    thank you bro

  • @feero9680
    @feero9680 Před rokem +1

    hello sir, why the variable moistureValue is divided by 539

    • @Hmm-lt6oc
      @Hmm-lt6oc Před rokem +3

      It is the maximum value(threshold value) of the soil moisture sensor, so we divide it by 539 and multiply that by 100 to convert the data into percentage. Hope that helps :)

  • @thienphuho3917
    @thienphuho3917 Před rokem

    Hi there, can you explain what is begin 9600, what is that figure from?

  • @rutujnagargoje2351
    @rutujnagargoje2351 Před rokem

    sir how to use node MCU

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

    Sir plss arduino soil moisture humidity and air plss

  • @slayerop8156
    @slayerop8156 Před 7 měsíci +1

    Bhai description me code dal deta

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

    float soil = (soil_value/539.00)*100;

  • @youtuberz7292
    @youtuberz7292 Před rokem

    Mit ?