Building an automatic irrigation system that opens a solenoid valve when soil is dry using the FC-28 sensor and a switching transistor, with a safety note on the protection diode.