Hello folks,
I have questions to be answered to get my scenario working. Here's my design requirement :
I have a 4 x 4 matrix of RGB leds with an identical 4 x 4 matrix of buttons beneath them; one RGB led per one button. So mechanically speaking, you actually press an RGB led to press the physical button beneath it.
-
When a button is pressed, it sends a signal to the application to inform it of the button's state (It's been pressed, basically.) Based on a variety of scenarios, the application then sends an instruction back to the Arduino to that associated RGB led, which in turn either de-luminates, or illuminates it with a color, depending upon the application's instruction to it.
-
Each button operates independently. (Software application should control it's significance.)
-
Each RGB led operates independently. (Software application should control it's significance.)
-
One, or more than one button can be pressed at a time.
-
One, or more than one button (RGB led) can be illuminated at a time.
So my question is, what shift register combo's would you recommend for the RGB leds ? I'm currently using 74HC595's for the RGB leds, and I think I need six of them (for a total of 16x3=48) with 180ohm resistors. I'm using 74HC165's for the buttons.
Am I on the right track ?
Is there any firmware example I can springboard off of for this configuration ?
Looking forward to hearing from you, and to getting this working. ![]()
Thanks,
GDR