I'm using an Arduino Nano, trying out both the ESP32 and ATMEGA328 variations.
Powering 4 separate led strips, with 51 LEDs on each, from a 5v 70W power brick.
All LED strips are controlled on 4 separate pins.
Each strip has 51 LEDs on, which are all apparently rated at 0.3 watts.
Using the FastLED library, when I set the brightness to 255 and set the colour to white, I'm seeing a total current of just 3 amps coming through the positive line from the power brick, with the multimeter sat in the middle of the input voltage.
There's 204 LEDs in total, so surely that should be roughly 204 * 0.3 = 61 watts.
Or 61 watts / 5 volts = 12 amps.
If I also (accidentally) unplug the power brick and leave them powered purely by USB, surely I should be smoking at this point?
Maybe my multimeter is faulty, I put it on the 10A setting and read just under 3.0.
Any ideas what I'm missing? I something being throttled without me knowing?
Your calculations look correct for all LEDs full-brightness white. It's typically 20mA per-color per-LED (60mA at full-brightness white). I don't have an explanation...
Because there is a lot of total crap on the internet and this applies mostly to tutorials, especially with accompanying videos. A lot of them make the assumption that if it functions that shows the circuit is good. You can't make that assumption in electronics, without proper testing.
However, vendors often have it right. In this case both Adafruit and SparkFun have a very good reputation for getting things correct.
Or maybe you have an oscilloscope and can do the measurements yourself? The nature of the current is that it is pulsed, even on full white. So many meters don't work well measuring that sort of thing.
The lack of resistors and capacitors will cause problems under many circumstances.
Here are my oscilloscope measurements about adding a resistor:-
Very puzzling, especially considering the experience of the forum members involved.
I have a thought that has a slim chance of being helpful. I see the code blinks the LEDs at 1 second intervals. Could leaving the LEDs completely on instead while troubleshooting be worth considering? My meter is a bit slow on the measurements.
You are correct on the usual use cases of the pins. However, the available voltage (5V) is not high enough for the Vin pin and already 5V so bypassing the voltage regulator with 5V will work in this case.
I can understand that for the data signal, but my concern is firstly for the current draw keeping all LEDs lit at full brightness, ie, no data processing, that's what didn't make sense - hence checking for any rookie mistakes I might be making.
The code sample was doing a simple long pulse but the total draw when on was still only 3A, even when left for 10 seconds, or constantly on.
I was illustrating that the no resistor approach can cause problems. I would like you to rectify your no capacitor mistake, and have at least one large one at the start of the strip, and another at the end. This may or may not make your meter behave correctly. But remember you need to measure the voltage at each end of the strip as well as the current. But you don't have to do this at the same time.
An RGBW strip could be about 20mA per LED with only the white on. But I don't think your code would be working at all.
Or with a 12V strip, groups of 3 LEDs would be in series, cutting the current draw to 1/3rd. But they probably wouldn't light-up at all with 5V or they would be super-dim, and even less current.