74HC164 vs 74HC595
Update Time: Nov 16, 2023 Readership: 84
Contents
The 74HC164 and 74HC595 are both integrated circuits used in digital electronics, specifically categorized as 8-bit shift registers. Despite sharing this fundamental classification, they differ significantly in features and applications. The 74HC164 is a basic serial-in, parallel-out shift register, known for its simplicity and effectiveness in expanding digital outputs with minimal hardware. The 74HC595, on the other hand, is more sophisticated, offering additional functionalities such as an 8-bit storage register, output latches, and an output enable pin, enhancing its capability for more complex applications.
74HC164 Description
The 74HC164 is a popular integrated circuit (IC) that belongs to the 74HC series of high-speed CMOS (Complementary Metal-Oxide-Semiconductor) logic devices. Specifically, it is a 8-bit serial-in/parallel-out shift register. The "74" in its name indicates that it is a part of the 7400 series, and "HC" indicates that it is a high-speed CMOS version.
Features
-
Serial Input (DS)
This is where you input your data bit by bit. The 74HC164 shifts the bits in serially, from the DS pin to the first output (Q0), then to Q1, and so on.
-
Clock Input (SH_CP)
The clock input is used to synchronize the shifting of data. Each time a clock pulse is applied, the data at the serial input is shifted into the shift register.
-
Master Reset (MR)
This pin resets the shift register. When MR is taken low, it resets the internal state of the shift register, clearing all stored data.
-
Parallel Outputs (Q0 - Q7)
74HC164 Pinout
These are the parallel outputs of the shift register. The shifted-in data appears at these outputs after the appropriate number of clock pulses.
The 74HC164 is often used in applications where you need to expand the number of outputs from a microcontroller or other digital device. By serially shifting in data and then latching it to the parallel outputs, you can control multiple devices using only a few pins on your microcontroller.
The timing diagram for the 74HC164 is relatively straightforward. On each rising edge of the clock signal, the data at the serial input is shifted into the first bit, and the existing bits are shifted to the next stage. The process continues until all 8 bits are loaded, and then they can be latched to the parallel outputs.
74HC595 Description
The 74HC595 is a versatile 8-bit shift register, well-suited for applications requiring serial input to parallel output conversion. The 74HC595 shift register operates through a well-coordinated process involving data input, buffering, and output control.
Initially, data enters serially at the rising edge of the Serial Clock (SCK) through the Serial Data Load (SDL), getting stored in the internal 8-bit shift register. This data is then accessible via the Q7' output, allowing for continuous shifting without impacting the parallel output.
In the next phase, the Latch Clock (LCK) triggers at its rising edge, transferring the shift register's data into an 8-bit parallel output buffer, effectively updating the parallel output.
Finally, the Output Enable (OE) plays a crucial role in output management: when OE is low, the parallel output actively reflects the buffer’s content; a high OE, conversely, disables the output, shifting the parallel output terminals to a high-impedance state, thus safeguarding against any unintended signal disturbances. This orchestrated mechanism ensures efficient data handling and output control in the 74HC595.
74HC595 Pinout
Working Principles of 74HC595
-
Data Terminals
QA-QH: Controls 8 segments of a digital display through eight-bit parallel output.
QH’: Cascade output terminal, connectable to another 595's SI (Serial Input) for expansion.
SI: Serial data input terminal.
-
Control Terminals
/SCLR (Pin 10): Clears shift register data when low. Typically connected to Vcc (positive voltage supply).
SCK (Pin 11): Shifts data at the rising edge; maintains at the falling edge. Suitable pulse width is in microseconds.
-
Control Shift Register
Data shifts at SCK's rising edge and holds at the falling edge.
-
Control Storage Register
Data transfers from the shift register to the storage register at RCK's rising edge, remaining stable at the falling edge.
/G (Pin 13): Disables output at a high level (high-impedance state). This control can prevent flickering and is more efficient than data end shift control.
Comparison with 74HC164
Functionality: Both 74HC164 and 74HC595 are 8-bit serial-to-parallel shift registers, but the 74HC595 has a higher drive current (35mA compared to 25mA for the 74HC164) and additional features.
Data Storage Register: The 74HC595's storage register ensures output stability during shifting, preventing flickering in slow serial transmissions.
Output Control: Unlike the 74HC164, which only has a data clearing terminal, the 74HC595 also includes an OE terminal, enabling high-impedance output states for more convenient usage.
Separate Clocks for Shift Register and Memory: The 74HC595 allows separate clock inputs for the shift register (SHcp) and storage register (STcp), offering precise control over data transfer and output.
Three-State Output Functionality: The 74HC595 supports a three-state bus output, enhancing its versatility in various circuit configurations.
74HC164 vs 74HC595
The 74HC595 excels in scenarios requiring speed, low voltage, and precise control over output changes, while the 74HC164 is well-suited for applications that benefit from simplicity, rapid updates to the output, and asynchronous reset functionality. The choice between them depends on the specific requirements of the application.
Feature |
74HC595 |
74HC164 |
Functional Design |
8-bit shift register with storage & output latches. |
Simpler 8-bit shift register. |
Output Control |
Storage register & OE pin for output control. |
Outputs are always active, no OE pin. |
Data Transfer |
Serial output pin (Q7’) for daisy-chaining. |
No serial output for cascading. |
Applications |
Suitable for complex tasks like driving LED displays. |
Better for basic tasks like simple LED control. |
Speed & Voltage |
Higher speed, lower voltage operation. |
Lower speed, higher voltage operation. |
Latch Functionality |
Has a latch for stable output. |
No latch, output changes with each clock. |
Cascade Configuration |
Dedicated Q7’ pin for cascading. |
Uses standard output pin Q7 for cascading. |
Reset Functionality |
Synchronous reset for shift register. |
Asynchronous reset. |
Data Buffering |
Prevents LED flashing during shifts. |
No buffering, potential LED flashing. |
-
Functional Differences
74HC595: This is an 8-bit shift register with a storage register and output latches. It allows serial to parallel conversion with the added feature of an 8-bit storage register that captures a snapshot of the shift register's contents on a clock input. This means that the 74HC595 can update its outputs without affecting the ongoing data shifting.
74HC164: The 74HC164 is a simpler 8-bit serial-in, parallel-out shift register. It doesn't have the additional storage register or output latches. The output of this shift register directly reflects the current contents of its internal flip-flops.
-
Output Control
74HC595: Offers more control over its outputs thanks to the storage register and the output enable (OE) pin. The OE pin can be used to disable all outputs simultaneously, providing flexibility in managing the output state.
74HC164: Lacks an output enable function, meaning its outputs are always active as long as the device is powered.
-
Data Transfer
74HC595: In addition to the serial input, it also features a serial output pin (Q7’), allowing multiple 74HC595s to be daisy-chained. This serial out feature provides an easy way to expand the number of outputs using multiple chips.
74HC164: It does not offer a serial output for cascading, making it less suitable for applications requiring many outputs.
-
Applications
74HC595: Commonly used in applications where data needs to be converted from serial to parallel format, such as driving LED displays, digital input expansion, etc. Its ability to latch output data makes it suitable for applications where output stability is crucial during data shifting.
74HC164: Better suited for simpler applications where a basic shift register is needed, and the lack of output latches is not a problem. It’s often used in basic LED control, simple logic circuits, etc.
-
Power Consumption
Both ICs are part of the high-speed CMOS family and have similar power consumption and speed characteristics. However, the specific requirements of your application, such as how fast the data shifts or the operating voltage, might make one more suitable than the other.
In summary, while both the 74HC595 and 74HC164 are useful as 8-bit shift registers, the 74HC595 offers additional features like a storage register, output enable, and daisy-chaining capability, making it more versatile for complex applications. The 74HC164, on the other hand, is more straightforward and suited for simpler, more direct applications.
-
Speed and Voltage
The 74HC595 operates at higher speeds and can function at lower voltages compared to the 74HC164, making it more versatile in different electronic environments.
-
Latch Functionality
The presence of a latch in the 74HC595 allows for stable output during data shifts, as the output remains unchanged until new data is latched. This feature is absent in the 74HC164, resulting in its output changing with each shift clock.
-
Cascade Configuration
The 74HC595's dedicated Q7’ pin for cascading multiple chips is a distinct advantage for expanding output capabilities without complicating the circuit. The 74HC164, however, uses its standard output pin Q7 for cascading, which is simpler but less flexible.
-
Output Enable (OE) Pin
The OE pin in the 74HC595 adds control over the output states, allowing outputs to be set to high impedance when needed. This feature is not available in the 74HC164, limiting its output control capabilities.
-
Reset Functionality
The 74HC595's synchronous reset affects the shift register, while resetting the latch register requires an additional step. The 74HC164's asynchronous reset is more straightforward but offers less control.
-
Additional Chip Compatibility
The 74HC164's compatibility with the 74HC165, a parallel-to-serial chip, adds versatility to its application in different circuit configurations.
-
Data Buffering
The absence of data buffering in the 74HC164 leads to potential LED flashing during data shifts, while the 74HC595's internal buffering prevents this, making it more suitable for applications where visual stability is important.
Final Words
The choice between the 74HC164 and 74HC595 depends largely on the application. The 74HC164, with its straightforward design, is ideal for simple applications that require basic serial-to-parallel data conversion, such as LED control or expanding digital outputs of microcontrollers. The 74HC595, in contrast, is better suited for more advanced applications where additional control and stability are needed. Its storage register and output latches provide more flexibility in data handling and output control, making it particularly useful in scenarios where data integrity during shifting is critical, such as driving sophisticated LED displays or complex digital interfaces.
Read More:
https://www.ovaga.com/products/detail/74hc164
https://www.ovaga.com/blog/transistor/74hc-vs-74ls-series-ics
Extended Reading
FAQ
-
Which is the most widely used shift register?
PISO or SIPO Shift Registers
-
What is the output of 74HC595?
The 74HC595 shift register is known for its 3-state outputs, which provide a unique and versatile functionality in digital electronics, especially when used with microcontrollers like the Arduino.
-
What is a 74HC164 shift register?
The 74HC164 and its variant, the 74HCT164, are types of digital shift registers. Essentially, these devices are 8-bit serial-in/parallel-out shift registers, meaning they can convert serial data input into parallel data output.
-
What are 74HC595 shift registers?
The 74HC595 is a type of shift register, which is a device used in digital electronics for the purpose of data storage or transfer. Specifically, the 74HC595 is a Serial-In/Parallel-Out (SIPO) shift register.
-
What is the difference between 74HC595 and 74HC165?
74HC165 is used for reading multiple digital inputs with fewer pins (PISO), while the 74HC595 is used for controlling multiple digital outputs with fewer pins (SIPO). This makes them complementary in nature for expanding the input and output capabilities of microcontroller systems.
Popular Blogs
-
Transistor Types, Us...
A transistor is a fundamental semiconductor devi...
-
C945 Transistor Data...
The C945 transistor is a small, low-power NPN bi...
-
BC557 Transistor Dat...
The BC557 is a PNP epitaxial silicon transistor ...
-
13003/MJE13003 Trans...
The MJE 13003 (also known as 13003) transistor i...
Hot Products
-
BC846
NXP Semiconductor
TECHNICAL SPECIFICATIONS OF NPN EPITAXIAL PLANAR T...
-
MJW21195G
ON
16 AMPERES COMPLEMENTARY SILICON POWER TRANSISTORS...
-
TCST1300
VISHAY
Optical Sensor (Switch) Transmissive / Slotted Int...
-
D45H11G
ON Semiconductor, LLC
BIPOLAR TRANSISTOR, PNP -80V, Transistor Polarity:...
-
PBSS5350Z
NXP Semiconductor
50 V low VCEsat PNP transistor
-
SC3120A
Intel Corp
TRANSISTOR (TV TUNER, UHF MIXER, VHF~UHF BAND RF A...
-
PUMD13
NXP Semiconductor
NPN/PNP resistor-equipped transistors; R1 = 4.7 kO...
-
MJD31CT4
STMicroelectronics, Inc
Complementary Power Transistors,Bipolar Transistor...
-
PMZB290UNE
NXP Semiconductor
Transistor Polarity:N Channel, Continuous Drain Cu...
-
PBSS304NX
NXP Semiconductor
60 V, 4.7 A NPN low VCEsat (BISS) transistor
-
PMEG3010CEJ
NXP Semiconductor
Low VCEsat (BISS) transistors
-
PMD3001D
NXP Semiconductor
Low VCEsat (BISS) transistors
-
SD2918
STMicroelectronics, Inc
RF POWER TRANSISTORS HF/VHF/UHF N-CHANNEL MOSFETs,...
-
BSP613P
Infineon Technologies Corporation
SIPMOS Small-Signal-Transistor
-
BTT6200-4ESA
Infineon Technologies Corporation
The power transistor is built by an N-channel vert...
-
BSP110
NXP Semiconductor
N-channel enhancement mode vertical D-MOS transist...
-
BCX42
Infineon Technologies Corporation
PNP Silicon AF an Swiching Transistors
-
PDTC124XU
NXP Semiconductor
NPN resistor-equipped transistors; R1 = 22 kohm, R...
-
BLT50
NXP Semiconductor
UHF power transistor
-
BCP52-16
NXP Semiconductor
Bipolar Transistors PNP Medium Power
-
PMBT5401
NXP Semiconductor
PNP high-voltage transistor (PNP high-voltage tran...
-
BC807-40W
NXP Semiconductor
TRANSISTOR (PNP)
-
IRFH5406TRPBF
Infineon Technologies Corporation
MOSFET, N-CH, 60V, 40A,Transistor Polarity:N Chann...
-
STN951
STMicroelectronics, Inc
Low voltage fast-switching PNP power transistor,Bi...
-
STN9360
STMicroelectronics, Inc
PNP 1.6 W 600 V 500 mA Surface Mount Fast-Switchin...
-
BU941ZT
STMicroelectronics, Inc
HIGH VOLTAGE IGNITION COIL DRIVER NPN POWER DARLIN...
-
BUF420AW
STMicroelectronics, Inc
High voltage fast-switching NPN power transistor,B...
-
SPP07N60S5
Infineon Technologies Corporation
Cool MOS Power-Transistor (Cool MOS power transist...
-
SPP11N60C3XKSA1
Infineon Technologies Corporation
N-Channel 650 V 0.38 Ohm Cool MOS?Power Transistor...
-
BSC070N10NS3GATMA1
Infineon Technologies Corporation
N-Channel 100 V 7 mOhm OptiMOS? Power-Transistor -...
-
PS9821-2-F3-AX
Renesas Technology Corp
Transistor Output Optocouplers 3.3V Digital OC HI ...
-
PS2505L-4-A
Renesas Technology Corp
PHOTOCOUPLER 4CH TRANS 16-SMD,Transistor Output Op...
-
MJE350G
ON Semiconductor, LLC
BIPOLAR TRANSISTOR, PNP, -300V, Collector Emitter ...
-
PS2505L-1-F3-A
Renesas Technology Corp
Optocoupler AC-IN 1-CH Transistor DC-OUT 4-Pin PDI...
-
PS2505L-1-A
Renesas Technology Corp
PHOTOCOUPLER 1CH TRANS 4-SMD,Transistor Output Opt...
-
PS2805C-4-F3-A
Renesas Technology Corp
Optocoupler AC-IN 4-CH Transistor DC-OUT 16-Pin SS...
-
PS2801C-1-A
Renesas Technology Corp
Transistor Output Optocouplers SNGL Tr DC Couplr O...
-
PS2501L-1-A
Renesas Technology Corp
HIGH ISOLATION VOLTAGE SINGLE TRANSISTOR TYPE MULT...
-
FOD817DS
ON Semiconductor, LLC
FAIRCHILD SEMICONDUCTOR FOD817DS Optocoupler, Tran...
-
KSC2690AYSTU
ON Semiconductor, LLC
NPN 1.2W 160V 7A Through Hole Epitaxial Silicon Tr...
-
2SC4027S-TL-E
ON Semiconductor, LLC
Transistors Bipolar - BJT BIP NPN 1.5A 160V
-
FOD817D3SD
ON Semiconductor, LLC
FAIRCHILD SEMICONDUCTOR FOD817D3SD Optocoupler, Tr...
-
2N3904TA
ON Semiconductor, LLC
NPN General Purpose Amplifier; Package: TO-92; No ...
-
MJD42CT4G
ON Semiconductor, LLC
Complementary Power Transistors,Bipolar Transistor...
-
FDC645N
ON Semiconductor, LLC
FAIRCHILD SEMICONDUCTOR FDC645N MOSFET Transistor,...
-
FDC637BNZ
ON Semiconductor, LLC
FAIRCHILD SEMICONDUCTOR FDC637BNZ MOSFET Transisto...
-
FDC602P
ON Semiconductor, LLC
FAIRCHILD SEMICONDUCTOR FDC602P MOSFET Transistor,...
-
FDB070AN06A0
ON Semiconductor, LLC
FAIRCHILD SEMICONDUCTOR FDB070AN06A0 MOSFET Transi...
-
FDMS86300
ON Semiconductor, LLC
FAIRCHILD SEMICONDUCTOR FDMS86300 MOSFET Transisto...
-
KSC2690AYS
ON Semiconductor, LLC
NPN Epitaxial Silicon Transistor; Package: TO-126;...