kculm wrote:I thought he meant I had to set the pins High.
analogWrite( GREEN, 255 - greenVal );
Zener wrote:It's called series/parallel, and mstone is right as usual.
email@example.com wrote: For parallel circuits, the rule is "one LED, one resistor".
modeller wrote:The fact is that it's possible to wire up LEDs in parallel, and whether or not you approve of it, it's done -
Zener wrote:modeller wrote:The fact is that it's possible to wire up LEDs in parallel, and whether or not you approve of it, it's done -
A million wrong things can be done. We are just saying it is wrong from an engineering point of view. The Vf's can vary so current will not be shared in that case. Read any application note from any LED manufacturer, that covers LED arrays and they all will tell you the same thing. In my job I have to provide correct solutions that work and will not fail. That design would never pass any design review.
When you put the LEDs side by side (both cathodes connected to GND), you want a resistor per LED.
Am I correct in assuming that would be the same for common Anode ?
adafruit_support wrote:If you can't afford the resistors and are 'feeling lucky', you might get away with it. But it is not good practice. Each led should have its own resistor to limit the current.
Users browsing this forum: No registered users and 8 guests