How to Use 74HC595 Shift Registers for LED Display with Arduino

  • Thread starter Thread starter grimofdoom
  • Start date Start date
  • Tags Tags
    Shift
Click For Summary
SUMMARY

This discussion focuses on using four 74HC595 shift registers to control a 13x16 LED display with an Arduino. The key steps include setting the data on pin 14, pulsing the shift clock (pin 11) high and low eight times, and then pulsing the latch clock (pin 12) to transfer the data to the output. It is emphasized that a 0.1uF ceramic capacitor should be placed across the power pins, while the necessity of a capacitor on the latch pin is debated. Proper connections to power, ground, and control pins are crucial for functionality.

PREREQUISITES
  • Understanding of 74HC595 shift register functionality
  • Familiarity with Arduino programming and pin configuration
  • Basic knowledge of LED display wiring and operation
  • Experience with electronic components, including capacitors
NEXT STEPS
  • Research the Arduino ShiftOut function for sending data to shift registers
  • Learn about the timing requirements for the latch and shift clock signals
  • Explore troubleshooting techniques for LED display issues with shift registers
  • Investigate alternative methods for controlling larger LED matrices
USEFUL FOR

Electronics hobbyists, Arduino enthusiasts, and developers working on LED display projects who need to understand the integration of shift registers for efficient control of multiple LEDs.

grimofdoom
Messages
30
Reaction score
0
I have a 13x16 led screen I'm making(leds are put together), but now I'm trying to set up 4x 74hc595's. I've looked online and lots of the site seam similar but don't work and I do not know/understand how I can get my arduino to send (for example have the shift registers do "1010101010101010").
 
Engineering news on Phys.org
here is a site
http://arduino.cc/en/tutorial/ShiftOut#.UyKNM7TubD4

But I don't understand the capacitor on the latch pin. In the text they say 0.1uF. If you use 1uF you will need to have a very long latch pulse. You shouldn't need a capacitor at all on the latch pin, but you need a capacitor (0.1uF ceramic) across the power pins.

Set the data (pin 14) to a value.
pulse the shift clock high then low (pin 11)
do that 8 times, each time with a different data value.
Then pulse the latch clock high then low (pin 12). That will transfer the data to the output.

Make sure you have correct power, ground, have clear (pin 10) high and output enable (pin 13) low.
 
That's what I originally used but I never worked right... I have. Currently 4 connected together like how it shows on there with an led only on the first of each. I set my arduino so it sets them all to high but leds didn't turn on
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
7K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
Replies
3
Views
4K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K