74HC165 input shift register: read 8 inputs on 3 pins

A parallel-load shift register that reads eight buttons or sensors over three pins: supply, clock speed, load control and chaining.

By Jignesh Panchal · Editorial & verification standards

  • TypeBoards
  • LevelBeginner
  • ReviewedNov 2026

The 74HC165 is an 8-bit parallel-load shift register: eight inputs are captured at once and then clocked out as a single serial stream, so three microcontroller pins can read eight buttons, switches or sensors. It is the input twin of the 74HC595 output register. It runs from 2 to 6 V and draws at most 80 µA. Figures are from the Texas Instruments SNx4HC165 datasheet SCLS116H.

Key specifications

Function8-bit parallel-load shift register
Supply2–6 V
Supply current80 µA max
Clock31 MHz typ at 4.5 V
OutputsQH and complement
ControlsSH/LD, CLK INH

What the datasheet promises

ItemDatasheet value
Function8-bit parallel-load shift register, parallel-to-serial conversion
Supply voltage2 to 6 V
Supply current80 µA maximum
Output drive±4 mA at 5 V; drives up to 10 LSTTL loads
Propagation delay13 ns typical
Clock frequency31 MHz typical at 4.5 V
OutputsSerial output QH and its complement
InputsEight direct data inputs A to H; 1 µA maximum input current
ControlsShift/load (SH/LD) and clock-inhibit (CLK INH)

While SH/LD is low, the parallel inputs are loaded independently of the clock. When SH/LD goes high, each low-to-high clock edge moves the data one place toward QH. Read the first bit before the first clock pulse, since the A-to-H snapshot already sits at the output.

Using it on a robot

  • Add a pull-up or pull-down on each input so a button reads a defined level instead of floating.
  • Debounce in software, as in the debounce guide.
  • Chain more than one chip through the serial input to read sixteen or more lines on the same three pins.
  • Power it from the same voltage as the controller so the inputs and QH stay compatible.

Sources and further reading

Last reviewed: November 2026. Limits are from the Texas Instruments datasheet; other makers’ versions differ. No price is quoted because it has not been checked.

Where to buy in India

These open a store search. Compare seller, price and reviews before you order.

Free: the final-year project pack

A shortlist with BOMs, a report outline that matches the usual chapter scheme, a costing sheet and 40 viva questions. Built for the February–April submission season.

The Build Note

One short email when something is worth your bench time.

A new build sheet, a part price that moved, or a mistake worth avoiding. No daily drip, no recycled news.

One short email when a build or a price is worth your time. Unsubscribe in one click.