USB power and power supply

Hi, I have some issues with my project.
I have to control a web page with Arduino UNO (I have three buttons and two light sensors connected) and it also has to control a strip of addressable LEDs (neopixel WS2812B). Since the Arduino has to communicate with the server, it is connected via USB power but the USB power it is not enough for the sensors and the LEDs, so I have bought an external 5V power supply for them.
But the Arduino seems to not being able to control the sensors and the buttons: only the LEDs are working.
In fact, if I open the serial monitor and press the buttons nothing happens.
I follow this circuit: https://www.eerkmans.nl/powering-lots-of-leds-from-arduino/ “Powering more than 8 pixels while connected to USB”

How can I fix it?
Thank you!

virtual-cantaloupe55:
How can I fix it?

By connecting it the right way. And I have no idea how it's connected now because:
A) You link to a page with multiple connection diagrams.
B) That only shows a led strip connected so I still down know how that part that does not work is connected.

A diagram showing how YOU have connected EVERYTHING, not just the LEDs, is what is needed. A photo of a pen and paper diagram would be fine.

It would also make sense to post your code because the problems may be there, depending on exactly what "seems to not being able to control the sensors and the buttons" means.

Steve

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.