Electronic – arduino – How to reduce the number of pins for three 7 led segment

arduinoledpins

In my project I need to use

7x tact switches

6x LEDs

3x 7 led segments

1 arduino uno board

my prof says we can use any ICs
but arduino uno's pins cannot accomodate all those needed values.
I need to manipulate all the tact switches and the 6 LEDs so the only thing that can be reduced is the issue with 7 led segment.

Can you suggest a way that I can reduce the number of pins needed to be used in arduino uno?

Best Answer

For 7 switches , MM74HC164M SHIFT REG 8BIT PISO 14-SOIC
For 6 LEDs and 2 LED digits , (3) SIPO's MM74HCT164MX SHIFT REG 8BIT 14SOIC
For (3) LED digits choose LEDs with BCD to 7seg decoder integrated.
The clk & data lines are shared but a chip selector is needed,.