Hey, great group! Just wondering if anybody could help me with planning/executing an idea.

Hey, great group!

Just wondering if anybody could help me with planning/executing an idea. I’m currently finishing my workshop/man cave and have run ~20m of WS2812B 30 LED/M strips round the top as uplighting. Running from a Mega with power injected at various points it works flawlessly but I’m hoping to move on a step.

I’d like to add two more strips, one as under shelf downlighting and one as under desk downlighting but I have some questions regarding control. During normal operation I’d like to have the uplighting doing mellow fades and chasing patterns with both the downlighting strips staying on a warm white as a task light. However, at times I’d also like the downlighting strips to follow what the uplighting is doing and I’d like to build a small control panel that had the following operations:

One button to cycle the pattern of the lights for when I’d like to change from fill/blends/chasing etc.

A few potentiometers for hue and brightness and one main one for speed. Having looked at some code examples I can see that this is fairly simple so I don’t think I’ll have any problems with this part. The thing I’m having problems getting my head around is making the “modes” switchable so to speak so they can all do their own thing individually with fills but also display the same when following a pattern.

The way I’m thinking of doing the hardware side of things is to have three rows, each with a button to be used for cycling the modes and the potentiometers enabling each strip to be dimmed and either be following a pattern or a solid fill via the switch, and if it’s a solid fill the hue can be changed. Does anybody have a code example showing something like this (As in, individual strips being controlled via switch), however basic? Not expecting to be spoon fed, I’ve searched for ages and couldn’t find anything and it’ll likely all click in my head having seen something vaguely along the lines of what I need.

Any help or suggestions greatly appreciated! :slight_smile:

Due to the complexity of it, I am not convinced you would find an identical code that you can use. However, I think, like you say, the coding should not be too hard.
Just a thought, if you have an Android phone, then apps are really easy to make on there, and you could control by phone via bluetooth(easier)/wifi(more difficult). Apple is a bit more difficult.