Garden sensors measure soil moisture and greenhouse temperature

[Andy] is getting his garden up and running. This year it’s been pretty cold so he decided to get small plastic domed tunnel which acts as a mini greenhouse. To help monitor that environment he built this sensor array which displays temperature and soil moisture readings.

Temperature is quite simple. He’s using a TMP36 sensor which is held a few inches above the soil. The moisture sensor is of his own design. It uses two building screws embedded in foam. These are pushed into the soil and a resistance reading indicates moisture level. By driving voltage on one screw, and measuring voltage on the other he gets some useful data. It’s not a standardized value, but observation over time will let him know how the scale relates to dry or wet soil.

During the build process he found that he needed a pull-down resistor on the probe used to take the moisture measurement. He also uses an I/O pin to drive the other screw. This gives him a way to shut off the juice when not taking a reading. We just hope he’s either got a current limiting resistor, or is using a transistor to drive it high.


Get every new post delivered to your Inbox.

Join 93,990 other followers