Power supply for microcontroller and ws2812b LED

Hi, I am creating my own PCB which will use microcontroller to control LEDs. The whole system will have 500 LED ws2812b shining at about 15% of the power (and not all at once) powered by a Power Bank. The 5V voltage goes to the LEDs, and the 3.3V voltage regulator goes to the microcontroller. The question is, do I need an additional current divider for the attached diagram or something else that will properly divide the 3A coming from the battery? Will the electricity distribute itself properly as needed? I would like to make the most of the current to illuminate the LEDs.

The attached diagram includes only 2 x ws2812b LEDs for simplicity, USB 3.1 plug and AMS1117 voltage regulator. Any comments on the simplification of the scheme are welcome :slight_smile:

You won’t need any sort of current divider at all, the current will just go where it’s needed automatically. :slight_smile:

TS-Chris:
You won’t need any sort of current divider at all, the current will just go where it’s needed automatically. :slight_smile:

Thanks, I wasn’t sure :slight_smile:

One more question. All LEDs will be connected to 5V power supply but DIN from microcontroller will have only 3.3V. Should I use step-up level shifter for DIN to match 5V?

Most LEDs will probably be fine with the 3.3 volt data but if you have trouble, you could always use a logic level converter like [BOB-12009 to change that 3.3 volt data to 5 volts.](https://www.sparkfun.com/products/12009)

Thank you TS-Chris :slight_smile:

While it will be a custom PCB I will probably use 74AHCT125. Maybe there is any simpler/better IC for this purpose?

That will probably work just fine, another possibility is the 74HC4050 if you happen to have any of those laying around. :slight_smile: