Using power supply for both arduino and ws2812b led strip

Hello,

I actually want to power my Ws2812b led strip which is 5m long and having 60 leds per m which would take 18a If running all leds on white light at its full brightness ig (let me know if not) with Arduino Uno r3.

As I've serched over i would need a 5v 20a power supply to power my led (let me know if it's correct too) and can i connect Arduino with the same power supply used for the led? If yes then please tell me the proper connections for it because when i searched for the connections I was really confused with the GND one. They told two connections for the same ground reference it is refered as 1. And 2.

  1. They were saying connect the power supply's GND to Arduino's GND and then connect Arduino's GND to leds negative wire like wth?!! And as they said the power supply's GND i really didn't understand which terminal they were talking about of the supply, like the GND terminal or the negative terminal of the power supply.

  2. It was also said connect the GND wire of both arduino and strip to the same port so that it gets same ground reference.

Also do i need to connect any resistors or capacitors to it? If so, then which one?

And the last thing which wires should i use to power both of them (arduino and the led strip)
through the power supply? Because as I'm giving arduino power by external power supply which is 5v then I would've to power it through its pins and as far as I know it is safe to connect jumper wires to Arduino's pins but can jumper wires hold the 5v 20a current? If not then which wire should i use so that it can connect to the power supply without burning and also goes into Arduino's pins.

Please let me know the answers ASAP
Thankyou

That is basically telling you to do the same thing. Sometimes power supplies have their outputs labeled as + and -, and sometimes they are labeled as +5V and ground.

Do not confuse the term ground with the mains safety ground. They are two different things.

Use a 330R resistor in series with the data line and have at least a 1000uF capacitor between power and ground of your strip, at both ends of the strip. It is best to supply power, and a capacitor at least ever meter along the strip.

No.
The Arduino pins are not carrying 20A.

2 Likes

Nor will any breadboard carry 20A ...

1 Like

But does that mean i can't power both Arduino and the strip from the same power supply?

So in that case I've to use different source to power Arduino, to get same ground reference I'll do the following steps:

  1. Give power to strip by connecting (+) and (-) wires to the 5v 20a power supply.

  2. Give power to Arduino by connecting (+) and (-) wires to Arduino's pins or just use it's barrel jack and connect to the other power source.

  3. Connect negative wire of the strip to the GND port of Arduino.

From these steps I'll get same ground reference, will this cause any issues?

Thankyou for your fast reply.

No, why do you think that?

Current will only flow where it is needed as dictated by the impedance of the load.
Do not put 5V into the barrel jack, it need a minimum of 7V for that jack to work correctly.
If you do (2) then that includes what you are doing in (3) is it not?

1 Like

From the UNO product webpage:

5V.This pin outputs a regulated 5V from the regulator on the board. The board can be supplied with power either from the DC power jack (7 - 12V), the USB connector (5V), or the VIN pin of the board (7-12V). Supplying voltage via the 5V or 3.3V pins bypasses the regulator, and can damage your board. We don't advise it.

1 Like

Sorry, I'm new to this and just gathering info so that i don't burn the board.

Thanks for it I'll remember that.

I was just saying if i use different power source for both arduino and the strip then I can't get same ground reference but thanks to the info you gave because its really confusing.

Thanks for the information. But if you're saying the VIN pin needs 7-12v then does that mean i can't use same power supply as it's output is 5v.

You can supply the 5V through the USB connector.

Why not? There is no difference here. If you have an external power supply providing you with 5V, then connecting that to ground and the +5V pin, is the same as also connecting the the external power supplier's negative pin to the Arduino ground. What is there to be confused about except:-

Let's be clear here. This is your point of view. It is a minority point of view on the forum. I, and many others, regularly connect an input to the 5V pin and continue to use the USB port for uploading code.

So while you might not advise it I would argue with the "we" part of your statement.

Others have mentioned this to you before but you keep on pushing this point, especially to a beginner who is, at the moment, confused about things he should not be confused by.

2 Likes

But you then can not supply the LED strip from the 5V output of the Arduino, because that path goes through the input fuse.

1 Like

No it is not.
Take some time and read the product page for the official arduino UNO

You can supply your UNO with 5V from your 5V 20A supply through the USB connector and use the same 5V supply for your LED strip
Do NOT connect your LED strip power to the UNO.

Well, it's no problem for me to hack a USB cable, but for many that's a considerable undertaking - a bridge too far. They all want a shield, something with three header pins from PLA, Inc. What's your recommendation to work that out, @jim-p ?

1 Like

Yes I know it is in the official documents. But remember that the official documents do not have a very good reputation and in this case they are simply wrong.

It seems to be that you have a bee in your botnet about is one. In fact after your statement this time I got a PM from someone saying you are getting to be a bit of a pain about this.

I didn't say if they were wrong or right or inbetween.
I'm just pointing what the official documentation says.

I got it, thankyou.
But this guy @jim-p is actually getting me confused now :sob:

Hey, I don't think it'll be good to give power to Arduino through its usb port by an external power supply because its usb port is meant to transfer the code and not to power the board ig. I know while connecting to usb port gives power but it shouldn't be given power by directly by an external supply.

Sorry if I said something wrong.

@jim-p
I'm not having a go at you, but how should someone then

the implementation, details.
That's fair, yes?

easy peasy

I have nifty powerbanks (that don't have a minimum current requirement) that run projects very well that way.