What's a good way to power a smallish portable project?

What’s a good way to power a smallish portable project? My wife has a clear “bubble” umbrella, and I’ve been wanting to add LEDs to it. There are 8 struts, each about 2ft long. So with 30/m strips, I should get 20 LEDs per strut, for a total of 160 lights.

Obviously, I’m going to avoid trying to light them all simultaneously at full brightness (9.6A). I have a bunch of 18650 LiPos (3.7V, 3000 mAh). I figure I’d probably need to put some in series @ 7.4V, then use a regulator back down to 5V. Any suggestion for one that will get a decent current output?

I’ll probably use a Teensy (3.2?) to drive things. Should I use an OctoWS2812, too, or could I get away with skipping that? Also, could a Teensy LC drive 8 outputs, or would it be too limited for this?

@dougal : You might want to check out the following projects from Adafruit:

and

These should help you with your project.

If you’re careful of how many pixels you light up at a time something like this could also work.

@Ken_White Hmmm, I hadn’t considered daisy-chaining the strips. I’m still not sure if I want to deal with the extra wiring, but I’ll keep it in mind, just in case. Thanks for the links! :slight_smile:

@marmil I do have some buck/boost boards that will do 1A (maybe even a little more?). I just wasn’t sure if I might need something a little beefier.

@dougal you certainly don’t need a OCTOWS2811 to make this work, the Teensy 3.2 will work fine. You might want to use a resistor for each data line. You can see how they do this in the OCTOWS2811library documentation.
As for a decent high amp buck converter, this one is kind of big but can go as high as 12A:

These are more standard and can go up to 3A: http://www.ebay.com/itm/5pcs-Re-DC-DC-3A-Buck-Converter-Adjustable-Step-Down-Power-Supply-Module-LM2596S-/221991448900?hash=item33afb8b144:g:d5YAAOSwX~dWktJo

These are standard and can go to 5A: http://www.ebay.com/itm/Car-Voltage-Regulator-12v-24-DC-Buck-Step-Down-Converter-4-38V-to-1-25-36V-DC-5A-/291651315015?hash=item43e7c5e547:g:1OMAAOSwT~9Wh4AM

All of the ratings are max, but you can do a lot with these buck converters.

Also, question for the group, does brightness scale linearly within FastLED? For example: brightness(255) is not 2x as bright as brightness(127). But does brightness(255) require 2x the power of brightness(127)?

@dougal you got 2 choices: a 5V powerbank - select carefully, usually their output range is 1… 3A
If you want Battery packs check out the new LiFePo4. They are 3.3V, cannot explode and have up to 15Ah.
Some also fit into standard AA battery holders, some have screw terminals.

For Step-down Pololu has a great board:

I’m unsure as to why we all make this stuff so complicated. I just powered 4x 16x16 led matrices (yes 1024 leds) from one single large usb battery pack that has a 5.5a rated output and 13.5ah capacity.

Trick is to a) limit the current draw in software using the power management functions, and b) draw from multiple outputs on your battery pack. My pack has 3 outputs each rated for 2.5amp. I set my max power draw to 4amps, powered the teensy from one output, and then put two panels each on the other outputs. That’s 512 leds per usb port drawing 2amps each. Works perfectly, nice and simple no additional regulators required and easy to recharge from any usb charger.

Have I overlooked something? Will this blow up in my face one day?

@Ben_Delarre please have respect from Li-Po and Li-Io. They can be dangerous if mistreated at charging and discharging.Once a mistake occurs it starts a mostly slow but irreversible chemical process: formation of dendrites.https://en.wikipedia.org/wiki/Dendrite_(crystal)
Those crystals will poke through the insulation membranes and create local shortcuts, what triggers in the end a “thermal event”. This can happen days or weeks later. They burn at a typical temperature of 1700C and issue nasty chemicals like boric acid https://en.wikipedia.org/wiki/Boric_acid
Same happens when those batteries are mechanically mistreated.
If you know what you are doing nothing will blow up. Best practices (Li-Io): Never overcharge, stay strictly below 4.2 V (at 4.215V the process starts); never discharge more than specified, Min Voltage of 2.7V is safe, at 2.4V you have to throw the battery away. Use a special Li-Io Charger with balancer. Then you can keep each cell on the same voltage. If you have different voltages in your pack you will unintendedly over- charge and discharge one or more cells in your pack.
Good news: the new LiFePo4 cells do not have any of the above mentioned issues.

@Juergen_Bruegl Thanks for the info on the LiFePO4 cells. I vaguely knew that they had some “better” properties, but I hadn’t really looked into the differences before. There are some really compact, high-capacity versions out there with reasonable prices!

Of course, wouldn’t you know that I just recently bought a new charger, but it doesn’t do LiFePO4 (it handles Li-Ion/IMR and Ni-Cd/Ni-MH). But I’m definitely going to consider investing in some LiFePo4 (AKA “IFR”) cells and charger.

@Ben_Delarre Yes, for now, I’m probably going to go the route of just using a USB power bank or a couple of 18650 LiPo cells, with a buck down to 3V3 for the MCU. And using software to limit the current, as you mentioned.

@dougal how about a LiFePo4 charger for less than 2$ ??
Here a great tutorial: https://www.youtube.com/watch?v=DicVZfW5YL0
Here the charger: http://www.ebay.com/itm/LM2596-DC-DC-Step-down-Adjustable-CC-CV-Power-Supply-Module-Converter-LED-driver-/191673918658?hash=item2ca0a7e4c2:g:4H4AAOSwMmBVo4rQ

@dougal if you’re using a Teensy 3.2 you can just drive that direct from the USB power no need for any regulators then at all.

@Juergen_Bruegl , I’ve been looking into LiFePo4 batteries for most of the evening now and had some questions from your experience. I typically use 5V powerbanks, but, like anyone wanting the best of all possible worlds for wearables, I’d like to reduce weight, increase capacity, all while not catch on fire, etc.

Your post above talks both about the 3.3V nominal voltage, high Ah, but then the board you reference is a step-down. What is the downside to having say four LiFePo4 18650s with a 5A discharge rating in parallel using a boost converter like this to power the leds?

I couldn’t get the link to add, but this: https://www.pololu.com/product/2565

@Chris_Creel it is all about efficiency and depends mainly on how many LEDs you want to drive. On the 3.3V side a Teensy needs about 30mA, an ESP8266 up to 200mA. If you step-up this voltage to 5V you get around 90% at 1000mA and less than 80% at 2000mA

Let’s assume you want to drive 50LEDs at average 50% you need 1500mA.
15% losses in the step-up account for 225mA; so you got a total powerdraw (with an ESP) of around 2000mA

If you take 4 LiFePo4 in with 700mAh in parallel you got 2800mAh capacity at 3.2V
https://www.amazon.com/Techhmonster-Rechargeable-LiFePO4-connectors-Soshine/dp/B01KJV6GAW/ref=sr_1_3?ie=UTF8&qid=1473398904&sr=8-3&keywords=soshine+14500%2Faa+lifepo4+3%2C2+V+700mAh

With this setting your wearable will last around 1.5 hours.

If you use 2 batteries in series and have 2 of these in parallel you will get 6.4V and 1400mAh.
10% losses in a step down converter
https://www.seeedstudio.com/adjustable-dcdc-power-converter-125v-35v3a-p-1534.html
will add to a total consumption of 150+200+1500 = 1850mA
Then your wearable will last around 45 minutes.

Btw, the Step-Down I’m referencing is the CHARGER. It has 3 pots, one to set the max current allowed for the batteries. 700mAh batteries should be charged with max. 700mA

@Juergen_Bruegl , thanks so much for the good info.