KIT INCLUDES:
- Arduino Uno with USB Cable – 1
- Breadboard 840 points – 1
- Jumper wire (Male to male) – 40pcs
- Shift Register(SN74HC595N) – 2
- Breadboard 400 points – 1
- Single stand wire 2mt- 1
- Potentiometer 10 k – 1
- Led – 16
- Resistor 220 ohm – 16
HARDWARE REQUIRED
- Arduino Uno with USB Cable – 1
- Breadboard 840 points – 1
- Jumper wire (Male to male) – 40pcs
- Shift Register(SN74HC595N) – 2
- Breadboard 400 points – 1
- Single stand wire 2mt- 1
- Potentiometer 10 k – 1
- Led – 16
- Resistor 220 ohm – 16
SOFTWARE REQUIRED
Arduino IDE 1.8.5 (programmable platform for Arduino)
Click To Download :https://www.arduino.cc/en/Main/Software
TYPICAL APPLICATION
HC595 SHIFT REGISTER
- General Purpose Logic
- Serial to Parallel Data conversion
- Capture and hold data for extended periods of time.
- Allow simple serial bit streams from a microcontroller to control as many peripheral lines as needed.
- Wide array of products such as:
- Computer peripheralS
- Appliances
- Industrial control
SPECIFICATIONS
HC595 SHIFT REGISTER
- Wide Supply Voltage Range from 2.0V to 6.0V
- Sinks or sources 8mA at VCC = 4.5V
- CMOS low power consumption
- Schmitt Trigger Action at All Inputs
- Inputs accept up to 6.0V
- ESD Protection Tested per JESD 22
PIN DESCRIPTION
HC595 SHIFT REGISTER
10K POTENTIOMETER
LED
CIRCUIT DESCRIPTION
- Make the circuit (see above) and connect the first shift register as following:
-GND (pin 8) to ground
-Vcc (pin 16) to 5V
-OE (pin 13) to ground
-MR (pin 10) to 5V
-DS (pin 14) to Arduino pin 11
-SH_CP (pin 11) to Arduino pin 12
-ST_CP (pin 12) to Arduino pin 8
- Connect the second shift register exactly the same, but connect the DS (pin 14) to first register pin 9. After that connect pins: 1, 2, 3, 4, 5, 6, 7 and15 from both registers to LEDs. This connection makes all the pins always active and addressable, however when the Arduino is powered up some of the LEDs may be turned on. Solution for this is to connect MR (pin 10) and OE (pin 13) to Arduino directly, but it this way you have to sacrifice 2 Arduino pins.
- To add more shift registers connect them like the second register. Always connect MR and OE pins directly to Arduino and DS pin to previous register
- If you want to regulate the brightness of LEDs then connect potentiometer as shown in picture above to control resistance for all LEDs. However it is optional and you can get along without it.
CODE
Click to see the code and copy the link:
WORKING
Connect the Arduino uno and upload the Code given next .After uploading the code you will see the different pattern by glowing led which is controlled by potentiometer.