Reports.8BitShiftRegister History

Hide minor edits - Show changes to output

Changed lines 3-6 from:
to:
!!
Changed lines 6-7 from:
to:
!!
Changed lines 9-10 from:
to:
!!
Changed lines 26-27 from:
to:
!!
Changed lines 29-30 from:
to:
!!
Changed lines 32-34 from:
to:
!!
Changed lines 38-39 from:
to:
!!
Changed lines 43-44 from:
to:
!!
Changed lines 46-47 from:
to:
!!
Changed lines 49-51 from:
to:
!!
Changed lines 52-54 from:
to:
!!
Added line 14:
Added line 16:
Added line 18:
Added line 20:
Added line 22:
Added line 24:
Added line 26:
Added line 38:
Added line 43:
Changed lines 5-6 from:
Today I'm looking at the datasheet of a <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=733" target="_blank">Texas Instruments SN74HC595 8-bit shift register with 3-state output registers</a>.
to:


Today I'm looking at the datasheet of a [[http://www.sparkfun.com/commerce/product_info.php?products_id=733 | Texas Instruments SN74HC595 8-bit shift register with 3-state output registers]].
Added line 12:
Changed lines 15-17 from:
- Voltage operating range of 2V - 6V<br />* Low power consumption (80ľA)<br />* Low input current of 1 ľA max.
to:
- Voltage operating range of 2V - 6V
- Low power consumption (80ľA)
- Low input current of 1 ľA max.
Added line 22:
Added line 29:
Added line 33:
Added line 37:
Added line 40:
Added line 44:
Added line 48:
Added line 4:
Changed lines 2-3 from:
''img pulled off of [[http://www.sparkfun.com | [-sparkfun electronics-]]]''
to:
[-''img pulled off of [[http://www.sparkfun.com | sparkfun electronics]]''-]
Changed lines 1-3 from:
<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=733" target="_blank">http://www.chootka.com/img/Main-74HC595.jpg</a>
<small><i>
img pulled off of <a href="http://www.sparkfun.com" target="_blank">sparkfun electronics</a></i></small>
to:
[[http://www.sparkfun.com/commerce/product_info.php?products_id=733 | http://www.chootka.com/img/Main-74HC595.jpg]]
''
img pulled off of [[http://www.sparkfun.com | [-sparkfun electronics-]]]''
Changed lines 6-7 from:
<a href="http://www.sparkfun.com/datasheets/IC/SN74HC595.pdf" target="_blank">Download Datasheet</a>
to:
[[http://www.sparkfun.com/datasheets/IC/SN74HC595.pdf | Download Datasheet]]
Changed lines 9-11 from:
* 8-Bit Serial-In, Parallel-Out Shift
* Voltage operating range of 2V - 6V<br />* Low power consumption (80ľA)<br />* Low input current of 1 ľA max.
* High-Current 3-State outputs which can drive up to 15 LSTTL loads
to:
- 8-Bit Serial-In, Parallel-Out Shift
- Voltage operating range of 2V - 6V<br />* Low power consumption (80ľA)<br />* Low input current of 1 ľA max.
- High-Current 3-State outputs which can drive up to 15 LSTTL loads
Changed lines 13-14 from:
* Shift register has direct clear
to:
- Shift register has direct clear
Changed line 8 from:
<b>Features</b>
to:
'''Features'''
Added line 17:
Changed lines 20-21 from:
<b>What does it do?</b>
to:
'''What does it do?'''
Changed line 24 from:
<b>How to Connect</b>
to:
'''How to Connect'''
Added line 31:
Added line 34:
Changed lines 29-30 from:
<img src="http://www.chootka.com/img/pwm.gif">
to:
http://www.chootka.com/img/pwm.gif
Changed line 1 from:
<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=733" target="_blank"><img src="http://www.chootka.com/img/Main-74HC595.jpg" border="0"></a>
to:
<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=733" target="_blank">http://www.chootka.com/img/Main-74HC595.jpg</a>
Changed lines 17-18 from:
<img src="http://www.chootka.com/img/pin_mappings.gif" border="0">
to:
http://www.chootka.com/img/pin_mappings.gif
Added lines 1-31:
<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=733" target="_blank"><img src="http://www.chootka.com/img/Main-74HC595.jpg" border="0"></a>
<small><i>img pulled off of <a href="http://www.sparkfun.com" target="_blank">sparkfun electronics</a></i></small>

Today I'm looking at the datasheet of a <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=733" target="_blank">Texas Instruments SN74HC595 8-bit shift register with 3-state output registers</a>.

<a href="http://www.sparkfun.com/datasheets/IC/SN74HC595.pdf" target="_blank">Download Datasheet</a>

<b>Features</b>
* 8-Bit Serial-In, Parallel-Out Shift
* Voltage operating range of 2V - 6V<br />* Low power consumption (80ľA)<br />* Low input current of 1 ľA max.
* High-Current 3-State outputs which can drive up to 15 LSTTL loads
(btw, LSTTL stands for "Low-power Schottky" Transistor to Transistor Logic, TTL being a kind of solid state logic)
* Shift register has direct clear

The below diagram shows the pin mappings for this chip, depending on which package you are using:

<img src="http://www.chootka.com/img/pin_mappings.gif" border="0">

<b>What does it do?</b>
So, what does an 8-bit shift register do? It's commonly used to increase the output capacity of a microcontroller. Data is shifted down along 8 pins (or more, depending on what kind of shift register you get), and passed out through each pin, expanding the number of possible output pins available to your microcontroller. This is also called 'multiplexing' a signal.

<b>How to Connect</b>
At a minimum, three pins of your microcontroller are required to connect to the 8-bit shift register: one for the clear pin (SRCLR), one for the clock pin (which controls the frequency at which signals are transmitted) (RCLK and SRCLK: these can be connected together or independently), and one for the data you are looking to send through the register, i.e., the input pin (OE).

The clear pin, when set to low, clears all the pins on the shift register of their current state (high/low), and when set to high, allows the pins to receive input from your microcontroller. Because this shift register has a D-type storage register built into it, this means that once you set the pins high or low, they retain that state. Therefore, the clear pin is necessary in order to literally 'clear' the current states of the shift register pins.

In order to get the input signals into the shift register, you must PWM (pulse width modulate) a clock signal for 8 cycles, or however many bits your shift register is designed to carry. Most shift registers use 'synchronus' communication, meaning that the rate at which signals are sent to the IC, rely on the clock signal of the microcontroller, which is transmitted via the RCLK and SRCLK pins.

<img src="http://www.chootka.com/img/pwm.gif">

The shift and storage registers each have their own clocks. When connected together, the shift register is always one clock pulse ahead of the storage register. I'm guessing this is so to keep the data moving ahead in order to make room for the next signal coming down the pipe.