Project Help - LED control and timers

Hello Guys,

I am very new to this forum and i came here because I don't know where to find help for this. I want to create a following system and not sure how to do it.

The system has 126 separate multicolor LED's. There is only one button that will be pressed and turn on each LED for specific length of time (3 days). When the button is pressed, the controller should randomly pick 1 of the 126 LED and turn it on for 3 days. When the button is pressed again, it should again pick another (not yet on) LED and start separate 3 day timer for it. This should continue until all LED are lit. Once the 3 days are reached for specific LED, the LED should again become available to be turned on for 3 days.

In addition to that, There should be another button that would control the main color of all LED's. The person should be able to set the main color on LED's that are currently on and the ones that are not yet running without changing the current timer value for the LED's that are already on.

I am pretty handy with low voltage electronics, but i never played with Arduino not i have programing experience. I also don't know what component to use to achieve what i described above.

If any one you can help me, please let me know and we can talk on the phone if needed. I am from Chicagoland area.

Thank you

The most obvious solution is to use WS2812 addressable LEDs; you can buy ready-made strings or strips with them, and they're also available in other physical arrangements. You can connect them all together with the same data line that connects to a single pin on your Arduino. Use a separate power supply for the LEDs. The WS2812's run on 5V (give or take; 5V is the common choice).

In terms of programming, what you describe is easy-peasy to do with millis() for timing and some simple button reads. Good beginner project.

I will be happy to pay for this project if you would like to help out. I can give you more information if you like to talk in the phone.

Do you want this topic moved to the Jobs and Paid Consultancy category of the forum ?

1 Like

Let’s keep it here for now if that’s ok

Ok. Please move it to the other category and provide the link

Thank you

It has been moved

As you will have discovered, you can use the same URL to access it

OK, I see. I'm currently not in the market for phone consults, sorry. Moving the thread to its present location is useful though; maybe someone else can step in.

What's the budget?

Not sure really. I would be doing most of the hands-on work, but do need help with picking the correct components wiring instructions and programming. Outside of the component cost, I was hoping that that the consulting would be $300-$500.

So, is the 3-day period a lockout against any other LED turning on, or could I stand there pushing the button until, randomly, all LEDs turned on and then turned off roughly 3 days later?

Also, how accurate should the 3 day time be? Accuracy within minutes, seconds, or fractions of a second?

There should be no lockout for any LED's that are still off. You should be able to keep pressing the button until all LED's turn on. The should be turning off in the same order they were turned on after 3 days. Accuracy can be minutes (even up to 15 min). The 3 day times should be counting down separately for each LED.

How would you change color with one button? You have 256256256 choices of color.

Sorry...forgot to add that i only need to set the main color to red, green, purple, and white.

The button should change all LED's to the main color. Each button press should change the color and light the LED's to that color for 5 sec for visual confirmation.

Hence the three day on time. Gives you enough time to cycle through them all.

Seriously though you could make larger steps than one count at a time.

You got a PM :slight_smile:

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