Spoerle
Junior Member level 2
I have a trivial question at first glance.
Example:
assignment We want to control MOC3083 help GPIO some +3.3V ARM processor and we want the trip to signal the red LED.
My solution MOC3083 have LED Trigger Current 5mA MAX. forward voltage for 5mA and temperature -20C approximately 1.25V (use 1.3V).
RED LED for 5mA have forward voltage 1.7V the effect of the temperature, the manufacturer is melting.
If we connect the diodes to the series at 5mA voltage loss typically 3V and cnnect t directli on MCU GPIO .
The question is that right?
or
I should use a serial connected resistance of 20 to 40 ohm
or
use an external NPN transistor (BC817-40) NMOSFET (BSS138) and from GPIO control the transistor
or
Or somehow complicate it more
Everything will be a question of what is the most reliable solution and already in terms of LEDs in Optotriac, Triac, MCU
Generally Opto-xxx, I have recently dealt with several optocouplers with a defective "illuminated" LED
Thanks
Example:
assignment We want to control MOC3083 help GPIO some +3.3V ARM processor and we want the trip to signal the red LED.
My solution MOC3083 have LED Trigger Current 5mA MAX. forward voltage for 5mA and temperature -20C approximately 1.25V (use 1.3V).
RED LED for 5mA have forward voltage 1.7V the effect of the temperature, the manufacturer is melting.
If we connect the diodes to the series at 5mA voltage loss typically 3V and cnnect t directli on MCU GPIO .
The question is that right?
or
I should use a serial connected resistance of 20 to 40 ohm
or
use an external NPN transistor (BC817-40) NMOSFET (BSS138) and from GPIO control the transistor
or
Or somehow complicate it more
Everything will be a question of what is the most reliable solution and already in terms of LEDs in Optotriac, Triac, MCU
Generally Opto-xxx, I have recently dealt with several optocouplers with a defective "illuminated" LED
Thanks