Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use SparkFun PicoBuck LED Driver: Examples, Pinouts, and Specs

Image of SparkFun PicoBuck LED DriverDesign with SparkFun PicoBuck LED Driver in Cirkit Designer

Introduction

The SparkFun PicoBuck LED Driver is an exceptionally versatile board designed to drive high-power LEDs with ease. It is capable of controlling up to three separate channels of LEDs and is suitable for a variety of lighting projects, from DIY home decor to industrial applications. The PicoBuck is popular for its simplicity and efficiency, accepting a wide range of input voltages and providing built-in PWM control for adjustable brightness.

Explore Projects Built with SparkFun PicoBuck LED Driver

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Raspberry Pi Pico Controlled Alternating LED Indicator: A project utilizing SparkFun PicoBuck LED Driver in a practical application
Raspberry Pi Pico Controlled Alternating LED Indicator

This circuit features a Raspberry Pi Pico microcontroller used to control two LEDs (one red, one green) through GPIO pins 16 and 17. The LEDs are each connected in series with a 220-ohm resistor to limit current, and the Pico is powered via a USB power connection. The embedded code alternates the LEDs on and off every second, and there are connections to a DIP switch, which suggests potential user input to modify the behavior, although the switch is not utilized in the provided code.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

Pin Number Name Description
1 VIN Input voltage (6V to 20V)
2 GND Ground connection
3 EN Enable pin (active high)
4 PWM PWM brightness control input
5-7 OUT1-OUT3 LED output channels

Usage Instructions

How to Use the Component in a Circuit

  1. Connecting Power: Connect a power supply to the VIN and GND pins, ensuring that the voltage is within the specified range (6V to 20V).
  2. Attaching LEDs: Connect your high-power LEDs to the OUT1, OUT2, and OUT3 channels, with the anode to the output pin and the cathode to the common ground.
  3. Enabling the Driver: Apply a high signal to the EN pin to enable the driver. A low signal will turn off all outputs.
  4. Controlling Brightness: Connect a PWM signal to the PWM pin to adjust the brightness of the LEDs. The frequency can be up to 20kHz.

Important Considerations and Best Practices

Example Code for Arduino UNO

// Define the PWM pin connected to the PicoBuck
const int pwmPin = 9; // Must be a PWM-capable pin

void setup() {
  // Set the PWM pin as an output
  pinMode(pwmPin, OUTPUT);
}

void loop() {
  // Increase brightness gradually
  for (int dutyCycle = 0; dutyCycle <= 255; dutyCycle++) {
    analogWrite(pwmPin, dutyCycle);
    delay(10);
  }
  // Decrease brightness gradually
  for (int dutyCycle = 255; dutyCycle >= 0; dutyCycle--) {
    analogWrite(pwmPin, dutyCycle);
    delay(10);
  }
}

Troubleshooting and FAQs

Common Issues Users Might Face

Solutions and Tips for Troubleshooting

FAQs

Q: Can I drive LEDs that require more than 350mA? A: No, the PicoBuck is designed to drive LEDs up to 350mA per channel. Exceeding this limit may damage the board or the LEDs.

Q: Is it possible to chain multiple PicoBuck boards together? A: Yes, you can chain multiple boards for additional channels, but ensure that each board has its own power connection and that the PWM signals are synchronized.

Q: How do I adjust the current limit for each channel? A: The current limit is set by onboard resistors. To adjust the current, you would need to change these resistors to the appropriate values based on the desired current limit.

Q: Can I use the PicoBuck without a PWM signal? A: Yes, if you do not require dimming, you can tie the PWM pin to VIN for constant full brightness.