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.
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.
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.
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.
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?
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.
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.
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.
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 ?
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 got it, thankyou.
But this guy @jim-p is actually getting me confused now
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.