A common way to expand the set of available output pins on the Arduino is to use shift registers like the 74HC595 IC (link to datasheet).
Ricardo
- 3.4k
- 2
- 26
- 55