When you are building projects using arduino, any other boards or mcu's, what will you do if you are running out of i/o pins ?
Shift registers are good solution for this.
In this tutorial, we will learn how shift registers work, and you’ll interface arduino uno with shift registers. Here we will be using serial in parallel out (SIPO) shift register.
74HC595N.
- 74HC595 is a shift register which works on Serial IN Parallel OUT protocol.
- It receives data serially from the microcontroller and then sends out this data through parallel pins.
- 8 bit parallel out.
Q0-Q7: These are the parallel output pins that will be connected to the LEDs
Vcc : This pin is connected to 5V
GND : This is connected to a common ground with the arduino.
DS: This pin receives the 8 sequential bit values coming from the arduino and uses it to set the value of the parallel outputs.
STCP: This pin is also known as the latch pin or register clock pin. When pulled high to low, it shifts this serial values to the parallel outputs all at once.
SHCP: When this pin goes from high to low, the values in the shift register shift by 1 bit. It will be pulsed eight times to pull in all the data that you are sending on the serial data pin.
MR: This pin is an active low pin which when pulled low sets all the bits of the parallel output to 0. keep it high for normal use.
OE: The output enable pin enables the parallel output when pulled to ground and disables it when pulled high
Connect it with arduino ground.
To buy Electronic Parts buy them from UTSOURCE
Comments
Please log in or sign up to comment.