The FemtoBuck LED Driver is a compact, high-efficiency, constant current LED driver designed to provide a stable current source for powering LEDs. It is ideal for applications requiring consistent LED brightness without fluctuations that can occur with varying voltage sources. Common applications include architectural lighting, task lighting, and DIY LED projects.
Pin Number | Name | Description |
---|---|---|
1 | VIN | Input voltage (6V to 36V DC) |
2 | GND | Ground connection |
3 | VOUT | LED output voltage (connected to LED anode) |
4 | CTRL | Dimming control input (0V to 2.5V for analog or PWM signal) |
5 | RSET | Sets output current (default 330mA, adjustable via external resistor) |
Q: Can I drive multiple LEDs with one FemtoBuck LED Driver? A: Yes, as long as the total current does not exceed 330mA and the LEDs are connected in series.
Q: What is the maximum number of FemtoBuck LED Drivers I can chain together? A: There is no specific limit to the number of drivers you can chain, but power supply capacity and wiring considerations must be taken into account.
Q: How do I adjust the output current? A: The output current can be adjusted by changing the value of the RSET resistor. Please refer to the datasheet for the appropriate resistor value calculations.
// Define the PWM pin connected to the CTRL pin of the FemtoBuck
const int pwmPin = 9; // For example, using pin 9 on the Arduino UNO
void setup() {
// Set the PWM pin as an output
pinMode(pwmPin, OUTPUT);
}
void loop() {
// Increase brightness
for (int dutyCycle = 0; dutyCycle <= 255; dutyCycle++) {
analogWrite(pwmPin, dutyCycle);
delay(10); // Wait for 10 milliseconds
}
// Decrease brightness
for (int dutyCycle = 255; dutyCycle >= 0; dutyCycle--) {
analogWrite(pwmPin, dutyCycle);
delay(10); // Wait for 10 milliseconds
}
}
Note: The above code provides a simple example of how to control the brightness of an LED using the FemtoBuck LED Driver with an Arduino UNO. The analogWrite
function is used to send a PWM signal to the CTRL pin of the FemtoBuck, varying the duty cycle from 0 (off) to 255 (fully on).