Wiring
The following components are required for an output shift register or LED driver:
- The output shift register or LED driver chip.
- LEDs.
- Assorted resistors.
- 0.1µF capacitors.
Pay close attention to the orientation of the LEDs: the anode (long leg) should be connected to the chip and the cathode (short leg) should be connected to GND. This is the opposite of how LEDs are connected to LED driver chips. The 200Ω resistors are required on every output pin with an LED attached.
Tip
Using a DM13A or other similar LED driver chip is a better choice than using the 74HC595 for driving LEDs.
Tip
Connecting pin 13, OE , to a PWM pin on a board enables brightness control of the LEDs as a group from MobiFlight.
Tip
To daisy-chain 74HC595 chips, connect the QH' pin (9) from one chip to the SER pin (14) of the next chip. All other control signals, including SRCLK (11) and RCLK (12), must be shared across all chained shift registers.