Hey,
Im a beginner and trying to make a automatic plant waterer and i can't figure out the code to detect the voltage.
Im planning on using the 5V of the arduino uno.
The idea is to put 2 elektrodes in the dirt, when the dirt is wet there should be a voltage between these 2 elektrodes, when the dirt is drying the voltage will slowly drop and when it drops below a certain point i want a servo to move and let water drop onto the dirt.
You will have top explain a bit more. What voltage? Where does it come from? How often does the voltage change? ETc, Etc. Etc.
Im planning on using the 5V of the arduino uno.
The idea is to put 2 elektrodes in the dirt, when the dirt is wet there should be a voltage between these 2 elektrodes, when the dirt is drying the voltage will slowly drop and when it drops below a certain point i want a servo to move and let water drop onto the dirt.
Surely you have googled Arduino watering systems. There are a multitude of watering systems using a capacitive soil moisture sensor.