In SX Microcontrollers, SX/B Compiler and SX-Key Tool, beazleybub wrote: The circuit I provided was just an example. I am sure I have the B C E in the wrong places! :shocked: Is the reason for using an opto-coupler instead of a transistor just for BS2SX protection from voltage spikes? And is it hard to determine which opto-coupler to use? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=266217#m266294 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)