Here's something I am working on and could use some help with.
Project description: Turn 8 Luxeon Star LEDs on/off via microcontroller, provide light controlled brightness adjust.
Achieved: Programmed microcontroller which provides 8 logic outputs (one for each luxeon star) as well as pulse width modulated output, whose duty cycle varies depending on the input from an optical sensor(CDS photocell read in through on-chip analog to digital converter then DAC byte is output to on-chip PWM function).
Problem. I am using a total of 9 transistors in this circuit. I have one large transistor to which the PWM signal is fed, this provides the 'dimming' of the circuit. from there the circuit connects to each luxeon star, who's cathod is connected to a resistor, which is connected to another transistor, which is connected to ground! (Did you follow that?)
+<---[ PWM xsister]---[LED1]---[Resistor]---[on/off xsistor]-------GND
|--[LED2]---[Resistor]---[on/off xsistor]-------GND
|--[LED3]---[Resistor]---[on/off xsistor]-------GND
|-----Etc...
The problem here is that the current through the luxeon star LEDs is supposed to be 350mA with a forward voltage of 2.8 volts. I am using a 5 volt supply, with a current limiting resistor of 7.4 ohms (closest I could get to the 6.3 I needed, at the moment) With the transistors out of the picture for a moment the LED draws 330ma. The problem is with the LEDs in the circuit. The PWM brightness control and the on/off transistors work. However, the most power I can get to go through the LEDs is a mere 80ma.. completely unacceptable and dim.. Even if I bypass the current limiting resistors the LEDs are dim. If I bypass the on/off xsistors they get MUCH brighter and use about 300ma worth of current.
If you have any realistic ideas as to why this is not working properly, or a better design suggestion please let me know. Thanks
Project description: Turn 8 Luxeon Star LEDs on/off via microcontroller, provide light controlled brightness adjust.
Achieved: Programmed microcontroller which provides 8 logic outputs (one for each luxeon star) as well as pulse width modulated output, whose duty cycle varies depending on the input from an optical sensor(CDS photocell read in through on-chip analog to digital converter then DAC byte is output to on-chip PWM function).
Problem. I am using a total of 9 transistors in this circuit. I have one large transistor to which the PWM signal is fed, this provides the 'dimming' of the circuit. from there the circuit connects to each luxeon star, who's cathod is connected to a resistor, which is connected to another transistor, which is connected to ground! (Did you follow that?)
+<---[ PWM xsister]---[LED1]---[Resistor]---[on/off xsistor]-------GND
|--[LED2]---[Resistor]---[on/off xsistor]-------GND
|--[LED3]---[Resistor]---[on/off xsistor]-------GND
|-----Etc...
The problem here is that the current through the luxeon star LEDs is supposed to be 350mA with a forward voltage of 2.8 volts. I am using a 5 volt supply, with a current limiting resistor of 7.4 ohms (closest I could get to the 6.3 I needed, at the moment) With the transistors out of the picture for a moment the LED draws 330ma. The problem is with the LEDs in the circuit. The PWM brightness control and the on/off transistors work. However, the most power I can get to go through the LEDs is a mere 80ma.. completely unacceptable and dim.. Even if I bypass the current limiting resistors the LEDs are dim. If I bypass the on/off xsistors they get MUCH brighter and use about 300ma worth of current.
If you have any realistic ideas as to why this is not working properly, or a better design suggestion please let me know. Thanks