LED

Driving a LED with an open drain digital input

So I was thinking putting a classid circuit with a BJT. But then I saw that GPIO output of the microcontroller are configurables in open drain. So would this circuit work?

enter image description here

The LED has a 20mA forward current and 2V forward voltage so if R=(3.3-2)/0.02 it should be on if GPIO is HIghZ and off if it is GND no?

Lumens to Incandescent Bulb Wattage

Lumens to watts table

Lumens Light bulb
watts
Fluorecent
 / LED
watts
375 lm 25 W 6.23 W
600 lm 40 W 10 W
900 lm 60 W 15 W
1125 lm 75 W 18.75 W
1500 lm 100 W 25 W
2250 lm 150 W 37.5 W
3000 lm 200 W 50 W

 

Subscribe to RSS - LED