My shelf video is actually from the very start of the project. I added loads of features since then if you check out the github repo.
thanks @Jamin - so this code used on the cube would look like the video of the cube in the project correct ?
another question how is he powering those leds in the cube I only see one mini usb cable going to the cube ???
Well the great thing with Blynk is that you could customise the interface how you like.
The QR Code on the github repo is will bring up all the options which you can rearrange.
Help me out here @Jamin as I am very new to addressable LEDs and want to get right into it - so are you saying the cube has different software to your shelf code as @dananmo pointed me to your shelf code as if that was being used directly in the cube ???
The 5V pin on the D1 mini is connected directly to the USB 5V, as is ground. So he is just passing it through.
Its not how I would do it because of current loads on as tiny traces. I would hide the ESP away in the center and run a DC jack to the edge which you could then split to power each part in parallel.
Its all Blynk, running the same code. Its just the interface you refer to is re-arrange able…
Looks like @dananmo has changed it according to his preferrence
ok so the code is the same and will produce the same effects as the cube shows in the video? Do you just mean the blynk user interface is different ?
Yes correct. However again, you can add you own patterns easily as it uses the FastLED library which is well documented.
great thanks for that - so am I correct in assuming 30 led strip per m takes approx 1 Amp - therefore 33ma per led, so in the cube 24 leds @33ma = 792 ma and if so is he just getting that through the usb lead from a usb type wall charger ?
Sorry for all the questions!!!
Just a heads up, if I recall correctly, the currentdraw has to do with color display, if all RGB are fully lit it was somewhere 60 mA per LED for WS2812 type atleast.
This is more than any ESP device GPIO can handle (12mA max) so in short yes the power is comming straight from the charger and ESP gpio is used to program led for color and intensity.
You can get large current “wall chargers” aka ac-dc power supplies… I personally get the 5v 3amp version so you can run longer strips.
You can also limit the LED current via code.
Correct. So if you have 50 leds at 3x60mA each (remember, it’s RGB!), that results in 9A! So be very careful when using power supplies.
For my TV setup (I made my own AmbiLight) I used a 20A power supply. That way I can easily address 250 leds (could be a bit less I guess, but I like to be safe, it’s Chinese 20A )
I think its 20mA per color no?
So actually 10A
My experience is < 5A
Not sure, I read 60 somewhere, but you could be right, lol.
Still, it would be 3A, which is still quite shocking if handled without care
yeah its 60ma per RGB LED for ws2812
so he is drawing 1.5 amps through the micro usb port on that esp - surprised it handles that. So assume he is taking that power direct to the leds by breaking out off the board somewhere ?
There should be no reason to break out anywhere I think its connected to the 5v pin directly, since its the same as 5V from the usb connector, before the regulator and other circuitry.
Nope cant see any connection on 5v
Seems to be power through the GPIOS
so really is is only 3 amps ?
ie 50 leds at 60ma each = 3000ma
Yeah, that sounds about right then.
There is no way that can be handled by the ESP for a long time I think, unless you set the brightness all the way down I think.
But, if you measure it, you know it. So put an Amp meter in between and measure it. That will give you some idea of the power usage.