high side PWM switching, to control LEDs separately

Status
Not open for further replies.

marcogmaia

Newbie level 5
Joined
Apr 15, 2019
Messages
8
Helped
1
Reputation
2
Reaction score
1
Trophy points
3
Activity points
67
I'm having a hard time figuring if this is the correct way of doing this, I want to control N number of leds enable by a microcontroller.
 

It should work but it might be easier to do it the other way around, drive all the low side transistors with the PWM but gate their drive signal with the individual enable signals.

Brian.
 
Thank you for your response, I was worried with that, gonna need to change some things in my design
 

Hi,

In the schematic there is a mistake.

"Q? drain" must not be connected to 12V.

And giving the parts a unique name could be useful. ;-)
Especially when you try to discuss a circuit in public.

Klays
 
Yeah, saw that, that was a quick sketch and forgot to "annotate", also added the resistor on the drain, thank you.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…