Hello,
I have tried to setup simple learning project, using 8x8 LED matrix and two 74HC595 shift registers.
I have followed register's wiring in this tutorial: http://arduino.cc/en/tutorial/ShiftOut
But when I have tested it, I couldn't get clear image on display, all leds were flickering during re-drawing procedure, making image nearly unusable. Then I have discovered that if I break +5V connection from adriono to registers, flickering stops and display is working exacly as expected.
I know that I have not used capacitator on latch (because I didn't have one), but I am now really confused that only disconnecting power from my setup solves everything, if there is anyone so kind to explain me what really happened and how to avoid thore mistakes/problems in the future, it would be awesome
AfBU:
Hello,
I have tried to setup simple learning project, using 8x8 LED matrix and two 74HC595 shift registers.
Unfortunately you seem to be learning lots of bad habits.
As Crossroads said, you should have a 0.1uF bypass cap on each chip. You should also be using series resistors (x 8 ), otherwise you will damage the shift registers or the leds. You should also respect the current limits of the individual outputs and the chip as a whole.
74hc595 is not a great chip for driving leds, it was not designed for that and is current limits are to low to drive a matrix properly without damage. Max7219 is a much better chip for this.