74HC595 driver or Darlington array ?
Areal Person
Posts: 197
Hi,
·
I’m building a simple 8x24 led matrix multiplexer using· a TLC4950 which controls the led cathodes.
However, because it’s a common anode IC I need a way to select the desired anode for any one single led channel.
·
I’m not sure if I should (or can) use a 74HC595 or a Darlington array
to select the correct anode ?
·
I’ve been searching through the forum(s) and have found several code/example sources for the HC595 using the basic stamp.
e.g
http://forums.parallax.com/showthread.php?p=666544
http://forums.parallax.com/showthread.php?p=674940
and others… StampWorks experiment #23b
·
I know the HC595 can be used as a I/O port expander for the propeller.
However, I can’t find a Propeller driver for the 74HC595.
·
It’s currently my assumption that in order to use the 595 with the propeller, I would need to code a driver in ASM.
·
Is this correct ?
Is this my only option ?
·
I don’t have the skill or the project time to learn assembly (I think) for this.
I would like to write a driver, but it would take me a month or more. (I really
····· have no idea how long it would take me, because I know nothing about asm or driver coding).
·
What should I do ?
·
Thanks for the help,
-Areal
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I have a tree growing out of my head, but
what do you expect ? I'm a programmer.
·
I’m building a simple 8x24 led matrix multiplexer using· a TLC4950 which controls the led cathodes.
However, because it’s a common anode IC I need a way to select the desired anode for any one single led channel.
·
I’m not sure if I should (or can) use a 74HC595 or a Darlington array
to select the correct anode ?
·
I’ve been searching through the forum(s) and have found several code/example sources for the HC595 using the basic stamp.
e.g
http://forums.parallax.com/showthread.php?p=666544
http://forums.parallax.com/showthread.php?p=674940
and others… StampWorks experiment #23b
·
I know the HC595 can be used as a I/O port expander for the propeller.
However, I can’t find a Propeller driver for the 74HC595.
·
It’s currently my assumption that in order to use the 595 with the propeller, I would need to code a driver in ASM.
·
Is this correct ?
Is this my only option ?
·
I don’t have the skill or the project time to learn assembly (I think) for this.
I would like to write a driver, but it would take me a month or more. (I really
····· have no idea how long it would take me, because I know nothing about asm or driver coding).
·
What should I do ?
·
Thanks for the help,
-Areal
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I have a tree growing out of my head, but
what do you expect ? I'm a programmer.
Comments
It’s currently my assumption that in order to use the 595 with the propeller, I would need to code a driver in ASM.
Wrong.· The 595 can be driven using the object BS2.Functions and the contained shiftout methods.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
(b) Your application is a classical case for decoders and not for shift registers, there are encoders with open collectors that may simplify your business. Edit: No, they will most likely not
(c) One or two weeks ago there was a very instructive thread about using a 64 key matrix exactly using those shift registers.. The person has a "driver" and "know-how"
Post Edited (deSilva) : 10/17/2007 10:43:54 PM GMT
Does this help??
BTW, what's a TLC4950? (or do you mean TLC5940?)
*Peter*
·
I was able to successfully connect the 595 to the propeller using the BS2
functions. It was very easy to do.
·
I’m not sure if this will be the chip I will finally use with the TLC5940, but I’ll
let everyone know.
·
Thanks ! That really helped.
-Areal
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I have a tree growing out of my head, but
what do you expect ? I'm a programmer.