Soil Moisture sensor with Arduino | How to read soil moisture values [with code Explained]

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

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

  • @powertechiotsolutionsandelesys
    @powertechiotsolutionsandelesys 11 วันที่ผ่านมา

    bro how to make relaay on /off with this , is this code contain this or need to recode for replay

    • @techathome
      @techathome  11 วันที่ผ่านมา

      Check this video: th-cam.com/video/8g8oiIa98xc/w-d-xo.html

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

    Well explained🙏

  • @Anu-jk5zk
    @Anu-jk5zk หลายเดือนก่อน

    Bro system ni denikaina connect cheyyaala? Nv sensor ni soil lo dip chesi thisinappudu serial monitor lo values elaa change ayyaayi

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

      I cannot understand your question completely?
      Can you explain.

  • @stardusthalo9996
    @stardusthalo9996 5 หลายเดือนก่อน +2

    Sir How much is overall cost of the set up... Except for laptop?

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

      Prices vary.
      You can check prices for arduino, LCD, moisture sensor, relay module, pump.

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

      Less than 800-900

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

      Less than 300

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

    cant the vcc be connected to the 3.3v

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

      It can be connected, but the range of values coming from sensor also changes since the voltage drop changes.
      Based on this new values, you have update the condition check in the code.

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

    Make a video on drifting as well like in forza or assetto corsa

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

      My laptop doesn't support such games, otherwise I would have tried

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

      How is that connected to arduino😂

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

      It's just for thumbnail

  • @NiharikaNishvi321-qi7jz
    @NiharikaNishvi321-qi7jz ปีที่แล้ว

    in this divices connect to a mobile r not tell me and how to connect and which app I will used

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

    I have an error of Board at null is not available

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

      Can u send mail with photos of the board and the error?

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

      @@techathome your mail bro

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

    Which board are you using ??

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

      Arduino UNO.
      Any board should work.

  • @martvinzmarumi8015
    @martvinzmarumi8015 4 หลายเดือนก่อน +1

    nextime add delay for 1 second in your code so that sensor value will be displayed every second.

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

      👍

  • @IslamIslam-zv9ft
    @IslamIslam-zv9ft 7 หลายเดือนก่อน

    I bought one and when i put it in wet soil the value drop from 1023to 1019only why ?is it damaged or something

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

      There is blue colour potentiometer screw on the sensor module. Rotate that and change the sensitivity.

    • @IslamIslam-zv9ft
      @IslamIslam-zv9ft 7 หลายเดือนก่อน

      @@techathome isn't for digital values i used the analog pin

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

      It will modify both. You can rotate and check even for analog pin as well.

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

    I follow everything in the video but my coding said error 'else' without a previous 'if' .. but i already put if before the 'else'

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

      Can u send photo on mail

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

    if we want to measure and print the moisture value in percentage like 45% or 87% how can we convert this analog data to this required percentage

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

      (analog data/1023)*100
      Since Arduino has 10bit ADC, the maximum analog output is 2^10 = 1023

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

    i am getting this error in arduino "" Board at null is not available"" what should i do

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

      Did you set the com port in tools?

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

      @@techathome WHAT IS THE COST OF ARDUINO

  • @CHIKKUGAMER-su1bx
    @CHIKKUGAMER-su1bx 9 หลายเดือนก่อน

    Thank you sir

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

    Can you add a lcd display to it

    • @techathome
      @techathome  ปีที่แล้ว +3

      We will be making next video completely on automated plant watering system along with LCD display

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

    Sir what is the main object of this project!

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

      This is not the project. This video is on how soil moisture sensor works and how to use.
      For project refer this video: th-cam.com/video/8g8oiIa98xc/w-d-xo.html

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

      @@techathome can we do this coding in Tony app is this coding works in that app

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

      @@techathome I want to do this as a mini project in my college

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

      I have not used that app.
      You can go with Arduino droid app, You can get video on this app in our channel.

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

      @@techathome can send that vedio link to me

  • @VijjiKadavakollu
    @VijjiKadavakollu 4 หลายเดือนก่อน +2

    Sir in which app your coding?

    • @abhisheksukumar9591
      @abhisheksukumar9591 4 หลายเดือนก่อน +2

      He is coding in Arduino IDE

    • @techathome
      @techathome  4 หลายเดือนก่อน +2

      It is Arduino IDE for computer: downloads.arduino.cc/arduino-1.8.12-windows.exe
      You can also use smartphone: th-cam.com/video/HueSXtQQNLM/w-d-xo.html

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

    sir in what units are these output values? Like the 1000+ when the soil is dry.

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

      These are not physical values.
      Based on the voltage from sensor(0 to 5v), we will be getting ADC values (0 to 1023).
      You can convert this to percentage also like this,
      moisture_percentage = (100 - ( (sensor_data /1023.00) * 100 ) );

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

      @@techathome thank you sir,
      Also, can we use this setup to get the resistance of the soil, like can we write a code like that? Or can we use Arduino to simultaneously plot a graph 📉📈 alongside to make the project more fancy. Please suggest something to me sir, it's really urgent. Love from IIT Roorkee.

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

      Resistance calculation I have not done, need to check.
      On the graph,
      You can use Serial plotter option inside Arduino IDE itself under Tools.

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

    How to connect to laptop

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

      USB cable and Arduino IDE

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

    Can anyone give the code in the reply?? Because the drive link in the description box not opening

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

      Send mail to: deepakhd20@gmail.com

  • @ManasaMK-h9v
    @ManasaMK-h9v 3 หลายเดือนก่อน

    Will it works ?

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

      Yes

    • @ManasaMK-h9v
      @ManasaMK-h9v 2 หลายเดือนก่อน

      @techathome
      Provided we have to do as u done

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

    Bro how to change the soil moisture in that

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

      I didn't get your question

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

    How many square feet and square meters of land can detect soil moisture sensor?

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

      It works through conductivity, so that means the ground acts like an potentiometer and does not have an “range”

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

    what platform you used to run the code

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

      It is Arduino IDE

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

    Can u please provide code as the link is not opening.

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

      Can u send mail: deepakhd20@gmail.com

  • @CHIKKUGAMER-su1bx
    @CHIKKUGAMER-su1bx 9 หลายเดือนก่อน

    It is working

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

      👍

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

    Which algorithm u used in that code

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

      There is no specific algorithm. Simple If statements to compare sensor value is less than or greater than the thresholds.

  • @CHIKKUGAMER-su1bx
    @CHIKKUGAMER-su1bx 9 หลายเดือนก่อน

    Sir is this code working

    • @techathome
      @techathome  9 หลายเดือนก่อน +1

      Yes

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

    Can this system be notified in telegram?

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

      As of now I have not explored. I have tried it will Bluetooth mobile app. See if this video helps you: th-cam.com/video/jVy6Z5qA_h0/w-d-xo.htmlsi=oQGJcZIXu0Gytaem