Hello all I have a very specific project I am working on and while I have a working prototype I feel that there are things I can do to further optimize the design.
What it is
This is a simple feedback system for people to rate content they are watching live on a scale from -3-0-+3. The system consists of seven LEDs three red, followed by one blue and three green. These are controlled via a seven position rotary switch. I currently have this all plugged into gpio pins on an arduino mega and I would like to reduce the number of pins I am using. The reason I am using so many pins is I need to be able to light the leds sequentially i.e. three red, two red, one red, blue always on, one green, two green, three green. Meanwhile the Arduino program outputs the current selection over the serial port to a program that records this output.
What i want to do
Basically I want to reduce my pincount using Charlieplexing or some sort of led driver. I am currently using up 14 pins on the Arduino and I want to incorporate some other functions into this system. I am thinking charlieplexing is the answer but if there is a better solution I am open to suggestions!
Thanks in advance!