Thanks Mac,
I'll do the search I followed the other offered link but it only lead to
a description of what an LFSR was.
As to the Schematic aspect I'm pretty sure I can, I mean normally I can
but I would have to see the schematic first. Single or double sided
boards are not a problem I do things in a quasi old fashioned way of
doing the work in Corel Draw or Illustrator and then would just photo
etch the pcb or might have it laser cut if really detailed and with
tight register.
As to the out puts I'm flexible at this point say 5 LED's and 5 EL
wires. if it looks good and actually works I might look into expanding
it. And seeing as the EL wire uses an inverter I would use dual
inverters to reduce the bulk and just place the relays for them between
the inverters and the EL Wires themselves that way at any point an EL
Wire can light and will not have to wait for a possible slow inverter.
For the flash rate I would thing 1Hz or lower would make for a nice
color change and not be to strobe like.
Thanks again
Richard
I'll try describing this in words. Not sure I have time to make a real
schematic.
You need a 10-bit D flip-flop. Each D flip flop has an input (D) and an
output (Q). In most cases you want to connect the output to the input of
the next flip flop. For example, you want to connect Q1 to D2, and Q2 to
D3, etc.
I think this part, which has 10 D flip-flops on it will work:
74AC821
There are a variety of parts that are 74[something]821. Almost any of them
will probably work.
For D1, you need to do something different. You want to hook up Q10 xor Q7
to D1.
You will need an xor gate for this. The 74AC86 should do it. Or
74[something]86.
You will need to regulate the 9V down to 5V. Try a 7805 for this. Tie the
unused inputs to ground.
You will need a clock. You can design a clock with a Schmitt trigger
inverter, a resistor and a capacitor. A Schmitt trigger might be the
74AC14. The AC could be something else, just like the other parts. You can
experiement with resistor and capacitor values. Maybe 100 K and 10 uF to
start with. To go faster, use smaller resistors or smaller capacitors.
There is one other issue, which is that LFSR's can get stuck if they ever
get into a state where all bits are zero. You either have to detect that
state, and force one of the bits to 1 when it happens, or provide a
push-button which forces one of the bits to 1, or something. Probably this
can be done with a pushbutton and one of the extra XOR gates.
Let me know if you need more guidance. Or maybe you can try to draw a
schematic and post it, somehow, then people can provide corrections or
suggestions.
Q1 through Q10 are your logic outputs. Many logic families can drive an
LED (with a suitable resistor in series). So you could hook your LED's up
to these outputs directly.
That's all I have time for at the moment.
--Mac