The new high efficiency LEDs can run even with a 2.2K resistor in series. 4.4K is only a little over a mil of draw @ 5 VDC,with both LEDs off. I guess it depends on the brightness you need out of them.Nice,simple circuit Mel.
The new high efficiency LEDs can run even with a 2.2K resistor in series. 4.4K is only a little over a mil of draw @ 5 VDC,with both LEDs off. I guess it depends on the brightness you need out of them.Nice,simple circuit Mel.
Even if it's simple and it should work, can you try something and post the results of what i think, set the PIC i/o to High, Yeah it work... how about the brightness when you remove R1...it should be brighter right? Result should be the same when you set the i/o to low and remove R2?
But i agree, it's working.
I really want to see that one dayOriginally Posted by modifyit
Now if your led is a Bi-Color one... use a spare PWM channel to produce the Third color...
Last edited by mister_e; - 6th June 2006 at 04:40.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Don't see how things would work if you remove the Resistors... they are there to provide a Potential Difference mid-way between VDD and VSS to which the LEDs are connected (as well as current limiting). If you remove R1 for example then D1 will NEVER turn on. If you short out R1, yes D1 will be very bright, but D2 will never turn on.
The only thing i wanted to say, even if it doesn't worth to because it's going to work, is that the current will be splitted between a led AND a resisotr both in 'parrallel'. This just reduce the 'usual' led Brightness produced by a single resistor and LED in serie. Well, it's working, no complaint about that. I already used that method too in one of my project in the past. Using a better efficiency LED, as previously mentionned will solve it if you really need it BRIGHT without stressing too much the PIC i/o.
Everything is fine to me and of course to our friend who asked a simple solution. You can Set one or the other LED, and have the possibility to set both too. Hey what do you want more with a 4 components solution and only 1 PIC I/O?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks