Nov 4, 2019 #1 M 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.
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.
Nov 4, 2019 #2 betwixt Super Moderator Staff member Joined Jul 4, 2009 Messages 16,236 Helped 5,140 Reputation 10,309 Reaction score 5,122 Trophy points 1,393 Location Aberdyfi, West Wales, UK Activity points 137,407 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.
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.
Nov 4, 2019 #3 M marcogmaia Newbie level 5 Joined Apr 15, 2019 Messages 8 Helped 1 Reputation 2 Reaction score 1 Trophy points 3 Activity points 67 Thank you for your response, I was worried with that, gonna need to change some things in my design
Nov 4, 2019 #4 KlausST Advanced Member level 7 Joined Apr 17, 2014 Messages 25,155 Helped 4,868 Reputation 9,757 Reaction score 5,535 Trophy points 1,393 Activity points 168,328 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
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
Nov 4, 2019 #5 M marcogmaia Newbie level 5 Joined Apr 15, 2019 Messages 8 Helped 1 Reputation 2 Reaction score 1 Trophy points 3 Activity points 67 Yeah, saw that, that was a quick sketch and forgot to "annotate", also added the resistor on the drain, thank you.
Yeah, saw that, that was a quick sketch and forgot to "annotate", also added the resistor on the drain, thank you.