74HC165 Shift Register in DIP-16: Read Eight Buttons With Three Pins

74HC165N 8-Bit Parallel-In Shift Register IC (DIP-16)

Rs. 70 - In stock - SKU ABH-ICS-0744 - Brand Generic

The 74HC165 8-bit parallel-in, serial-out shift register in DIP-16, for reading eight or more buttons or switches from three microcontroller pins.

Delivery anywhere in Pakistan for a flat Rs. 250 paid in advance, product price Cash on Delivery. 7-Day Checking Warranty.

Key features

Specifications

Bits8
Supply2V-6V
Interface3-Wire Serial
PackageDIP-16

What's in the box

Use cases

Description

What it is

The input counterpart of the 74HC595. It captures eight inputs at once and shifts them out one bit at a time.

How to wire it

Pulse SH/LD (pin 1) LOW to load the inputs, then clock bits out of QH (pin 9) with CLK (pin 2). Tie CLK INH (pin 15) LOW. Use shiftIn() in Arduino. Each input needs a pull-up or pull-down resistor.

Good to know

Chain several chips through the SER input to read 16, 24 or more switches. This is the DIP version; we also stock the SMD 74HC165D.

Frequently asked questions

Do the inputs need resistors?

Yes, pull-ups or pull-downs so unpressed buttons read a defined level.

How do I chain two chips?

Connect QH of the second chip to SER of the first.

Is it the opposite of the 74HC595?

Yes: the 595 adds outputs, the 165 adds inputs.

Related products

All Integrated Circuits (ICs)