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 ) );
@@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.
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.
This is not the project. This video is on how soil moisture sensor works and how to use. For project refer this video: ruclips.net/video/8g8oiIa98xc/видео.html
As of now I have not explored. I have tried it will Bluetooth mobile app. See if this video helps you: ruclips.net/video/jVy6Z5qA_h0/видео.htmlsi=oQGJcZIXu0Gytaem
Sir in which app your coding?
He is coding in Arduino IDE
It is Arduino IDE for computer: downloads.arduino.cc/arduino-1.8.12-windows.exe
You can also use smartphone: ruclips.net/video/HueSXtQQNLM/видео.html
sir in what units are these output values? Like the 1000+ when the soil is dry.
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 ) );
@@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.
Resistance calculation I have not done, need to check.
On the graph,
You can use Serial plotter option inside Arduino IDE itself under Tools.
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
(analog data/1023)*100
Since Arduino has 10bit ADC, the maximum analog output is 2^10 = 1023
Sir How much is overall cost of the set up... Except for laptop?
Prices vary.
You can check prices for arduino, LCD, moisture sensor, relay module, pump.
I follow everything in the video but my coding said error 'else' without a previous 'if' .. but i already put if before the 'else'
Can u send photo on mail
How many square feet and square meters of land can detect soil moisture sensor?
It works through conductivity, so that means the ground acts like an potentiometer and does not have an “range”
I bought one and when i put it in wet soil the value drop from 1023to 1019only why ?is it damaged or something
There is blue colour potentiometer screw on the sensor module. Rotate that and change the sensitivity.
@@techathome isn't for digital values i used the analog pin
It will modify both. You can rotate and check even for analog pin as well.
what platform you used to run the code
It is Arduino IDE
cant the vcc be connected to the 3.3v
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.
Well explained🙏
Thank you
Can you add a lcd display to it
We will be making next video completely on automated plant watering system along with LCD display
nextime add delay for 1 second in your code so that sensor value will be displayed every second.
👍
in this divices connect to a mobile r not tell me and how to connect and which app I will used
Hlo
Sir
No mobile connection, but this video will help you: ruclips.net/video/jVy6Z5qA_h0/видео.htmlsi=gwzays7KIeBQb0WW
Can anyone give the code in the reply?? Because the drive link in the description box not opening
Send mail to: deepakhd20@gmail.com
i am getting this error in arduino "" Board at null is not available"" what should i do
Did you set the com port in tools?
Make a video on drifting as well like in forza or assetto corsa
My laptop doesn't support such games, otherwise I would have tried
How is that connected to arduino😂
It's just for thumbnail
Which algorithm u used in that code
There is no specific algorithm. Simple If statements to compare sensor value is less than or greater than the thresholds.
Bro how to change the soil moisture in that
I didn't get your question
Thank you sir
Can u please provide code as the link is not opening.
Can u send mail: deepakhd20@gmail.com
Sir what is the main object of this project!
This is not the project. This video is on how soil moisture sensor works and how to use.
For project refer this video: ruclips.net/video/8g8oiIa98xc/видео.html
@@techathome can we do this coding in Tony app is this coding works in that app
@@techathome I want to do this as a mini project in my college
I have not used that app.
You can go with Arduino droid app, You can get video on this app in our channel.
@@techathome can send that vedio link to me
It is working
👍
Can this system be notified in telegram?
As of now I have not explored. I have tried it will Bluetooth mobile app. See if this video helps you: ruclips.net/video/jVy6Z5qA_h0/видео.htmlsi=oQGJcZIXu0Gytaem
Sir is this code working
Yes