BS2 flash high power Luxeon LED's
Jeff R
Posts: 9
Hello, I have a project with the Basic Stamp 2 that flashes 2 or 3 Luxeon 3 LED's.
A single 3.7v Li Ion battery will power the Luxeons and also the Basic Stamp (voltage boosted to 5v or this).
There are LED drivers available that buck or boost current to the LED, but I wanted to use less hardware and still have as much allowable current available.
Or, a 1 ohm, 2.4 watt resistor could be used.
I will use small MosFETs as the transistors connected to the output of the micro.
3.7v Li Ion battery (approx 2200mAh)
5v microcontroller (5v boosted from 3.7v)
Two or three flashing Luxeon 3's (2.95v Vf, 1540mA max.) approximately 25ms each (powered by the 3.7v Li Ion battery)
Thank you for any input, Jeff
This is modified from the example "PULSOUT.bs2" (Thank you)
Post Edited (Jeff R) : 10/23/2009 2:43:12 AM GMT
A single 3.7v Li Ion battery will power the Luxeons and also the Basic Stamp (voltage boosted to 5v or this).
There are LED drivers available that buck or boost current to the LED, but I wanted to use less hardware and still have as much allowable current available.
Or, a 1 ohm, 2.4 watt resistor could be used.
- Is there an alternative to using a buck or boost converter for the LED's?
I will use small MosFETs as the transistors connected to the output of the micro.
3.7v Li Ion battery (approx 2200mAh)
5v microcontroller (5v boosted from 3.7v)
Two or three flashing Luxeon 3's (2.95v Vf, 1540mA max.) approximately 25ms each (powered by the 3.7v Li Ion battery)
Thank you for any input, Jeff
This is modified from the example "PULSOUT.bs2" (Thank you)
Scale CON 500 ' to ms for 2 us per unit Flash CON 25 * Scale ' 25 milliseconds Setup: LOW 0 ' make P0 low (LED off) LOW 1 ' make P1 low (LED off) Main: GOSUB LED_1 ' go to the LED 1 routine, then return to next task below GOSUB LED_2 ' go to the LED 2 routine, then return to next task below GOSUB LED_1 ' go to the LED 1 routine, then return to next task below GOSUB LED_2 ' go to the LED 2 routine, then return to next task below GOSUB LED_2 ' go to the LED 2 routine, then return to next task below GOSUB LED_2 ' go to the LED 2 routine, then return to next task below LED_1: PULSOUT 0, Flash ' flash LED 1 PAUSE 30 ' delay PULSOUT 0, Flash ' flash LED 1 PAUSE 100 ' delay RETURN LED_2: PULSOUT 1, Flash ' flash LED 2 PAUSE 30 ' delay PULSOUT 1, Flash ' flash LED 2 PAUSE 100 ' delay RETURN
Post Edited (Jeff R) : 10/23/2009 2:43:12 AM GMT
Comments
Yes, the voltage range of the battery will be from about 4.2 max down to about 2.5 volts.
Jeff