Skip to content
A project ofgwark.dev

TI / Nexperia / many · Integrated circuit

74HC165 Shift Register (parallel in)

Eight inputs into three microcontroller pins. The mirror image of the 74HC595, and the part you want for a bank of buttons.

Cheat sheet (SVG)
Logic level
2-6 V (HC)
Package
PDIP-16 / SOIC-16

1.Pinout diagram

Highlight a signalhover to preview, click to keep

Pins 1-8

74HC165

Pins 9-16

Pin detail

Hover a pin for its mappings and gotchas. Click to keep it here.

Logic level
2-6 V (HC)
Package
PDIP-16 / SOIC-16

Fig. 1. 74HC165 Shift Register (parallel in), PDIP-16. Hover or tap a signal to light up every pin that carries it.

2.Watch out

3.Minimum circuit

What has to go around the chip before it will run.

VCCGND74HC165Wire link between CLK INH (15) and GNDWire linkWire link between SER (10) and GNDWire link100 nF between VCC (16) and GND100 nFGND (8) to GNDVCC (16) to VCCGND 8SER 10CLK INH 15VCC 16VCC 16
Fig. 2. Minimum circuit, drawn from Table 1. Crossing wires are not connected.
Table 1. External parts, and why each one is there.
PartBetween
Wire linkCLK INH (15) to GND
Wire linkSER (10) to GND
100 nFVCC (16) to GND

Pulse SH/LD (1) low to latch the eight inputs, then clock them out most significant first. Holding it low keeps loading and you read the same pin eight times.

4.Full pin reference

Every pin, alias and mapping. This is the table that prints.

Table 2. Pin assignments.

Complete pin reference for 74HC165 Shift Register (parallel in)
PinNameFunctions

Looking for a substitute?

Primary sources

Found a wrong pin? The whole board is one file, data/boards/sn74hc165.json.

Edit this file on GitHubReport it instead