Optocoupler If question...
Mickster
Posts: 2,693
I need to couple an external 24v to a Propeller input (tied to 3.3v, via 4.7k). I have a TLP620-4 that I liberated from an old industrial I/O card. The datasheet states a maximum If of 50mA and a recommended 16mA. There is also an indicator LED in series with the optocoupler input. I was looking at using a 1k limiting resistor for ~20mA If but then I saw that the other design uses 2.2k. This means a If of <10mA. The datasheet doesn't specify a minimum If. Furthermore, these fixed 24v power supplies that I work with are unregulated and rarely do I get the full 24v. Which way should I go regarding the limiting resistance?
Edit: Ah, I just found "+/- 8mA" for this 4-channel device. This feels a bit borderline, considering that the nominal 24v can be closer to 20v.
Edit: Ah, I just found "+/- 8mA" for this 4-channel device. This feels a bit borderline, considering that the nominal 24v can be closer to 20v.
Comments
A resistor of 2K2 driven from 24V is a bit low even taking into account the forward drop of the IR and indicator LEDs and perhaps less than 24V supply.. I would probably use a value of around 3k3 or so myself. Datasheets also specify test conditions which shouldn't be confused with operating conditions. They like to achieve a low Vce(sat) etc under all conditions etc. The absolute max of 50mA is not something that you should ever be striving for
I'll try the 3k3 option although I kinda like the indicator brightness that the 2k2 provides. Response is not an issue.
Peter's on the right track; I have the 24v feeding the input via the resistor-in-question and a series connected indicator LED. The output is to pull-low the prop pin that is tied to 3v3 via a 4k7 resistor. I'm all for the least-possible component stress, so the lowest-but-reliable If, the better.