I need to know the general philosophy of whether it's better to use a smaller pin count MCU along with two extra 74HC595's to drive a 4x7seg LED, plus 7 other outputs; or else use a larger MCU just to get more output pins so that, for example, the 4x7 seg LED can be run directly using 11 output pins (7 for the segments + 4 to address each LED) and 7 more pins can be used for the other outputs.
It seems pretty standard procedure to use a shift register for 7 segment LEDs rather than using 7 output pins for that purpose, but my electronics professor says the most important thing is to reduce the number of chips on the PC board, so I should use a bigger MCU in order to eliminate the extra chips.
I'm using an Arduino UNO with a 28 pin ATMega328, but if I go to a 40 pin MCU I'll have to abandon the Arduino development board, software, etc. that I'm used to using. If it's really the best thing to do I'll do that (reluctantly) but is it really worth using a bigger MCU chip (costing a couple dollars more vs. the price of two cheap 74HC595s) to get all those extra pins? Plus, it seems kind of crude to hog up 11 output pins just to run a 4x7 LED...
NOTE: We plan to make hundreds of copies of the final product, so this is more than just a one-off circuit. ie. chip count vs. MCU size could be a significant issue when multiplied by hundreds.
- Doug Rogers
It seems pretty standard procedure to use a shift register for 7 segment LEDs rather than using 7 output pins for that purpose, but my electronics professor says the most important thing is to reduce the number of chips on the PC board, so I should use a bigger MCU in order to eliminate the extra chips.
I'm using an Arduino UNO with a 28 pin ATMega328, but if I go to a 40 pin MCU I'll have to abandon the Arduino development board, software, etc. that I'm used to using. If it's really the best thing to do I'll do that (reluctantly) but is it really worth using a bigger MCU chip (costing a couple dollars more vs. the price of two cheap 74HC595s) to get all those extra pins? Plus, it seems kind of crude to hog up 11 output pins just to run a 4x7 LED...
NOTE: We plan to make hundreds of copies of the final product, so this is more than just a one-off circuit. ie. chip count vs. MCU size could be a significant issue when multiplied by hundreds.
- Doug Rogers