Re: Random timer!
- From: John Fields <jfields@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 02 Jun 2007 04:26:43 -0500
On Fri, 01 Jun 2007 22:37:08 +0100, Baron
<baron.nospam@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hello John,
John Fields inscribed thus:
On Thu, 31 May 2007 22:53:56 +0100, Baron
<baron.nospam@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi Guys,
I'm looking for ideas here. I am trying to figure out how to make a
random interval timer! Something that will trigger an indicator
after a random period of time. Ideally 1 to 15 seconds after a
button is pushed.
---
Do you want it to be an integral number of seconds from when the
button is pushed or are you looking for a pulse with a truly random
width starting 1 second after the button is pushed and ending at any
time up to and including 15 seconds after the button was pushed?
Better yet, what's your application?
--
JF
This is intended as a reaction timing device. The user pushes a
button and after a random delay, pops a light on and starts a
counter. The user presses a second button that stops and freezes the
counter. A little like the "Simon" toy but with a counter instead of
a buzzer. Fixed delays ie 1, 2, 4 etc seconds is easy. I didn't
think a random delay would be so hard !
---
It isn't, it's just that your description is confusing and isn't
detailed enough to allow a design to be done.
From your second description I take it that you want a device which,after a button (START) is pushed, waits for between 1 second and 15
seconds to turn on a light and simultaneously start a counter then,
when a second button (STOP) is pressed, stops the counter while
preserving the value of the count it has accumulated.
What you haven't said is whether you want the delay to occur in
random increments of one second and what granularity you want from
the reaction time counter. That is, 1s? 100ms? 10ms? ???
You also haven't addressed how you want the reaction time counter to
be reset if you're doing multiple runs.
A good way to do it would be to have the START button do it at the
beginning of each run, unless you have a better idea.
--
JF
.
- Follow-Ups:
- Re: Random timer!
- From: John Fields
- Re: Random timer!
- References:
- Random timer!
- From: Baron
- Re: Random timer!
- From: John Fields
- Re: Random timer!
- From: Baron
- Random timer!
- Prev by Date: Re: Current - vs - Voltage
- Next by Date: Re: Random timer!
- Previous by thread: Re: Random timer!
- Next by thread: Re: Random timer!
- Index(es):
Loading