COM-13705

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.
Current Set Resistors
Closing the Current Setting Jumpers
As you can see from the image above, the solder jumper doesn’t need to
be closed particularly neatly. All of the pads in its vicinity are connected to it
anyway, so if you glob a little extra solder on, it’s no big deal. Just be
careful not to actually short the resistors, as in the rightmost circuit!
Dimming with a Microcontroller
As mentioned earlier, the PicoBuck’s three channels can be individually
dimmed by either varying the input voltage of the channel from 0-2.5V or
using a PWM signal. The PWM signal from an Arduino board is perfectly
suited for this.
Connecting one LED per channel
Here’s a diagram showing how to connect the PicoBuck to an Arduino.
Note: Despite using an external supply for the PicoBuck, the grounds
of the two boards must be connected! If the power supply is 12V or
less, the Arduino can be powered from it as well, but do not attempt to
power the PicoBuck from the Arduino!
Also note that each channel must be independently connected to the + and
- connections of the LED it is to drive! Do not connect the + or -
connections of any two channels together.
More than one LED per channe
l
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 can be connected per channel; they should be connected in
series, as shown above, and the power supply voltage must be at least
1-2V higher that the sum of the forward voltages of the LEDs.
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.
It’s perfectly acceptable to mix colors either between channels or on one
channel, so long as all of the LEDs can handle the current (330mA or
660mA, depending on the jumper setting). Just make sure that the power
supply voltage is high enough to handle the sum voltages of the highest
voltage string. There is also no requirement that the three strings of LEDs
have the same forward voltage of LEDs across them; you could have one
white LED on channel 1, two red LEDs on channel 2, and four green LEDs
on channel 3.
Code example
Code for controlling this device is trivial; simply use the analogWrite()
function to adjust the brightness via PWM.
PicoBuck_Example (https://codebender.cc/sketch:180514?
referrer=sparkfun) by sparkfun (https://codebender.cc/user/sparkfun?
referrer=sparkfun)
È Clone & Edit
(/?
referrer=sparkfun)
3 Download
(https://codebend
e
referrer=sparkfun)
[ Edit
Arduino Pro or Pro Mi
/*
*
* PicoBuck Breakout Example
* Mike Hord @ SparkFun Electronics
* Nov 5 2015
*
* A simple example showing how to control a PicoBuck with
*
* License: http://opensource.org/licenses/MIT
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF A
N
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. I
N
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, D
A
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OT
H
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* THE SOFTWARE.
*/
const int CHL_1 = 3;
const int CHL_2 = 5;
const int CHL_3 = 6;
void setup()
{
pinMode(CHL_1, OUTPUT);
pinMode(CHL_2, OUTPUT);
pinMode(CHL_3, OUTPUT);
}
void loop()
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Resources and Going Further
Thanks for reading. Below are all the documents and links you’ll need to
learn even more about the PicoBuck.
PicoBuck Schematic
PicoBuck GitHub Repository
AL8805W5 Datasheet
Protofusion Page
3
/
11
/
201
6
htt
p
s://learn.s
p
arkfun.com/tutorials/
p
icobuc
k
-hooku
p
-
g
uid
e
-v12?
_g
a=1.262363724.1939
4
...

COM-13705

Mfr. #:
Manufacturer:
SparkFun
Description:
LED Lighting Development Tools PicoBuck LED Driver
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet