I have tried over and over again but nothing works. What I want to do is make a constant current source for my bi-color LEDs. The problem that I'm having is that the LEDs are all common anode, the only help google has given is a common cathode current source.
Can someone please help me with my rather anoying problem?
I use an opamp to drive a Mosfet via a current sense resistor, the current is set via 10 turn POT. You can find the circuit here on the forums it's been posted in at least two threads including a full spice schematic.
The combination you apparently didn't try was to convert the NPNs to PNPs. You can then add an NPN to control it with a ground referenced signal which gives a constant-current source that can drive grounded cathode LEDs. See figure.
The combination you apparently didn't try was to convert the NPNs to PNPs. You can then add an NPN to control it with a ground referenced signal which gives a constant-current source that can drive grounded cathode LEDs. See figure.
I did try to convert the NPN to PNP transistors, I now know that the mistake that I made was that I hadn't tried to use 3 transistors (like you used) I just tried to get it to work with only 2.
I was doing my best to avoid making the exact same circuit for every single cathode of the LED, that's why I was looking for the common anode CC source.
Sceadwain, was your circuit an oscilator? That's the only possible way that I can think of where something like that would work.
This is the schematic that I am working on right now, I think that the mistake that I made is that I didn't remover R5 from the circuit. I don't know if that's the problem or not, I'll try removing it the first chance I get.
When I was simulating a "dying" battery, it was just a 3904 held in a simple Pot voltage divider. (emitter follower circuit)
I was doing my best to avoid making the exact same circuit for every single cathode of the LED, that's why I was looking for the common anode CC source.
Crutshow, the circuit that you posted seems to work the best, which is weird because I had already tried that same configuration of LEDs but with no luck.
The LEDs seem to start loosing their brightness around 3V, but since the battery is cutt off at 6V then there is nothing to worry about.