Step 4Build Your Moisture Sensor
Solder a wire to the head of each nail, and be generous: this will be a structural connection as well as electrical. One nail wire gets connected to +5v on the Arduino, and the other goes to both an analog input and a resistor (then ground)
| « Previous Step | Download PDFView All Steps | Next Step » |





















































Also, DC is known to be a problem for moisture sensors over time - have you considered AC or are you just replacing your probes often?
With regard to the DC. I have not seen any problems yet with my spikes that have been in the ground for a year., but what you could do is provide the positive feed to yr spikes from an arduino pin and only switch that on right before you measure and then off again ofcourse
I'd recommend checking all components of the system every ~month, or if you notice anything odd. Using galvanized nails seems to help things and, if you really want to play it safer, you can modify the code to only set the pin to the moisture sensors high when you're reading the moisture value.
Hope this helps,
Luke
thank you so much!
tm
I have these pins in the ground for a year now and they still look fine. Since winter is coming, I took them out, gave them a quick clean with a brillo. They will go back in the soil in the spring.
If they really look bad, I will just replace them
I belive there is no difference with stainless steel except it is an alloy not an electro-plating
there probably is no difference but price
thank you!
tm