Skip to datasheet
The Engineering ProjectsAI Interactive Datasheet

74HC1658-bit parallel-to-serial register

Capture eight switches. Read them through one data wire.

Manufacturer-referenced

Texas Instruments · SN74HC165N

PDIP-16SCLS116H · December 2015

74HC165 is a 16-pin parallel-to-serial shift register that captures eight digital inputs and sends their states to a controller one bit at a time. Pull SH/LD LOW to load the switches, return it HIGH, then read H first and clock the remaining bits toward the serial output. Clock inhibit pauses shifting while a complementary output offers the inverted bit. This page covers TI SN74HC165N in PDIP-16 and SN74HC165D in SOIC-16, using a 5 V switch-input example.

Real View

SN74HC165N black package with silver leads and readable markings.
SN74HC165N · PDIP-16Package illustration

Pinout

SN74HC165NPDIP-16Top view
Select a pin to see its functionPDIP-16 · 16 pins

PCB Footprint

Loading footprint…
Powered by
Finding PDIP-16 packageTop view · mm

3D View

Preparing 3D preview…
3D packageDrag to rotate · Scroll to zoom
Load & inhibitClock inputParallel & serial inputsSerial outputsSupply & return
SN74HC165NPDIP-16Top view

Click a lead or use the arrow keys. Top view

1
PIN 1 · Load & inhibit

SH/LD

Active-low parallel load

Function

LOW enables direct parallel loading, independently of CLK, inhibit and serial data.

How to connect

Pulse LOW, then HIGH before reading the captured byte.

Electrical note

While held LOW the register follows the parallel inputs; it is not only an edge-triggered latch.

At a glance

8-bit parallel-to-serial register

Eight parallel signals become a serial byte without a processor inside the IC.

2–6 VRecommended supply
8 A through HParallel inputs
−40–125 °CAmbient range
21 MHz · −40 to 125°CClock limit at 4.5 V

Operating profile

SN74HC165N

Selected package
PDIP-16SN74HC165N · 16 pins
Serial output order
H → ARead before each shift pulse.
HIGH / LOW thresholds
3.15 / 1.35 VVIH minimum / VIL maximum at 4.5 V

Operating conditions

Key parameters and their test conditions

Supply
2–6 VConditions / notes: 5 V nominal
Ambient temperature
−40 to +125°CConditions / notes: SN74HC165; limits depend on temperature
Input HIGH minimum
3.15 VConditions / notes: VCC = 4.5 V
Input LOW maximum
1.35 VConditions / notes: VCC = 4.5 V
Unused inputs
Defined HIGH or LOWConditions / notes: Never leave CMOS inputs floating

Package details

Follows the selected physical package

Manufacturer
Texas Instruments
Part number
SN74HC165N
Package
PDIP-16
Connections
16 pins
Mounting
Through-hole
Lead pitch
2.54 mm
Package code
dip
Thermal reference
Board and package dependent; see manufacturer data

Connections by function

Select a pin to open its function, electrical notes and wiring guidance.

Load & inhibit2 pins

Clock input1 pins

Parallel & serial inputs9 pins

Serial outputs2 pins

Supply & return2 pins

Capture the input states

Each switch has a pull-up resistor. An open switch reads HIGH; a closed switch reads LOW. SH/LD LOW loads all eight states into the register.

Read H, then shift

Return SH/LD HIGH. Read QH before the first clock edge, then pulse CLK to expose the next bit. Eight reads recover H through A.

Pause or extend the chain

CLK INH HIGH blocks ordinary CLK pulses. For more inputs, connect one register’s QH to the next SER and share the load and clock signals.

The switches and register below are an ideal logic teaching model. Propagation delay, contact bounce and analog voltage thresholds still matter in a physical circuit.

Capture eight inputs. Read one wire.

Set the switches, load the register, and watch the serial data leave H first.

5 V · Logic explorer
Serial fill · pin 10
1 Parallel inputs—

Click a switch. H is read first; A is read last.

SH/LD LOW loads all eight inputs
2 Shift register0x00

With SH/LD HIGH, each permitted rising edge moves A → H.

H0G0F0E0D0C0B0A0
QH · pin 90
QH̅ · pin 71
Serial bits read · H → A—

Enable JavaScript to try the controls.

Ideal slow-motion logic. Inputs follow while SH/LD is held LOW. Raising inhibit while CLK is LOW also clocks the register, just as on the IC. The demo starts cleared; real power-up data is unspecified. Contact bounce and propagation delays are omitted.

Parallel inputs A through H enter eight shift stages under active-low load; serial input enters A; clock and inhibit control shifting; H feeds normal and complementary outputs.
Functional architecture; not a transistor-level die schematic.
Eight switches to ground with individual 10 kiloohm pull-ups to 5 V feed A through H. Controller D8 drives SH/LD1, D9 clocks CLK2, and D10 reads QH9. Inhibit15 and SER10 are grounded. Supply16 is bypassed with 100 nF to GND8.
Matching labels identify common nets. Open switch = HIGH; closed = LOW. Controller and register share ground.

