What I used:
12V Power Supply
Broken CD Rom Drive
Some Wood and Wires.
The main idea was to measure the moisture of the soil in the cups and then close the tray of the CD Rom to spray on the Seeds.
For the measurement I used a voltage divider circuit. I placed one wire (without isolator) on the upper side of the Cups and another on the lower side, to measure the resistance. If the cups get wet the resistance goes down. I measured the resistance in dry and wet conditions to find which resistor fits for the voltage divider. In my case I used 1mOhm. With that circuit I measure the remaining Voltage of the 5V of the Arduino on a Arduino AnalogPin. If the value goes down, in my case under 150. I trigger the TIP 120 Transistor on an digitalPin of the Arduino to let 12V from the Powersupply flow to the Tray of the CD-Rom. The tray closes and the water is sprayed on the soil until the value goes up again. Thats it.
If you want to find out more about voltage divider and driving a motor with the TIP120 you can find plenty of tutorials on the web.
If you want I can also provide the ArduinoCode and more Infos about my project, just ask.
I hope you like my litte project, I`m really new to electronics so if I you have any advices how to make this better let me know.