I need to drive a LED from a 3.3v GPIO pin (arduino).
I want to use the BC857BS (double) transistor for this purpose because I accidentally have many of them, coming from a wrong order.
The transistor will be powered from a 5V source. The LED's datasheet shows it needs 1.25v and 20ma current.
I calculated R8 to be 188 Ohm so I chose 200 Ohm as closest match.
I did some calculations for R9 too, and came at 26K. But I'm not sure how to correctly calculate it.
R26 will be connected to the GPIO pin (3.3v, not 5v!).
Please have a look at the attached schematic.
Thanks for your time!
I want to use the BC857BS (double) transistor for this purpose because I accidentally have many of them, coming from a wrong order.
The transistor will be powered from a 5V source. The LED's datasheet shows it needs 1.25v and 20ma current.
I calculated R8 to be 188 Ohm so I chose 200 Ohm as closest match.
I did some calculations for R9 too, and came at 26K. But I'm not sure how to correctly calculate it.
R26 will be connected to the GPIO pin (3.3v, not 5v!).
Please have a look at the attached schematic.
Thanks for your time!
Attachments
-
189.9 KB Views: 18
Last edited by a moderator: