Folks, havent done any programming for ages but understand the idea.
Want to resolve a problem with a neighbour’s dog on my front lawn and I’m thinking a PIR sensor connected to an arduino then activating a water pipe solenoid which works a sprinkler for a few seconds.
The water solenoid is 12v but can be activated by 6-12v
Will the arduino have to go through a relay to work the solenoid or might it activate this directly.
Any suggestions appreciated.