In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Chris Savage wrote: If you want to detect the actual electrical energy you can connect an opto-coupler to the target circuit. Depending on the voltage the circuit uses and the current for the LED in the opto you will choose an appropriate resistor. The transistor side will usually need a pull-up resistor on the BASIC Stamp side. This circuit offer optical isolation from the circuit being monitored. I hope this helps. Take care. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=266217#m266233 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)