I am building a project that requires switching on and off a solenoid valve in a short time interval, ~.5s. The solenoid is AC which I have no experience with, most of my projects have been low risk dc stuff. From what i have found so far there seems to be a few popular ways to switch power; relays, MOSFETs, or SSR’s.
I have had trouble in the past interfacing with the 5v relay’s i have and don’t think that will be the fastest and easiest way to do it. I have used MOSFETS in the past with a lot of help from this community for switching DC power, but am nervous about using them with AC. I am leaning towards using a solid state relay. The SSR seams to be pretty robust compared to the former two options. Am i correct in leaning this way? What sort of protection should I include? kickback diode’s and such.
Any advice is greatly appreciated, here the post i referenced above;