Re: optocoupler trouble



ted wrote:
I'm getting strange results from an optocoupler (aka optoisolator, and
this is the kind with transistor output). In brief: nothing I do
seems to make the transistor "conduct", except very feebly.

Here's my setup:

Diode anode: 0V/1.07V, 0.4mA
Diode cathode: ground

Transistor collector: connected to a 330 Ohm resistor which is
connected to 4.92V.
Transistor emitter: ground
Transistor base: open

When the diode anode is at 0V, the transistor collector is, as one
would expect, at 4.92V.
But when I give the diode anode 1.07V, the transistor collector drops
to just 4.88V. I want it to go down to 0V and I don't understand why
that's not happening.

How much current to the diode? Applying a fixed voltage to a diode will get you a wide range of currents.

0.4mA in the diode is a recipe for minuscule currents in the transistor. What does the optocoupler data *** say? You need about 15mA to pull the collector down close to zero (you won't get it all the way), that's a lot for an optocoupler with a plain transistor.

--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" gives you just what it says.
See details at http://www.wescottdesign.com/actfes/actfes.html
.