Greetings fellow Arduino-heads.
I'm new to Arduino but have been coding for decades. My major shortcoming is knowing near nothing about electronics and circuitry. I'm really enjoying the learning process but, at present, my aspirations seem to outpace my ability.
I'm prototyping a system that will illuminate each step of the staircase I'm building in our tiny house project. I want it to be controlled by two simple buttons that can be mashed as people ascend/descend the stairs; hence, one button would live at the top of the staircase and one at the bottom. I've already coded and tested that and it's working great .... AT CLOSE proximity to the breadboard/Arduino Uno that I'm using.
Here's the Git repo for the project if you're interested.
The problem comes when I'm running the buttons and LEDs from a distance. I've not yet hooked up all the strips since the first one went nutso when I hooked it up. I attached a 100uF capacitor across the positive and negative near the strip and that seemed to stabilize it ..... when the long button circuit is disconnected. I can substitute a testing button circuit on a breadboard just next to the Aduino and this works fine. When I pull this out and plug in the long actual button circuit, the LED strip goes unstable again.
It's got me a bit frustrated at the moment so any help would be greatly appreciated.
The first LED strip starts at about 1.5 metres from the arduino and power source (20 AWG for + and ground, 22 AWG for data line).
The first button is about 2.5 metres from the Arduino. (22 AWG)
The second button is about 8 metres from the Arduino. (22 AWG)
Each step would have a single WS2812b strip of 72 Individually programmable LEDs. There are 7 steps in the staircase so 7 x 72 = 504 LEDs in total.
I've got got 5V @10amps driving the circuit as you can see in the drawings below. (I know that more amperage would be ideal but we never plan to run this on full brightness. It's meant to be a bit dim/subtle and I've coded it to not go over 50% brightness.)
I've gone to a bit of trouble to make a schmatic and Fritzing breadboard to clearly communicate my currently dysfunctional idea.
(Better quality images: schematic | breadboard).
And here's an example of what the end result would look like. I used one strip at a close distance for this image.