I have a Rpi 3 and my uncle says I can plant all the plants I want on his acreage with the condition I automate the watering process as he is very busy and wont water them for me. I accepted the challenge. He has a large volume water tank that collects rainwater. The plan is to wire everything up and use Java to control the GPIO. Very simply, I will power everything via battery and once per day a motorized valve will open to water the plants and then close.
I ordered this motorized valve earlier today https://m.banggood.com/DC-12V-DN20-CR01 ... s=myorders and looking at the diagram I can only assume SW is switch. My uncle says I could use two relays instead, but what exactly should I use for the switch?
I am a beginner when it comes to electronic hardware of this nature.