The present invention is a device that judges a person's wakefulness and/or alertness by testing the said person's short-term memory. This test of short-term memory is operationalized first through the generation of a random (or pseudo-random) pattern (by an embedded micro-controller 4, an ASIC, etc) which is then output to the said person (via displays 1, placed lights 1, audio, etc.) for a chosen period of time. Second, the person must attempt to repeat the aforementioned pattern from memory (via inputs associated with possible said outputs, such as pushbuttons 2). Lastly, the generated (and output) pattern is compared (by an embedded micro-controller 4, an ASIC, etc) to that of the person's input.
If the two patterns (the generated and the input by person) are identical, then it is determined to a calculatedly degree of certainty that the person was awake and alert enough to memorize and repeat back the generated pattern. At this point, after it is determined that the person is awake/alert (to a calculatedly degree), the inputs 3(i.e. controls) for the electronic or electrical/mechanical device (e.g. alarm clock radio) are completely or partially activated (e.g. snooze button 3 of alarm clock radio becomes functional).
If the two aforementioned patterns do not match then either all inputs (i.e. controls 3) or a decided portion of inputs on the electronic or electrical/mechanical device (e.g. alarm clock radio) are kept in a disabled state.
Patterns which are easy to repeat by idle trials may be filtered out of use by software algorithms or other means, such that, a pattern will not be able to be successfully repeated by depressing a single button (or other input) in succession (as defined for each implementation, which may range from 2 times to the number of times required to complete a pattern).
With the present invention as a part of the design of devices that have inputs, accidental and unconscious input manipulations are reduced (at a calculatedly rate). This could improve usability, convenience, safety, productivity, or any combination thereof for the said device.