Connecting Digital Tubes with Arduino Development Boards
Introduction to Digital Tubes
The pins related to data of 74HC595 can be divided into three categories:
DS: Serial data input, connected to a certain digital I/O pin of the microcontroller.
Q0~Q7: 8-bit parallel data output, can directly control 8 LEDs or the 8 pins of a seven-segment digital tube.
Q7′: Cascade output terminal, connected to the DS of the next 74HC595 to achieve cascading between multiple chips.
There are four pins related to control of 74HC595:
SH_CP: