It has been over a decade since I've done anything circuit related, and I found out the hard way that I have forgotten basically everything.
I am trying to make a buttonpanel acting as an input interface for PC using an arduino. I want to have 32 different momentary inputs in a 4x8 matrix.
My issue is lighting the switches. To make it as hard for myself as possible, I decided on RGB LEDs for customisation possibilities. This require me to use the Arduino Mega, because too many inputs. I do know that the Mega isn't directly compatible as a PC User Interface, but thumbs up for "wants" over "managability".
What would I need to do to make a momentary switch (I'm using both toggle switches and push buttons, SPST) send a momentary input to the pc/arduino, and at the same time activating an RGB-LED and keeping it on until the switch is pressed again?
My first thoughts on solving this:
- Add a relay for each switch/LED.
- Do some coding on the arduino to activate a location on a LED matrix.
(Can RGB LEDs be set up in a matrix without sacrificing individual colors and activation?)
- Start crying and move on to a different project.
Any help is greatly appriciated!
I am trying to make a buttonpanel acting as an input interface for PC using an arduino. I want to have 32 different momentary inputs in a 4x8 matrix.
My issue is lighting the switches. To make it as hard for myself as possible, I decided on RGB LEDs for customisation possibilities. This require me to use the Arduino Mega, because too many inputs. I do know that the Mega isn't directly compatible as a PC User Interface, but thumbs up for "wants" over "managability".
What would I need to do to make a momentary switch (I'm using both toggle switches and push buttons, SPST) send a momentary input to the pc/arduino, and at the same time activating an RGB-LED and keeping it on until the switch is pressed again?
My first thoughts on solving this:
- Add a relay for each switch/LED.
- Do some coding on the arduino to activate a location on a LED matrix.
(Can RGB LEDs be set up in a matrix without sacrificing individual colors and activation?)
- Start crying and move on to a different project.
Any help is greatly appriciated!