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!