Pin reference

Select a pin to explore its function and connection.

16 pins
PinSignalTypeFunction
SH/LDActive-low parallel loadLOW enables direct parallel loading, independently of CLK, inhibit and serial data.
CLKClock inputA rising edge shifts data toward H when SH/LD is HIGH and CLK INH is LOW.
EParallel inputInput E loads its corresponding stage while SH/LD is LOW.
FParallel inputInput F loads its corresponding stage while SH/LD is LOW.
GParallel inputInput G loads its corresponding stage while SH/LD is LOW.
HParallel inputInput H loads its corresponding stage while SH/LD is LOW.
QH̅Complementary serial outputInverted version of the last shift-register stage.
GNDSupply returnGround reference for all logic signals.
QHSerial outputThe H-stage value; exposes H first after parallel loading.
SERSerial fill inputThe bit entering A on a permitted shift edge.
AParallel inputInput A loads its corresponding stage while SH/LD is LOW.
BParallel inputInput B loads its corresponding stage while SH/LD is LOW.
CParallel inputInput C loads its corresponding stage while SH/LD is LOW.
DParallel inputInput D loads its corresponding stage while SH/LD is LOW.
CLK INHClock inhibitHIGH prevents CLK pulses from shifting the register.
VCCPositive supplySupply for the register and output buffers.
PDIP-16 · Top view · Select a pin number to inspect its connection.

Operating conditions

SN74HC165N / SN74HC165D

ParameterValueConditions / notes
Supply2–6 V5 V nominal
Ambient temperature−40 to +125°CSN74HC165; limits depend on temperature
Input HIGH minimum3.15 VVCC = 4.5 V
Input LOW maximum1.35 VVCC = 4.5 V
Unused inputsDefined HIGH or LOWNever leave CMOS inputs floating

TI SCLS116H recommended conditions.

Electrical characteristics

4.5 V unless stated

ParameterValueConditions / notes
Output HIGH≥3.70 VIOH = −4 mA; −40 to 125°C
Output LOW≤0.33 VIOL = 4 mA; −40 to 125°C
Supply current≤160 µA6 V; inputs at rails; unloaded; −40 to 125°C
Supply current at lower temperature≤80 µASame conditions; −40 to 85°C
Input leakage±1 µA maximum6 V; −40 to 125°C
Input capacitance10 pF maximum2–6 V

Output drive ratings are not the absolute maximum current.

Timing reference

VCC = 4.5 V · −40 to 125°C

ParameterValueConditions / notes
Maximum clock21 MHzUse all setup and hold requirements
CLK HIGH / LOW pulse≥24 nsEach half-cycle
SH/LD LOW pulse≥24 nsParallel loading
SH/LD HIGH before CLK ↑≥24 nsRecovery to shifting
SER setup / hold≥12 ns / ≥5 nsAround CLK rising edge
Parallel data setup / hold≥30 ns / ≥5 nsReferenced to SH/LD falling edge in TI timing table
CLK → serial output≤45 nsCL = 50 pF

These are selected limits; consult the PDF for all clock-inhibit and voltage conditions.

Load and clock functions

Asynchronous parallel load has priority

ParameterValueConditions / notes
SH/LD LOWLoad A–HIndependent of clock and inhibit
SH/LD HIGH; CLK ↑; INH LOWShift toward HSER enters A
SH/LD HIGH; INH ↑; CLK LOWAlso shiftsChange inhibit while CLK is HIGH to avoid this edge
CLK INH HIGHCLK pulses blockedParallel loading still works
QH̅Complement of QHNeither output is three-state
Power-upRegister contents unspecifiedCapture the inputs before using the byte

Unlike 74HC595, this IC expands inputs and has no separate output-storage register.

Package and stress limits

SN74HC165N · PDIP-16

ParameterValueConditions / notes
Lead pitch2.54 mmThrough-hole; top view
Supply absolute maximum−0.5 to +7 VStress rating only
Continuous output current±25 mAAbsolute maximum per output
VCC or GND current±50 mAAbsolute maximum package current
Storage temperature−65 to +150°CUnpowered storage

Use recommended operating conditions for normal operation. Verify the exact package before PCB manufacture.

Switch banks and buttons

Read eight switch states through a serial connection. Pull-ups prevent floating inputs; debounce in software when contacts chatter.

Manufacturer application guide

Controller input expansion

Capture all inputs together, then read them at a controlled rate. The register does not measure analog sensor levels.

Manufacturer application guide

Cascaded input chains

Share clock and load, connect QH to the next SER, and read one byte per IC. Document chip order so firmware maps each bit correctly.

Manufacturer application guide

Take it into ProTech

Find 74HC165 in the Components Library to place its schematic symbol and connect its pins.

Reference page · circuit simulation model not yet availableOpen ProTech

Component view