Spoerle
Junior Member level 2
I am rebuilding a machine standing outside.
The power supply will be via 400V (motor 4kW) control electronics over transformer 400V/2x12V 16VA.
One 12V winding is rectified and used to power the MCU.
This voltage also powers the signaling LED.
10mm RGB LED, 20 mA, common +.
Signaling LEDs switch contactor, relays and MCUs via transistors.
The question is whether and how to solve the source for the LED
1. Nothing special, + on 16V DC and limit the current with a resistor to approx. 17 mA. Pros very simple
2. A simple 20mA current source with a resistor and two NPN transistors. Cons complexity of a total of 4 components for every color in LED RGB
3. Current source with LM317LZ and resistor. Cons Price
4. Something else?
Thanks
The power supply will be via 400V (motor 4kW) control electronics over transformer 400V/2x12V 16VA.
One 12V winding is rectified and used to power the MCU.
This voltage also powers the signaling LED.
10mm RGB LED, 20 mA, common +.
Signaling LEDs switch contactor, relays and MCUs via transistors.
The question is whether and how to solve the source for the LED
1. Nothing special, + on 16V DC and limit the current with a resistor to approx. 17 mA. Pros very simple
2. A simple 20mA current source with a resistor and two NPN transistors. Cons complexity of a total of 4 components for every color in LED RGB
3. Current source with LM317LZ and resistor. Cons Price
4. Something else?
Thanks