G
Guest
Guest
Archived from groups: alt.comp.hardware.homebuilt (More info?)
I'm trying to build a simple computer controled led driver using sipo
shift registers. I have got it to work great using the parallel port
as I can control the input lines easily, however am having difficulty
understanding and implementing a version that would use the serial
port. I would prefer not to have to use a uC for this as I want to
keep it as cheap and easy to do and so that others, that don't have a
programmer, could make it. I am using latching shift registers so in
total I use 4 lines: input, clock, latch, and reset. Reset is kindof
optional but I prefer to be able to controll it from the program as
well.
I'm having a couple issues, 1) How do I generate the clock signal when
using a DB9 connector that doesn't have one suplied. 2) How and when
would the latch need to be triggered, i.e. when do I know all the data
has been recieved?
I could think that using a resonator could generate the clock signal
though I don't know how to do that exactly. I would think that a
counter (chained flip-flops or the like) would work for trigerring the
latch, however that would (I think) imply that you are constantly
sending data, ideally only changes would be sent.
Not that it matters, but this is intended for use on linux systems as a
visual indication of mythtv's recording schedule, disk usage, etc. But
the hardware for it should be generic enough that it could be used to
indicate virtually anything.
Any ideas would be great, if someone has created a microcontroller-less
serial peripheral I would really like to see the schematic or hear your
comments.
Thanks
-john
PRR
I'm trying to build a simple computer controled led driver using sipo
shift registers. I have got it to work great using the parallel port
as I can control the input lines easily, however am having difficulty
understanding and implementing a version that would use the serial
port. I would prefer not to have to use a uC for this as I want to
keep it as cheap and easy to do and so that others, that don't have a
programmer, could make it. I am using latching shift registers so in
total I use 4 lines: input, clock, latch, and reset. Reset is kindof
optional but I prefer to be able to controll it from the program as
well.
I'm having a couple issues, 1) How do I generate the clock signal when
using a DB9 connector that doesn't have one suplied. 2) How and when
would the latch need to be triggered, i.e. when do I know all the data
has been recieved?
I could think that using a resonator could generate the clock signal
though I don't know how to do that exactly. I would think that a
counter (chained flip-flops or the like) would work for trigerring the
latch, however that would (I think) imply that you are constantly
sending data, ideally only changes would be sent.
Not that it matters, but this is intended for use on linux systems as a
visual indication of mythtv's recording schedule, disk usage, etc. But
the hardware for it should be generic enough that it could be used to
indicate virtually anything.
Any ideas would be great, if someone has created a microcontroller-less
serial peripheral I would really like to see the schematic or hear your
comments.
Thanks
-john
PRR