Electronics > Beginners
Control LED from Teensy uC
andrew_c:
Hi all, I need to control a 24Vdc Tricolour-LED from a Teensy 3.2 uC (3.3V). Unfortunately I need to switch the high side as it has two anodes and a single cathode.
I would like to get away with as few components as possible (space is really tight) but I don't see any other way than a NPN controlling a PNP transistor (please forgive the lack of any missing resistors in the drawing).
Each of the LEDs is rated for 20mA. Is there any other way I can do this?
Thanks,
Andy
spec:
Hi andrew_c,
Would advise to change your circuit as per the attached image. :)
andrew_c:
Hey there, made a few changes immediately after I created the post. I really would love to magic something simpler out of thin-air though.
spec:
Yes, I noticed- had me a bit confused at first :)
Would a single chip be acceptable to drive the two LEDs. Is that what you are after?
Meantime, I have reduced the count to 3 components per LED as per the attached image.
For Q2 you need an NMOSFET with an input threshold of around 1V.
Some suitable NMOSFETS are:
BSN20BK
PMF370XN
EN2550
CSD17381F4
CSD17483F4
andrew_c:
A single chip would be excellent!! Please, what do you have?
P.S. Nice and simple schematic non the less.
Navigation
[0] Message Index
[#] Next page
Go to full version