I'm trying to come up with a design for controlling a 24VAC water valve with an arduino.
My current design :
I want to use a BT1308W TRIAC controlled by an arduino pin to activate the vale, I'm also using a smbj48ca TVS diode to suppress spike generated by the solenoid when it's de-energized. I was using a similar design using a relay and the arduino was reboting randomly when the solenoid was closed, after adding the TVS diode it's not happening but is the correct use for this diode?