NeoPixel Christmas Ornament (was "Prop Mini power supply")
David Betz
Posts: 14,516
I just ordered a Prop Mini to use with my LED Christmas tree ornament project. I also have an AdaFruit RGB LED ring with 16 LEDs that I'm hoping to drive from the Prop Mini. I looked at the data sheet for the Prop Mini and it says that VIN is supposed to be "regulated 6.512 VDC @ 1A". Does this mean I can't just use a 9V wall wart? Why does the power need to be regulated if there are on-board regulators on the Prop Mini? Also, it looks like I may need to make sure the LEDs are not at full brightness because the Prop Mini 5V regulator says it can only provide 1A including whatever is consumed by the 3.3V regulator that powers the Prop itself. The data sheet says I should not draw more than 600ma from the 5V supply. Am I taking a risk here of overloading the 5V regulator?
Comments
-Phil
-Phil
Marty
*rant* and this is why I wish the full 2-3 line part number, logo, and date code was micro-printed on all surface mount packages. (not just the bigger ones) Having something like "L53B" on a little SOT-23 package is far less useful for than if they micro-printed "LM2940" "IMP-5.0" "NOPB" on the package. (how many parts are labeled with "L53B"?) */rant*
Marty
I would get a Radio Shack regulated PS. I like the:
http://www.radioshack.com/product/index.jsp?productId=3875403
1 amp and adjustable voltages. The regulated PS from RS have been very good for the past two years.
I have four such PS and have performed flawlessly.
Make sure to get the adapter for the Parallax products:
http://www.radioshack.com/product/index.jsp?productId=3807939
Jim
-Phil
From TI, only one. That's why many companies don't seem to think that a part marking search database on their website is important. TI, however, does have one, but it is hard to get to unless you know where it is at:
TI Home > Analog and Mixed Signal Home > Special Function Home > Design Resources > TI Packaging Info > Part Marking Lookup
. Google can only do so much for part markings. I run into this exact issue at work frequently when we are building prototypes with very little documentation or when programming our AOI machines. It becomes very difficult to confirm that the part you have matches the mile-long MPN that you purchased to.
For driving these led pixels/strips, I've been applying 5v to the propeller board (generally the prop proto board, but should work with mini too). You apply 5v to the Vin, and to the led strip directly (not via the 5v regulator). The 5v regulator will "drop out" and put out something like 4.3v, still enough for the 3v3 LDO regulator to work with, although I haven't tested up to 8 cogs simultaneously with this arrangement.
The advantage of this is there is an ever expanding range of USB (~5v) wall warts, battery packs. Here it is easy and cost effective to purchase switchmode wall warts up to 5v 4 amps. After that you can get "laptop style" power supplies up to 5v 10A (Adafruit), and beyond that you're looking at PC atx supplies. The key point is get a 'switchmode' power supply as the regulation is "more rigid" (maintains an even 5v under any load condition) than traditional plugpacks.
One thing about the WS2812B's ("neopixels") they don't tell you... the (WS2811) electronic driver inside each LED usually takes about 1mA at 5v. However that supply current "takes off" on an exponential rise if you supply them above 6 volts or so, and is really quite significant by 7 volts. It's consumed even when the led is "off" (ie set to 0,0,0 intensities). I don't think Adafruit should advertise them as operating off 4-7v, really.
That current must be distributed as heat and may be putting parts of the driver under stress it's not used to dissipating.
Edit: I like your idea of the rings to decorate the tree. It'll look great. Make sure you get some pics for us. Adafruit may be interested in them too
If you are going to get the most out of a regulator, you have to include adequate heat removal and the mini is small.. so the regulator is derated. It might also be the packaging in a surace mount device that requires the derating as well.
As far as the regulated power supply....
Nearly all the wall warts I can buy these days are regulated. It is my old ones that sit in my junk box that are unregulated.
Nonetheless, I have abandoned the use of 9V supplies in favor of 7.5V supplies. They just produce that much less heat on the Mini, so everything runs cooler and likely will last longer.
If I need additional 5 volts, I might have a second regulator board, aside from what is on the Mini provide that power to other devices. I often prefer 1.5 amp to 2.0 amp 7.5 wall warts for my jump from 120VAC... so there is extra power to use as demanded. I know this adds more wiring clutter, but building the tiniest of tiny tends to be a poor design approach. Work up your Power budget based on real requirements, ponder what is the best way to distribute power so that the device will last a long time, and build accordingly...even if it is larger.
Heater gets very annoyed at me just because I think the Raspberry Pi took the tiniest of tiny design approach as has a strangled power distribution. To get the USB keyboard and mouse to work right, you end up with even more clutter in an outboard supply. It should of had about 2 amps of available USB power from the start... that is why I strongly prefer an alternative.. everything plugs into one board with one power source. Of course it is twice as large, I don't have a nest of wires and adapters to make it right.... just one board that is tidy.
Parallax buys these regulators in reels. There is no reason to buy more inventory when a 500ma regulator and a 1 amp regulator are about the same price. But it is the thermal design context that decides the actual maximum.
In the old days, the 7805 would just melt the solder and slide off a BasicStamp when you demanded too much power for the heat budget. But the newer votage regulators just have a thermal shutdown to prevent that. Over 600ma, you may risk having mysterious shut downs.
Jim
But the truth is that i have to dig up my Mini, take a close look at the 5v regulator, download the pdf, and read in detail the information about its thermal properties in the same SMD and in the same installation context to be sure 1 amp will work.
So I am being conservative. I learned with the BS2 to not expect the 5VDC to provide outboard power to all and everything I wanted to attach. It just won't work out well.
Sorry but I feel you are being too optimistic. You really have to take the thermal situation into account, always.
I guess you see what is going on... I generally try to take a look at what is actually installed on the board and work from there to avoid typos and writers that are not 100%. But in this case, when I look on the Propeller Mini in my possession, I have a 326n-L5Jb and a 34EK-L69B. So it is really difficult to gain any assurance that I have LM2937 or LM2940 regulators.
You may be able to squeeze 1 amp out of the on-board 5 volt regulator, but it still depends on thermal conditions of both the SMD and the heat disapation, NOT the Absolute Maximum Rating of the part.
http://www.ti.com/lit/ds/symlink/lm2940-n.pdf
Pages 14, 15, and 16 of the lm2940-n.pdf explain a rather involved proceedure to figure this out. But I do standby the basic ideas - smaller components that are surface mounted with less than optimal heat sinks are NOT going to provide the part's Absolute Maximum Rating.
In addition, the higher the input voltage... the greater your heat problem might be. A 7.5 Volt power supply would still be a better choice than 9.0 V.
YMMV.
The datasheet's model is 1 sq in of 1 ounce copper for heatsinking.
The Mini, in all, might be 1 1/2 sq in. How much of that area fills the bill, let alone its thickness, I know not.
I see on the Mini's schematic that the 3V supply is sourced from the 5V, so demand from the 3V device (however negligible) has to be included in the 5V & IIN calcs.
http://www.ti.com/lit/ds/symlink/lm2940-n.pdf
http://parallax.com/sites/default/files/downloads/32150-Propeller-Mini-RevA-Schematic.pdf
Wall-packs are, typically: a transformer with a FWB (rectifier) and a smoothing cap.
-Phil
Can you post a direct link to the part marking lookup? I can't seem to find it via your progressive links or a few quick searches of TI's web-site. (grrr... why hide this info????)
Marty
http://focus.ti.com/general/docs/partmarking/partmarkinghome.jsp