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
| Function | 8-bit parallel-load shift register |
|---|---|
| Supply | 2–6 V |
| Supply current | 80 µA max |
| Clock | 31 MHz typ at 4.5 V |
| Outputs | QH and complement |
| Controls | SH/LD, CLK INH |
What the datasheet promises
| Item | Datasheet value |
|---|---|
| Function | 8-bit parallel-load shift register, parallel-to-serial conversion |
| Supply voltage | 2 to 6 V |
| Supply current | 80 µA maximum |
| Output drive | ±4 mA at 5 V; drives up to 10 LSTTL loads |
| Propagation delay | 13 ns typical |
| Clock frequency | 31 MHz typical at 4.5 V |
| Outputs | Serial output QH and its complement |
| Inputs | Eight direct data inputs A to H; 1 µA maximum input current |
| Controls | Shift/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
- Texas Instruments SNx4HC165 datasheet (SCLS116H) — every figure in the table above.
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.