Autor Thema: random switching  (Gelesen 5153 mal)

Offline webweave

  • Newbie
  • *
  • Beiträge: 16
random switching
« am: August 23, 2005, 20:53:46 Nachmittag »
Hi easy folks.
I have an 719 DC-RC and would apreciate some help.
Here is an example of what I am trying to do.

Bringing I1 high will close Q1 or Q2 or Q3 or Q4 (any one and only one) in a somewhat random fashon every time I1 goes high.

Any ideas?
Thanks for your time.
Brian

Offline RogerP

  • Newbie
  • *
  • Beiträge: 18
Re: random switching
« Antwort #1 am: August 24, 2005, 12:31:02 Nachmittag »
How about having a timer running continuously, and comparing the actual value of the timer with some known constants, and switching the outpit depending on which value is true.

For instance, if timer is say 1 sec, and actual value is between 0 and 300 ms, then switch Q1, if it's 300 to 500 ms switch Q2, and so on.

Depends on how random you want it to be I suppose.

Offline webweave

  • Newbie
  • *
  • Beiträge: 16
Re: random switching
« Antwort #2 am: August 24, 2005, 18:22:34 Nachmittag »
Interesting idea Roger, what is the "known constant" for?

Offline webweave

  • Newbie
  • *
  • Beiträge: 16
Re: random switching
« Antwort #3 am: August 24, 2005, 18:28:01 Nachmittag »
I found this thread.  http://easy-forum.net/index.php?topic=898.0

This might be the way to go. Anyone know any other examples of shift registers?

Thanks,
Brian

Offline webweave

  • Newbie
  • *
  • Beiträge: 16
Re: random switching
« Antwort #4 am: August 29, 2005, 18:11:32 Nachmittag »
It appears that to build shift registers I need relays with seperate set and reset contacts which the 700 lacks. Does anyone know of another way to do this that will work on a 700?