Hello. I am of need of a little assistance in trying to set up an LED array. Basically, I need to set up an array of LED's (4x5 array) in which I can control which 1 LED is lit up. I plan to use 20 red LED's (generic type, rated at about 2 Vf) run at about 20mA and two rotary switches to control the output.
For example, say if I wanted to light up the LED in the top left corner, we'll call it A1, then I would turn both of my switches to the corresponding row A, and column 1, or vice versa, and only that led would light up.
But I can't figure out what sort of power source to use, or what type of resistors (if any) I might need. Or how to wire it to my power source for the correct flow of current, since I'm using two switches.
Again, this is not an array I intend to hook up to microcontrollers, etc. in order to make dazzling patterns with programming. I only intend to light up one(1) LED at a time, in a coordinate system-like fashion. You could think of it almost like Battleship.
Any help would be much appreciated, and feel free to ask for any clarifications.
For example, say if I wanted to light up the LED in the top left corner, we'll call it A1, then I would turn both of my switches to the corresponding row A, and column 1, or vice versa, and only that led would light up.
But I can't figure out what sort of power source to use, or what type of resistors (if any) I might need. Or how to wire it to my power source for the correct flow of current, since I'm using two switches.
Again, this is not an array I intend to hook up to microcontrollers, etc. in order to make dazzling patterns with programming. I only intend to light up one(1) LED at a time, in a coordinate system-like fashion. You could think of it almost like Battleship.
Any help would be much appreciated, and feel free to ask for any clarifications.