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 GND
Paul 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?
|file: /Techref/io/relay/IsoHV.htm, 1KB, , updated: 2009/1/26 15:04, local time: 2022/8/12 12:00,
|©2022 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://piclist.com/techref/io/relay/IsoHV.htm"> Relay / Solenoid IO Driver:</A>
|Did you find what you needed?|
PICList 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @20220812
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to piclist.com!