Shift register help!
log23
Posts: 6
Hello, I am trying to use a TPIC6B595 to control the drain on different rows of an LED matrix and I am not sure how to control it!
Comments
What micro are you using, and what have you tried so far?
-Phil
thats my code so far, I want to light the row connected to Q1
I am able to light the rows by jumpering the pin to ground.
And thanks for the welcome
-Phil
There's a section of the StampWorks book which shows how to use the normal '595 chips. Hopefully it will give you an idea of how to use the high power version.
Looking at your code now, I'd say you're not even close to controlling the chip. I don't see the data line being pulses at all.
I used the TPIC6B595 to control some RGB arrays.
How are you powering the anodes? The BS2 can directly drive one LED but you don't want to power a whole row of LEDs with a BS2 I/O pin.
I with that chip that I am using, I'm not sure what to do with
RCK, GNOT and SRCLRNOT
here is some updated code
But I will take a loot at your tutorial
And, do you have the 595 datasheet?
http://www.ti.com/lit/ds/symlink/tpic6b595.pdf
The descriptions of the noted pins are on the first page.
I was able to get it to cycle the way that I wanted, you've been a huge help so far!
I will try to get schematics and hopefully show the complete project over the course of the next few days!
Looking forward to seeing the completed project.
Do you feel successful enough to make this thread as "solved"?
This is how the project is working so far.
http://www.youtube.com/watch?v=1b6zmg6YLLY&feature=youtu.be
I am using a MSGEQ7 to process incoming signals, but I am not seeing the outputs that I expected. With but with respect to the display shifting I am still having an issue with the columns turning off before I would like them too creating a "dim effect".
There are probably some timing issues that I am overlooking. Due to time constraints I may switch to an arduino to utilize a Fourier transform library to process the signal and simplify my A/D conversion process as well.
I am able to adjust the bands using a potentiometer for now.