- Tue May 22, 2007 12:32 pm
#30357
For one of my projects I need to individually control up to 128 LEDs, perhaps even more. I'm still pretty new to this, so I'd appreciate someone looking over my rough design real quick to see if it'll work.
My design will work similar to Spark Fun's giant clock project. There are 8 lines which describe LED states, aka Control lines. Then there are 5 Driver lines.
The 5 driver lines connect to a 1:32 demux as select lines. The outputs on the demux connect to the Clock line on 32 different Octal D-flip flop chips. The Control lines go to all 32 Octal D-flip flop chips. Each flip flop is connected to a darlington array, which is connected to 8 LEDs.
So the PIC uses its driver lines to select a flip flop bank to control. It sets up the control lines for that bank, pulses the clock, and then goes to the next bank. This is repeated whenever an LED or more needs to change state.
Does that all sound like it should work? Again, I'm still new to this stuff so go easy on me.
Parts:
D-type flip-flop
Darl Transis. Array
1:8 demux
hex inverter
The demuxes will be connected together to form the 1:32 demux. inverter is needed because the outputs of the demux are complements.
Any help is greatly appreciated!
My design will work similar to Spark Fun's giant clock project. There are 8 lines which describe LED states, aka Control lines. Then there are 5 Driver lines.
The 5 driver lines connect to a 1:32 demux as select lines. The outputs on the demux connect to the Clock line on 32 different Octal D-flip flop chips. The Control lines go to all 32 Octal D-flip flop chips. Each flip flop is connected to a darlington array, which is connected to 8 LEDs.
So the PIC uses its driver lines to select a flip flop bank to control. It sets up the control lines for that bank, pulses the clock, and then goes to the next bank. This is repeated whenever an LED or more needs to change state.
Does that all sound like it should work? Again, I'm still new to this stuff so go easy on me.
Parts:
D-type flip-flop
Darl Transis. Array
1:8 demux
hex inverter
The demuxes will be connected together to form the 1:32 demux. inverter is needed because the outputs of the demux are complements.
Any help is greatly appreciated!