I need a way to detect whether or not a solenoid is attached to an i/o port as well as detect a fault (short) on the solenoid wiring. The solenoids run off of 24VAC. There are several ports to which a solenoid could be connected. A microcontroller would sequentially turn on each port (a triac is used as the AC switch) and if the current sense output met a certain threshold, the microcontroller would know that a solenoid was connected. If it passed another threshold, it would know that a short was present and shut the triac off.
I'm hoping for a simple design since there are only two levels I'm concerned about - solenoid is/isn't connected and a short condition.
Any help is greatly appreciated.
I'm hoping for a simple design since there are only two levels I'm concerned about - solenoid is/isn't connected and a short condition.
Any help is greatly appreciated.