radiogareth
Senior Member
I have been wondering if a Picaxe could replace something like a PT4115 LED driver chip by essentially doing the same thing. http://www.micro-bridge.com/data/CRpowtech/PT4115E.pdf shows the chip in question which I have found in a lot of '12 volt' LED drivers. They work really well too, apart from needing a 3 volt overhead.
I'd like to drive a single Red, Green and Blue 3 watt LED using similar principles but off 5 volts. Page 5 of the data sheet explains circuit operation which I think could be achieved in software with the A/D (possibly 10 bit needed). The PIC would need to be clocked a lot faster, but the flexibility could be a lot greater. Target processor 14M2. Yes I could just use suitable series resistors, but that would be wasteful of power. I'd guess that ramping up a PWM might achieve a similar effect, but would probably be too slow unless you arrange the software to ramp up the Mark:Space ratio until the target average voltage is achieved across the current sensing resistor which would need a smoothed average.
Any thoughts.......
TIA
I'd like to drive a single Red, Green and Blue 3 watt LED using similar principles but off 5 volts. Page 5 of the data sheet explains circuit operation which I think could be achieved in software with the A/D (possibly 10 bit needed). The PIC would need to be clocked a lot faster, but the flexibility could be a lot greater. Target processor 14M2. Yes I could just use suitable series resistors, but that would be wasteful of power. I'd guess that ramping up a PWM might achieve a similar effect, but would probably be too slow unless you arrange the software to ramp up the Mark:Space ratio until the target average voltage is achieved across the current sensing resistor which would need a smoothed average.
Any thoughts.......
TIA