Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

EE Design > In Technical
| Home | Contact |

Title: Expanding Outputs using the 74LS164 Shift Register
Author: Vincent Wong
Date: 29th March 2005


Sometimes it is necessary to expand the outputs of the PIC Micro. This is often for PIC with low pin count, those with less than 28 pins. This can be done using a shift register type serial in parallel out. The 74164 is an 8-bit serial in - parallel output shift register.


Expanding Outputs using the 74LS164 Shift Register
Expanding Outputs using  the 74LS164 Shift Register


It requires 8 clock cycles at 'CLK' pin to shift the serial data from input 'B' to the 8 parallel outputs. After 8 shifts, the first serial bit will be in output QH, and only now the data at output is valid. Relays & LEDs can be connected to the output.

However, connecting a speaker or buzzer is not appropriate. This is because the shift of data may contribute noise to the sound device. If these kind of sensitive devices are to be connected to these outputs, i suggest to connect an Octal D-type latch (74HC373) in between to hold the outputs and disallow the invalid data to appear at the outputs. Only when all 8-valid data shifted to the output, the new data is allowed to exit at the latch's outputs.

To cascade more 74164 shift register IC, you will need to connect the last output (QH) to the 'B' input of the second 74164 shift register IC. Now, it is necessary to shift 16 times before you get a valid output. In this case, all the clock pins are tied togather in the same line.


| Home | Top Page | Contact |


Copyright Notice: This article, including all text, documents and schematic diagrams, are the intellectual property of Vincent Wong, and is Copyright (c) 2005. Reproduction or re-publication by any means whatsoever, whether it is electrical & electronic, mechanical or electro-mechanical, is strictly prohibited under International Copyright laws. The author (Vincent Wong) grants the reader the right to use this information for personal use only. Commercial use is prohibited without express written authorisation from Vincent Wong.

Copyright of Vincent Wong. All Rights Reserved.