Hello, I am working on a LED matrix and I ordered some shift registers to use. I have never used them before so I just set them up on a test circuit with four output LEDs just to get a feel of what programming will be needed to use this thing. Long story short, I tried every possible outcome and I don't get any response from the shift register. They are from China on ebay. I actually got a refund from the first batch and ordered another from the same seller to see if it was just that; the results were the same each time. The guy just gets it from a supplier in China, but I am starting to think they are bad.
I would just like a confirmation that I am doing it right since I have never used these. For all I know, I could be doing something wrong. Here's the setup I have:
All three GNDs are connected to a ground, and the VCC is connected.
SER IN is connected to D0
SRCK is connected to D1
RCK is connected to D2
ENABLE is connected to D3
SRCLR is connected to D4
I can't comment on your code but when you test a chip, use the specs and follow the same conditions to check each pin is correct. Do you have a pullup resistor on each open drain output?
I would follow it but it does confuse me. What does word generator mean? Should I just put those in the micro controller.
There is no graph of the serial clear so what do I set that to? Reading about the pins, enable should be set to low so keeping it high shouldn't accomplish anything.
- - - Updated - - -
Although I still don't understand the test circuit, I went through and looked through the internals of it and found out that it does not output a positive signal, it outputs a negative. So I switched my LEDs around and it works perfectly Thank you.