Terry Allen Steen, EE of Marina Power says:
The easiest way I have found is to drive the LED half of an optoisolator. Connect the output side to the relay and its source. I use the H11G2 (just because I have them around).+-------+ PIC OUT---| |--+--RELAY--+- High voltage | | | | | H11G2 | '--DIODE>-' ,--| |--, | | | | \|/ +-------+ \|/ GND GNDPaul B. Webster says:
And you *did* mean to put a resistor in series with the opto input, did you not? And the diode across the relay?
Also:
See also:
| file: /Techref/io/relay/IsoHV.htm, 1KB, , updated: 2009/1/26 14:04, local time: 2012/2/10 05:03,
38.107.179.234:LOG IN |
| ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/tecHREF/io/relay/IsoHV.htm"> Relay / Solenoid IO Driver:</A> |
| Did you find what you needed? |
|
Calculator 7-seg LED chars, port values, resistor color codes and common values, ohms law, wavelength / frequency, RMS and Peak, max value for x bits, etc... |
|
.