01-05-2006 02:05 PM
01-05-2006 04:38 PM
01-05-2006 07:56 PM
01-06-2006 11:38 AM
01-06-2006 11:53 AM
You can also use a ULN2003 driver, you may need to use an inverter (SN7404) integrated circuit ahead of it to keep logic levels correct.
http://pdf.alldatasheet.co.kr/datasheet-pdf/view/25575/STMICROELECTRONICS/ULN2003.html
But the SSR is proabably the best way to go for you being the easiest to hook up. Plus it provides electrical isolation between your solenoid voltages and your computer.
In either case you should put a 1N4004 diode across your solenoid, with the striped end towards the + end of the power supply. This abosrbs the high voltage spike that is created when you turn off the solenoid. Without it, the spike can eventually damage the relay or driver circuits