FemtoBuck Constant Current LED Driver Hookup Guide V12

Pages
Contributors: SFUptownMaker
Favorited Favorite 1

Introduction

Note: This tutorial is for the latest version of the FemtoBuck, V12. If you have an older version of the FemtoBuck, please consult this guide.

The FemtoBuck is a small-size, single-output constant current LED driver. By default, the FemtoBuck is driven at 330mA. That current can be reduced by either presenting an analog voltage or a PWM signal to the board. It can be increased to 660mA by closing a solder jumper on the board, as described later in this tutorial.

Product image

Suggested Reading

Here are some topics you should know before using the FemtoBuck. Have a look if you need more information.

Voltage, Current, Resistance, and Ohm's Law

Learn about Ohm's Law, one of the most fundamental equations in all electrical engineering.

Pulse Width Modulation

An introduction to the concept of Pulse Width Modulation.

Resistors

A tutorial on all things resistors. What is a resistor, how do they behave in parallel/series, decoding the resistor color codes, and resistor applications.

Light-Emitting Diodes (LEDs)

Learn the basics about LEDs as well as some more advanced topics to help you calculate requirements for projects containing many LEDs.

Electric Power

An overview of electric power, the rate of energy transfer. We'll talk definition of power, watts, equations, and power ratings. 1.21 gigawatts of tutorial fun!

FemtoBuck Overview

Connecting the FemtoBuck

For the version 1.2 of the FemtoBuck, we’ve increased the voltage ratings on the parts to allow the input voltage to cover the full 36V range of the AL8805. Note that the supply voltage must be at least 6.0V, and should be at least 2-3V higher than the forward voltage of the LED(s) to be driven. You can use the board to drive any high power LED like the ones listed below. Keep in mind that you would need 3x FemtoBucks to control each channel on the triple output high power RGB LED.

Triple Output High Power RGB LED

Triple Output High Power RGB LED

COM-08718
$14.95
3
LED - 3W Aluminum PCB (5 Pack, Warm White)

LED - 3W Aluminum PCB (5 Pack, Warm White)

COM-13104
$7.95
7
LED - 3W Aluminum PCB (5 Pack, Cool White)

LED - 3W Aluminum PCB (5 Pack, Cool White)

COM-13105
$7.95
3
LED - 3W Aluminum PCB (5 Pack, Red)

LED - 3W Aluminum PCB (5 Pack, Red)

COM-13106
$7.95
3
LED - 3W Aluminum PCB (5 Pack, Blue)

LED - 3W Aluminum PCB (5 Pack, Blue)

COM-13107
$7.95
LED - 3W Aluminum PCB (5 Pack, Green)

LED - 3W Aluminum PCB (5 Pack, Green)

COM-13185
$7.95

Since the FemtoBuck is a constant current driver, the current drawn from the supply will drop as supply voltage rises. In general, efficiency of the FemtoBuck is around 95%, depending on the input voltage.

Labeled picture

One signal input is provided for dimming control. A ground pin (DGND) is provided to reference against the controlling module for accuracy. Dimming can be done by an analog voltage (20%-100% of max current by varying voltage from .5V-2.5V) or by PWM (so long as PWM minimum voltage is less than .4V and maximum voltage is more than 2.4V) for a full 0-100% range.

Another ground (PGND) pin is available next to the power supply pin to provide a high-current return path. The spacing on the four holes on the input side is 0.1" for standard headers.

Break Away Headers - Straight

Break Away Headers - Straight

PRT-00116
$1.50
20
Break Away Headers - Long

Break Away Headers - Long

PRT-10158
$2.95
3
Screw Terminals 2.54mm Pitch (2-Pin)

Screw Terminals 2.54mm Pitch (2-Pin)

PRT-10571
$0.75
2

The output side has a 0.1" spaced hole pair as well as a 3.5mm spaced hole pair, to allow the user to attach our 3.5mm screw terminals.

Screw Terminals 3.5mm Pitch (2-Pin)

Screw Terminals 3.5mm Pitch (2-Pin)

PRT-08084
$0.95

The notches on either end of the board allow you to use a zip tie to secure the wires to the board after soldering them down.

Closing the solder jumper

The most recent revision has a small solder jumper, highlighted above, that can be closed with a glob of solder to double the output current from 330mA to 660mA. We suggest closing this jumper before soldering headers, terminals, or wires to the nearby holes. Note that it’s very likely that you’ll get some solder on the adjacent resistor pads. That’s perfectly okay. Those pads will be shorted together when you’re done anyway.

Finally, take note of the size of the FemtoBuck. If desired, the entire board can be slid into a piece of 9mm heat shrink tubing to provide insulation and strain relief.

Heat Shrink Kit

Heat Shrink Kit

PRT-09353
$7.95
4

Connecting to an Arduino or Compatible Board

If you have only one or two LEDs, you can connect the FemtoBuck directly to the VIN pin on your Arduino. You will need to power the board from an external supply, as the 5V provided by USB isn’t high enough to power the FemtoBuck (the FemtoBuck won’t turn on below 6V).

Connected to Arduino Uno

If you want more than one FemtoBuck, or if you’ve closed the solder jumper to increase the drive current, you’ll need to add an external power supply. It’s not good to try to run too much current through the traces on the Arduino. Note that the LEDs are wired separately to each FemtoBuck! This is very important; the output of each FemtoBuck must be completely isolated from any other! That means that RGB LEDs with “common” pins (common anode or common cathode) cannot be used with the FemtoBuck!

Multiple FemtoBucks or high current mode

Multiple LEDs can be connected in series, as shown, and the supply voltage should be at least 2-3V higher than the sum of the forward voltages of the LEDs.

Multiple LEDs in series

For instance, our blue 3W LEDs have a forward voltage of 3.2V to 3.8V. To be on the safe side, use the highest voltage in the range. If you want to connect four of them, you’d need a power supply of ~17V or greater (3.8V + 3.8V + 3.8V + 3.8V = 15.2V; add 2V of “head room”).

Since 17V is greater than the Arduino can tolerate on its input, we have to provide an external supply for the Arduino as well. This can be the standard 5V USB supply.

Further Increasing Current Drive Strength

If even 660mA isn’t enough current for you, it is possible to increase the maximum current of the FemtoBuck board up to 1A per channel. To do so, replace the current sense resistors with smaller values. To calculate the new value for the resistor, use this formula:

ILED = 0.1 / Rset


Thus, for a 1A current, you’d want a 0.1Ω resistor. Don’t forget to be wary of current ratings; at 1A, the sense resistor will be dissipating 1/10W, so you probably want a resistor of at least 1/8W rating. The package is a standard 0805.

Resources and Going Further

Consider checking out these other tutorials for more information about concepts in this guide:

  • Light - Covers some useful concepts, such as why doubling the current doesn’t appear to double the brightness.
  • Diodes - Diodes are a slightly more complex beast than resistors. Our diodes tutorial will help you understand why we need a special device to power them.
  • Pico Buck Hookup Guide - Need to control more LEDs? The PicoBuck is just like the FemtoBuck except it has three channels, each capable of providing 350mA. Perfect for controlling high powered RGB LEDS that require control of each color individually.

Need some inspiration for your next project? Check out the PWM Lighting Controller example used with the touch potentiometer:

PWM Lighting Controller

PWM Lighting Controller in the Touch Potentiometer Hookup Guide

Or maybe try using the FemtoBuck to do some LED home lighting.