Telemachus
New Member
I am using 4 channel optocouplers to isolate a low voltage microcontroller PIC16F1936 from a much higher voltage LED array, and would like to keep the two power sources isolated.
I was using the output of the IC
(datasheet here: https://www.electro-tech-online.com/custompdfs/2011/10/41364E.pdf)
to drive the optocoupler (datasheet here: https://www.electro-tech-online.com/custompdfs/2011/10/LTV-8x6.pdf)
with a 1k ohm resistor in series, and although it works fine, the amount of current moving through the transistor side is quite limited, making the lights far too dim. I dropped the resistor down to 500 ohm and 220 ohm, and although the lights are brighter, they are nowhere near what they would be if I connected right to the power source on the higher voltage side.
I have scoured the datasheet on the PIC, and although is states it has "high-current source/sink for direct LED drive" it won't tell me how many mah it can source.
If I assume 40-50mAh (is this too high?), with 1.2 voltage drop on the IR LED in the optocoupler, and 4.5V out from the IC, then I could potentially go all the way down to a 68 or 100 ohm resistor, and hopefully get my full current flowing on the other side.
I can continue the trial and error method, and other than the wasted money in blown optocouplers and resistors, there's not much to lose, but I thought I would throw it out to the experts and get some opinions.
Thanks
I was using the output of the IC
(datasheet here: https://www.electro-tech-online.com/custompdfs/2011/10/41364E.pdf)
to drive the optocoupler (datasheet here: https://www.electro-tech-online.com/custompdfs/2011/10/LTV-8x6.pdf)
with a 1k ohm resistor in series, and although it works fine, the amount of current moving through the transistor side is quite limited, making the lights far too dim. I dropped the resistor down to 500 ohm and 220 ohm, and although the lights are brighter, they are nowhere near what they would be if I connected right to the power source on the higher voltage side.
I have scoured the datasheet on the PIC, and although is states it has "high-current source/sink for direct LED drive" it won't tell me how many mah it can source.
If I assume 40-50mAh (is this too high?), with 1.2 voltage drop on the IR LED in the optocoupler, and 4.5V out from the IC, then I could potentially go all the way down to a 68 or 100 ohm resistor, and hopefully get my full current flowing on the other side.
I can continue the trial and error method, and other than the wasted money in blown optocouplers and resistors, there's not much to lose, but I thought I would throw it out to the experts and get some opinions.
Thanks