Hello,
I wanted some ideas to see if there's a better way to accomplish this. Let's say I have 3 digit 7-segment LED display and I wanted to have it either count up or down from a predetermined number.
I had some ideas on how to do this but I'm thinking maybe there's a better way. I was thinking I'd need a PIC with at least 12 I/O pins and I'd set them to output. Then I'd need three BCD (binary coded decimal) to 7-segment decoder / drivers, something like the IC7447, one for each digit.
The PIC would send out BCD on the I/O pins.
Is there a better way? Something that doesn't require so many I/O pins? I was thinking maybe one of those LCD dispalys instead of an LED display. What do you guys think?
In the PIC, I'd have a value set, 100, for example. And then I'd probably have some variable that says either count up or count down. The PIC would then read the variable and then either count up from 0 to whatever value was set or count down from whatever value was set to 0. It'd just loop and either increment or decrement every second. If we're counting up, when the far right display reaches 9, after a second, that display will show 0 and then the middle will show 1.
I just basically want to make a counter that can display numbers between 0 and 999 (or maybe FFF).
Thanks.
I wanted some ideas to see if there's a better way to accomplish this. Let's say I have 3 digit 7-segment LED display and I wanted to have it either count up or down from a predetermined number.
I had some ideas on how to do this but I'm thinking maybe there's a better way. I was thinking I'd need a PIC with at least 12 I/O pins and I'd set them to output. Then I'd need three BCD (binary coded decimal) to 7-segment decoder / drivers, something like the IC7447, one for each digit.
The PIC would send out BCD on the I/O pins.
Is there a better way? Something that doesn't require so many I/O pins? I was thinking maybe one of those LCD dispalys instead of an LED display. What do you guys think?
In the PIC, I'd have a value set, 100, for example. And then I'd probably have some variable that says either count up or count down. The PIC would then read the variable and then either count up from 0 to whatever value was set or count down from whatever value was set to 0. It'd just loop and either increment or decrement every second. If we're counting up, when the far right display reaches 9, after a second, that display will show 0 and then the middle will show 1.
I just basically want to make a counter that can display numbers between 0 and 999 (or maybe FFF).
Thanks.
Comment