You can get started with Intel Galileo following the tutorial on the moisture sensor system made by Manoel. It’s based on two sensors, each of them built using galvanized nails connected to an analog port and making a resistor division with another resistor. The system is simple, cheap and allows you to monitor soil only using nails.