??? 05/19/10 15:21 Read: times |
#176027 - Shift registers Responding to: ???'s previous message |
With only a single LED lit, it isn't important that it has an absolutely perfectly controlled intensity. The total power dissipation will also be low.
The simplest way is probably to use 5 8-bit shift registers. Send out the data and latch it. Or make it even simpler - just send out 40 bits without use of output-enable or latch. The processor is fast enough that no one will be able to see the glow when the data is shifted to the correct position. Since only one LED is expected to be lit, you can connect one side of all diodes to a single resistor. If the shift registers have an OE signal - or if you have a common NPN transistor to GND - you can use PWM to adjust the intensity of the LED. Your processor don't need to constantly refresh anything - the shift registers keeps the requires state as long as you don't play with their input signals. |
Topic | Author | Date |
Multiple LEDs... | 01/01/70 00:00 | |
Shift registers | 01/01/70 00:00 | |
Thanks Per... | 01/01/70 00:00 | |
8-wide high side diver and 8-wide low side driver ... | 01/01/70 00:00 | |
Thanks Erik... | 01/01/70 00:00 | |
Charlieplexing | 01/01/70 00:00 | |
56 LEDs from one 8-bit port! | 01/01/70 00:00 | |
Thanks Andy... | 01/01/70 00:00 | |
no extra components... | 01/01/70 00:00 | |
Hard to find errors | 01/01/70 00:00 | |
Hard to find errors | 01/01/70 00:00 | |
True Per. | 01/01/70 00:00 |