Check out how Ryan Brown tests his power draw for his Halloween costume to make sure he has the battery life required:
As I mentioned in the LED Ring construction post, I wanted to make sure 4 AA batteries would power my 25 RGB LEDs through a good 3+ hours of trick-or-treating. The Adafruit doc provides a good battery life estimate, but I figured I might as well measure it.
Fortunately, I had a myDAQ handy, and hooked it up to measure battery current and voltage (above). (Note: the power consumed by the 1N4001 diode is not measured with this setup.)
I then wrote a quick LabVIEW VI to measure & log the battery voltage and current every second. This way I could see the voltage and current drop as the batteries discharged….
Featured Adafruit Products!
RGB Pixels are digitally-controllable lights you can set to any color, or animate. Each RGB LED and controller chip is molded into a ‘dot’ of silicone. The dots are waterproof and rugged. There are four flanges molded in so that you can ‘push’ them into a 12mm drill hole in any material up to 1.5mm/0.06″ thick. They’re typically used to make outdoor signs. We also have flat-backed pixels that are essentially the same, but are not as long and thin.
The pixels are connected by a 4-conductor cable. +5V (Red), Ground (Blue), Data (Yellow) and Clock (Green). Data is shifted down from one pixel to the next so that you can easily cut the strand or attach more onto the end.
Each dot is digitally controlled, with an internal 8-bit PWM LED driver (24-bit color for 16 million different shades). The pixels must be clocked by a microcontroller, we have an example code linked below that works on an Arduino, it should be simple to adapt it to any other microcontroller.
The pixels use 8mm diffused RGB LEDs, with a 120 degree beam width. The total max brightness of all LEDs is about 1600mcd but with the light more evenly distributed & mixed than a clear LED. (Please note: mcd ratings of LEDs are notoriously inflated by most LED sellers, so be extra-skeptical when reviewing LED ratings!)
Sold by the strand, each strand has 25 pixels in series! Each strand has two JST SM 4-pin connectors so you can connect multiple strands in a row, as many as you wish, just watch for how much current they want. We now have LED pixel strands with the power wires (red & blue) spliced out so its really easy to connect 5VDC in using a 2.1mm jack terminal adapter. We have a 5V/2A supply that should be able to drive 2 or more strands and a 5V/10A supply that can drive up to 160 LEDs all lit up at once
You can drive these with an Arduino using any two microcontroller digital pins, check this library which also has example code to demonstrate the strands and be sure to read our very detailed tutorial on usage!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Blackbox “a new shipping company from the creators of Cards Against Humanity” @coolboxes
Wearables — Tape it down
Electronics — Spit in your eye
Biohacking — Biofabrication: The New Revolution in Material Design
No comments yet.
Sorry, the comment form is closed at this time.