WO1987001486A1 - Electronic sequencing and exercising apparatus - Google Patents

Electronic sequencing and exercising apparatus Download PDF

Info

Publication number
WO1987001486A1
WO1987001486A1 PCT/GB1986/000495 GB8600495W WO8701486A1 WO 1987001486 A1 WO1987001486 A1 WO 1987001486A1 GB 8600495 W GB8600495 W GB 8600495W WO 8701486 A1 WO8701486 A1 WO 8701486A1
Authority
WO
WIPO (PCT)
Prior art keywords
station
mov
stations
control unit
central control
Prior art date
Application number
PCT/GB1986/000495
Other languages
French (fr)
Inventor
Richard William Caie
Original Assignee
Richard William Caie
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Richard William Caie filed Critical Richard William Caie
Publication of WO1987001486A1 publication Critical patent/WO1987001486A1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B69/00Training appliances or apparatus for special sports
    • A63B69/0053Apparatus generating random stimulus signals for reaction-time training involving a substantial physical effort
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B69/00Training appliances or apparatus for special sports
    • A63B69/0028Training appliances or apparatus for special sports for running, jogging or speed-walking

Definitions

  • This invention relates to an electronic sequencing apparatus of the kind comprising a plurality of stations, each provided with a switching device, station selecting means, indicating means for providing a sensorially perceptible indication of a station selected with the aid of said station selecting means and link means providing communication between said stations so that, in use of the device, actuation of the switching device at a selected station by a user either enables another indication of a selected station by said indicating means or terminates further station selection.
  • the apparatus is intended as an exercising apparatus to improve or maintain the physical and mental agility of a user and has particular reference to attaining or maintaining "squash" fitness in an individual using the apparatus by encouraging bending, stretching and jumping exercises. Regular use of the apparatus is also intended to improve or maintain the user's cardiovascular system and to increase the user's metabolic rate.
  • an electronic sequencing apparatus comprising a plurality of stations each provided with a switching device, station selecting means, indieating means for providing sensoriaily perceptible indication of a station selected with the aid of said station selecting means and link means providing communication between said stations so that, in use of the device, actuation of the switching device at a selected station by a user either enables another indication of a selected station by said indicating means or terminates further station selection, is characterised in that said stations are independently movable so as to be positionable at different spaced apart locations relative to each other.
  • the stations are positionable out of arms length from each other so that a user has to move bodily from station to station to operate the different switching devices instead of being positioned in a central position where he can reach each station switching device without having to move bodily from the central position.
  • the link means includes a central control unit and communication means for placing each station in communication with the central control unit.
  • the central control unit may house one of the stations or may be independent from the stations.
  • the communication means may comprise lengths of cable connecting either directly or indirectly, the stations with the central control unit. Each cable is conveniently at least 1 m, and preferably at least 2 m, in length.
  • each connecting cable has a length of 2 m and five stations are provided, the stations can be equally spaced in a circle about the central control unit, with adjacent stations spaced approximately 2.35 m from each other.
  • the communication means may comprise means for transmitting and receiving pulses of radiation (e.g. infra-red, visible light or ultra sound) for linking the various stations.
  • the station selecting means comprises random generating means.
  • the station selecting means may include means for cycling through a predetermined selection of stations.
  • the apparatus may be manually set so that the station selecting means (i) selects a predetermined number of random station selections;
  • a timing device may provide a completed time and/or be used to determine whether station selection has been achieved within a target time. Furthermore, the number of switching device actuations correctly made can be indicated on display means.
  • said indicating means comprise a separate indicating device or devices at each station.
  • the indicating device(s) at each station may comprise a light, e.g. a light emitting diode, and/or a buzzer or other sound generating device.
  • these may be designed to emit different sounds (e.g. different pitches or tones) to identify different stations.
  • the indicating means could be provided at a single location, with station indication being provided visually (e.g. by different coloured lights or by illuminated numbers) and/or audibly (e.g. by a voice synthesizer chip) to identify the selected station.
  • the number of stations used is not critical although in general between three and seven stations would cover most practical embodiments of device in accordance with the invention.
  • a central control unit may be incorporated in one of the stations or a completely separate control unit may be provided linked to each of the plurality of stations.
  • the link means comprise lengths of cables these are conveniently provided with plugs which are detachably inserted into sockets provided in the central control unit. Additional sockets may be provided in the central control unit to enable the connection of equipment accessories.
  • the apparatus could be designed to respond to the sensing of the operation of an accessory.
  • Typical accessories may include compressible springs or a weight which is intended to be lifted up a shaft.
  • both visual and auditory indicating means are provided on each station
  • switch means whereby the user can determine prior to each use whether he wishes either or both of the indicating means on each station to be operational.
  • Such a facility enables a user to exercise without noise (if circumstances make this desirable) or to have some stations indicating their activation differently from the others, so that a more complex exer cise routine can be performed, a different response being called forth from stations giving one form of activation indication than from stations giving a different form of activation indication.
  • the switching device on some or all of the indicating stations can be designed to be contacted by a squash racquet if the device is intended as a trainer for squash players since it aids in the development of agility for playing the game of squash if exercising can be effected holding a racquet.
  • the switching devices may be designed to be actuated by operation of accessories, e.g. by lifting a weight up a shaft or by compressing a spring device.
  • Figure 1 shows a schematic representation in plan of apparatus according to the invention set out for use
  • Figure 2 shows a schematic circuit diagram of electronic circuitry housed within a central control unit of the apparatus shown in Figure 1;
  • Figure 3 shows a schematic circuit diagram of the electrical connections of the outstations of the apparatus shown in Figure 1.
  • Electronic sequencing apparatus in the form of an exercise device is shown in Figure 1 and comprises five outstations or units 10 and a central control unit 12. Each unit 10 is connected via a cable 14 to the unit 12 and includes a touch switch 16 and a light 18, e.g. in the form of an LED.
  • a buzzer 17 (see Figure 3) is included in each unit 10 and sound therefrom passes out of the unit via a grille 20.
  • the sound emitted from the buzzers may be mutually different (e.g. of different pitches or tones) to assist in identification of the unit 10 from which the sound is emitted.
  • the units 10 may be waterproof to prevent sweat from entering into them.
  • an electronic circuit 40 for feeding energising signals in a sequence, e.g. a random sequence, via the cables 14 to different ones of the units 10.
  • the energising signals are fed to the units 10 one at a time, the actuation of the touch switch 16 at a particular unit 10 triggering off the emission of the next energising signal in the sequence to one of the units 10.
  • the electronic circuit in the illustrated device is powered from a battery or batteries, although mains powered versions of the device can also be provided.
  • the units 10 are spread around the exercise area as the user wishes and the control unit 12 is switched on. After a preset delay, one of the units 10 will buzz and/or the light 18 thereon will become illuminated and the user is required to move to that unit 10 and touch the switch 16 thereof to deactivate it.
  • the user is encouraged to stretch, run and bend from unit to unit.
  • Switch 24 is an on/off switch having an associated light emitting diode 25 energisedwhen the switch 24 is "on”.
  • Switch 26 is a replay button which enables the user to replay the exercise selected.
  • the switch 28 is a five-position selector which can be used to set different exercise routines (as described in more detail hereinafter).
  • the knob 30 can be used to vary the volume of all the buzzers.
  • the displays 32 and 34 each comprise a seven-segment LED display (Type 4, common cathode) for enabling the number of switches 16 which have been correctly actuated during a particular exercise routine to be displayed.
  • the five outstations or units 10 are randomly activated, each correct deactivation of a unit 10 by depression of the switch 16 causing the displays 32, 34 to register the total number of correct deactivations.
  • the displays 32, 34 display up to 99 deactivations at which time they restart the count at 00. The count is continued indefinitely until either the replay button (switch 26) is operated or the on/off switch 24 is switched to its "off" position.
  • the five outstations or units 10 are randomly acti vated for a predetermined number, e.g. ten, of activations. If these activations are correctly deactivated within a target time, e.g. 30 s for ten activations, the sounder 36 emits a high tone. If the target time is not beaten, the sounder 36 emits a low tone.
  • Routine 3 The same as Routine 2 but the target times are less.
  • the target time for Routine 3 is typically 25 s and for Routine 4 is typically 20 s.
  • the five outstations or units 10 are activated in a selected sequence, e.g. of ten activations, and the same sequence is cycled indefinitely until either the replay button (switch 26) is operated or the on/off switch 24 is switched to its "off" position.
  • the displays 32, 34 are activated as in Routine 1 to count the number of correct deactivations. The use of the replay button 26 preferably does not activate the display.
  • the electronic circuit 40 uses a microprocessor 42 (Intel P80C31BH) to control the operation of the exercise device and is powered by four AA batteries 44 giving a d.c. supply voltage V+ of approximately 5 volts.
  • the switch 26 is connected directly to the microprocessor 42 and the switch 28 is connected to the microprocessor 42 via a semiconductor encoder device 46 (type 4532B).
  • An EPROM device 48 (type D87C64-3) stores the program for the microprocessor 42 and the displays 32 and 34 are also connected to the latter via semiconductor decoder devices 50 and 52 (type 4511), respectively.
  • Control signals to the outstations or units 10 are supplied from the microprocessor 42 via a semiconductor analogue switch device 54 (type 4051) and transistor bank 56 to the outputs A to E.
  • the control knob 30 operates a variable resistor 58 for controlling the loudness of the sounder 36 which is also connected to the transistor bank 56.
  • Earth output G and d.c. supply output F are also provided in the circuit 40.
  • microprocessor 42 is programmed to operate in the desired manner and a suitable assembly program is provided at the end of the description.
  • the exercise device described may be modified in many ways.
  • the microprocessor is preferably programmed so as not to activate the same outstation in successive activations, it will be appreciated that this is not essential and* that in some instances it may be desirable to have the same outstation successively activated.
  • the central control unit 12 or each of the various outstations or units 10 could be provided with a further selector switch (not shown) to enable a user to select just light 18 activation, just buzzer activation, or both at each outstation or unit 10.
  • a fewer number, e.g. one, of the described exercise routines may be programmed into the microprocessor 42. Normally from 3 to 7 outstations are provided but other numbers of outstations may be provided.
  • push button switches 16 other types of switches can be used at the various outstations. For example switches which are actuated on operation of exercising equipment, e.g. compression of springs or lifting of weights, may be provided.
  • the plug-in cables 14 are preferably arranged to be of such a length as to ensure that a user has to move bodily from outstation to outstation.
  • the cables will be at least 1 m, e.g. 2 m, in length but may have a much greater length, e.g. 25 m or more, where it is desirable to have exercise routines involving short sprints or runs between the various outstations.
  • signals could be communicated by infra-red, ultra sound or some other radiation transmission/reception system.
  • outstations may be provided with means (e.g. a key-hole shaped socket) to facilitate their attachment to a surface (e.g. a wall).
  • means e.g. a key-hole shaped socket
  • the control unit 12 may incorporate a delay device (e.g. of between 30 and 60 seconds) to enable a potential user to "warm-up" after switching on the circuit 40 and before exercising on the apparatus.
  • a delay device e.g. of between 30 and 60 seconds
  • the electronic sequencing apparatus of the invention finds application as an exercising device for improving or maintaining the physical and mental agility of a user. 2500 A.D. 8051 CROSS ASSEMBLER - VERSION 3.01f

Abstract

Electronic sequencing apparatus for use as an exercising device comprising a plurality of stations (10) each provided with a switching device (16), station selecting means, indicating means (17, 18) for providing a sensorially perceptible indication of a station selected with the aid of the station selecting means and link means (12, 14) providing communication between the stations. The stations (10) are movably positionable relative to each other and are activated in a sequence determined by the station selecting means. Deactivation of a station (10) by actuation of its switching device (16) triggers the next activation of a station (10) in the sequence.

Description

ELECTRONIC SEQUENCING AND EXERCISING APPARATUS
Technical Field
This invention relates to an electronic sequencing apparatus of the kind comprising a plurality of stations, each provided with a switching device, station selecting means, indicating means for providing a sensorially perceptible indication of a station selected with the aid of said station selecting means and link means providing communication between said stations so that, in use of the device, actuation of the switching device at a selected station by a user either enables another indication of a selected station by said indicating means or terminates further station selection. The apparatus is intended as an exercising apparatus to improve or maintain the physical and mental agility of a user and has particular reference to attaining or maintaining "squash" fitness in an individual using the apparatus by encouraging bending, stretching and jumping exercises. Regular use of the apparatus is also intended to improve or maintain the user's cardiovascular system and to increase the user's metabolic rate.
Background Art An electronic sequencing apparatus of the kind referred to and in the form of a hand-held electronic game apparatus is disclosed in GB-A-2,068,744. In this known game apparatus, a number of stations are housed in a portable hand-held housing. In one of the various games described the stations are illuminated and emit corresponding tones in a random sequence. The aim of the game is for a player to operate within a certain time a switch associated with any station which becomes iluminated and emits a tone. Operation of the switch causes the station light and tone to be turned off and the next station in the random sequence to be illuminated and to emit a tone. The length of time that each station is illuminated becomes increasingly shorter as the game proceeds and the game continues as long as the player responds correctly. However, although this known game apparatus tests the manual dexterity of a player it does not cause the player any great physical exertion since the various stations occupy fixed relative positions close to each other.
Disclosure of the Invention
According to the invention an electronic sequencing apparatus comprising a plurality of stations each provided with a switching device, station selecting means, indieating means for providing sensoriaily perceptible indication of a station selected with the aid of said station selecting means and link means providing communication between said stations so that, in use of the device, actuation of the switching device at a selected station by a user either enables another indication of a selected station by said indicating means or terminates further station selection, is characterised in that said stations are independently movable so as to be positionable at different spaced apart locations relative to each other.
Preferably the stations are positionable out of arms length from each other so that a user has to move bodily from station to station to operate the different switching devices instead of being positioned in a central position where he can reach each station switching device without having to move bodily from the central position. Conveniently the link means includes a central control unit and communication means for placing each station in communication with the central control unit. The central control unit may house one of the stations or may be independent from the stations. The communication means may comprise lengths of cable connecting either directly or indirectly, the stations with the central control unit. Each cable is conveniently at least 1 m, and preferably at least 2 m, in length. Thus, for example, if the stations are each connected directly to the central control unit, each connecting cable has a length of 2 m and five stations are provided, the stations can be equally spaced in a circle about the central control unit, with adjacent stations spaced approximately 2.35 m from each other. Alternatively the communication means may comprise means for transmitting and receiving pulses of radiation (e.g. infra-red, visible light or ultra sound) for linking the various stations.
Preferably the station selecting means comprises random generating means. Alternatively, or in addition, the station selecting means may include means for cycling through a predetermined selection of stations. Typically the apparatus may be manually set so that the station selecting means (i) selects a predetermined number of random station selections;
(ii) selects an indefinite selection of random station selections; or
(iii) selects a predetermined sequence of station selections and either repeats the predetermined station selection indefinitely or terminates the station selection after one or a number of cycles.
If condition (i) is pre-set, a timing device may provide a completed time and/or be used to determine whether station selection has been achieved within a target time. Furthermore, the number of switching device actuations correctly made can be indicated on display means.
Preferably said indicating means comprise a separate indicating device or devices at each station. For example the indicating device(s) at each station may comprise a light, e.g. a light emitting diode, and/or a buzzer or other sound generating device. In order to assist station identification when sound generating devices are employed these may be designed to emit different sounds (e.g. different pitches or tones) to identify different stations. Although preferred, it is not essential for separate indicating device(s) to be provided at each station. Thus the indicating means could be provided at a single location, with station indication being provided visually (e.g. by different coloured lights or by illuminated numbers) and/or audibly (e.g. by a voice synthesizer chip) to identify the selected station.
The number of stations used is not critical although in general between three and seven stations would cover most practical embodiments of device in accordance with the invention. As previously mentioned, where a central control unit is provided, this may be incorporated in one of the stations or a completely separate control unit may be provided linked to each of the plurality of stations. When the link means comprise lengths of cables these are conveniently provided with plugs which are detachably inserted into sockets provided in the central control unit. Additional sockets may be provided in the central control unit to enable the connection of equipment accessories. For example the apparatus could be designed to respond to the sensing of the operation of an accessory. Typical accessories may include compressible springs or a weight which is intended to be lifted up a shaft.
Where both visual and auditory indicating means are provided on each station, it may be desirable to provide the apparatus with switch means whereby the user can determine prior to each use whether he wishes either or both of the indicating means on each station to be operational. Such a facility enables a user to exercise without noise (if circumstances make this desirable) or to have some stations indicating their activation differently from the others, so that a more complex exer cise routine can be performed, a different response being called forth from stations giving one form of activation indication than from stations giving a different form of activation indication.
The switching device on some or all of the indicating stations can be designed to be contacted by a squash racquet if the device is intended as a trainer for squash players since it aids in the development of agility for playing the game of squash if exercising can be effected holding a racquet. Alternatively the switching devices may be designed to be actuated by operation of accessories, e.g. by lifting a weight up a shaft or by compressing a spring device.
Brief Description of the Drawings
Embodiments of apparatus in accordance with the invention will now be described, by way of example, with reference to the accompanying drawings, in which:
Figure 1 shows a schematic representation in plan of apparatus according to the invention set out for use;
Figure 2 shows a schematic circuit diagram of electronic circuitry housed within a central control unit of the apparatus shown in Figure 1; and
Figure 3 shows a schematic circuit diagram of the electrical connections of the outstations of the apparatus shown in Figure 1.
Modes for Carrying Out the Invention Electronic sequencing apparatus in the form of an exercise device is shown in Figure 1 and comprises five outstations or units 10 and a central control unit 12. Each unit 10 is connected via a cable 14 to the unit 12 and includes a touch switch 16 and a light 18, e.g. in the form of an LED. A buzzer 17 (see Figure 3) is included in each unit 10 and sound therefrom passes out of the unit via a grille 20. Optionally the sound emitted from the buzzers may be mutually different (e.g. of different pitches or tones) to assist in identification of the unit 10 from which the sound is emitted. The units 10 may be waterproof to prevent sweat from entering into them.
Within the central unit 12 is an electronic circuit 40 (see Figure 2) for feeding energising signals in a sequence, e.g. a random sequence, via the cables 14 to different ones of the units 10. The energising signals are fed to the units 10 one at a time, the actuation of the touch switch 16 at a particular unit 10 triggering off the emission of the next energising signal in the sequence to one of the units 10. The electronic circuit in the illustrated device is powered from a battery or batteries, although mains powered versions of the device can also be provided.
To use the device, the units 10 are spread around the exercise area as the user wishes and the control unit 12 is switched on. After a preset delay, one of the units 10 will buzz and/or the light 18 thereon will become illuminated and the user is required to move to that unit 10 and touch the switch 16 thereof to deactivate it.
As one unit 10 is deactivated, the electronic circuit
40 of the central control unit 12 causes a further unit
10 to be activated, optionally after a short delay of indeterminate period, requiring a similar deactivating response from the user.
By locating the units 10 at widely spaced locations (and possibly at different levels in the exercise area), the user is encouraged to stretch, run and bend from unit to unit.
Various degrees of sophistication are clearly possible with a device according to the invention and some of these are indicated by switches 24, 26 and 28, control knob 30, displays 32 and 34 and sounder 36 (see Figure 2) beneath a grille 38. Switch 24 is an on/off switch having an associated light emitting diode 25 energisedwhen the switch 24 is "on". Switch 26 is a replay button which enables the user to replay the exercise selected. The switch 28 is a five-position selector which can be used to set different exercise routines (as described in more detail hereinafter). The knob 30 can be used to vary the volume of all the buzzers. The displays 32 and 34 each comprise a seven-segment LED display (Type 4, common cathode) for enabling the number of switches 16 which have been correctly actuated during a particular exercise routine to be displayed.
The different exercise routines which can be set by the switch 28 are described in more detail below.
Routine 1
The five outstations or units 10 are randomly activated, each correct deactivation of a unit 10 by depression of the switch 16 causing the displays 32, 34 to register the total number of correct deactivations. The displays 32, 34 display up to 99 deactivations at which time they restart the count at 00. The count is continued indefinitely until either the replay button (switch 26) is operated or the on/off switch 24 is switched to its "off" position.
Routine 2
The five outstations or units 10 are randomly acti vated for a predetermined number, e.g. ten, of activations. If these activations are correctly deactivated within a target time, e.g. 30 s for ten activations, the sounder 36 emits a high tone. If the target time is not beaten, the sounder 36 emits a low tone.
Routines 3 and 4
The same as Routine 2 but the target times are less. For ten activations, the target time for Routine 3 is typically 25 s and for Routine 4 is typically 20 s.
Routine 5
The five outstations or units 10 are activated in a selected sequence, e.g. of ten activations, and the same sequence is cycled indefinitely until either the replay button (switch 26) is operated or the on/off switch 24 is switched to its "off" position. The displays 32, 34 are activated as in Routine 1 to count the number of correct deactivations. The use of the replay button 26 preferably does not activate the display.
One practical form of electronic circuitry for the exercise device described with reference to Figure 1 is shown in Figures 2 and 3, the electronic circuit 40 housed within the central control unit 12 being shown in Figure 2 and the outstation electrical circuit connections being shown in Figure 3.
The electronic circuit 40 uses a microprocessor 42 (Intel P80C31BH) to control the operation of the exercise device and is powered by four AA batteries 44 giving a d.c. supply voltage V+ of approximately 5 volts. The switch 26 is connected directly to the microprocessor 42 and the switch 28 is connected to the microprocessor 42 via a semiconductor encoder device 46 (type 4532B). An EPROM device 48 (type D87C64-3) stores the program for the microprocessor 42 and the displays 32 and 34 are also connected to the latter via semiconductor decoder devices 50 and 52 (type 4511), respectively. Control signals to the outstations or units 10 are supplied from the microprocessor 42 via a semiconductor analogue switch device 54 (type 4051) and transistor bank 56 to the outputs A to E. The control knob 30 operates a variable resistor 58 for controlling the loudness of the sounder 36 which is also connected to the transistor bank 56. Earth output G and d.c. supply output F are also provided in the circuit 40.
In Figure 3 the various outstations 10A-10E are depicted as being connected to each other by plug-in cables with only outstation 10A being connected directly via its plug-in cable to the outputs A to G of the central control unit 12. However it will be appreciated that each of the outstations 10A-10E could, instead, be connected directly via plug-in cables 14 to the central control unit 12 in the manner depicted in Figure 1. In this latter case the different plug-in cables 14 would be connected to different outputs A to E of the central control unit 12.
It will be appreciated that the microprocessor 42 is programmed to operate in the desired manner and a suitable assembly program is provided at the end of the description.
The exercise device described may be modified in many ways. For instance, although the microprocessor is preferably programmed so as not to activate the same outstation in successive activations, it will be appreciated that this is not essential and* that in some instances it may be desirable to have the same outstation successively activated. The central control unit 12 or each of the various outstations or units 10 could be provided with a further selector switch (not shown) to enable a user to select just light 18 activation, just buzzer activation, or both at each outstation or unit 10. In a less sophisticated exercise device, a fewer number, e.g. one, of the described exercise routines may be programmed into the microprocessor 42. Normally from 3 to 7 outstations are provided but other numbers of outstations may be provided. Instead of push button switches 16, other types of switches can be used at the various outstations. For example switches which are actuated on operation of exercising equipment, e.g. compression of springs or lifting of weights, may be provided.
It should be mentioned that the plug-in cables 14 are preferably arranged to be of such a length as to ensure that a user has to move bodily from outstation to outstation. Typically the cables will be at least 1 m, e.g. 2 m, in length but may have a much greater length, e.g. 25 m or more, where it is desirable to have exercise routines involving short sprints or runs between the various outstations. It will of course be appreciated that instead of having cable interconnections between the outstations and the central control unit, signals could be communicated by infra-red, ultra sound or some other radiation transmission/reception system.
Some or all of the outstations may be provided with means (e.g. a key-hole shaped socket) to facilitate their attachment to a surface (e.g. a wall).
The control unit 12 may incorporate a delay device (e.g. of between 30 and 60 seconds) to enable a potential user to "warm-up" after switching on the circuit 40 and before exercising on the apparatus.
Industrial Applicability
The electronic sequencing apparatus of the invention finds application as an exercising device for improving or maintaining the physical and mental agility of a user. 2500 A.D. 8051 CROSS ASSEMBLER - VERSION 3.01f
INPUT FILENAME : KFD3F.SRC OUTPUT FILENAME : KFD3F.CBJ
1 ; ***************************************************************
2 ; THE FOLLOWING PROGRAM USES THE INTEL 80C31 MICROCONTROLLER
3 ; TO CONTROL THE OPERATION OF A KEEP FIT DEVICE INCORPORATING
4 ; 5 MODES OF OPERATION.
5 ; MODE 1 RANDOMLY ACTIVATES THE 5 OUTSTATIONS AND DISPLAYS
6 ; THE CANCELLATIONS OF EACH ACTIVATION UP TO 99 AT WHICH POINT
7 ; THE DISPLAY ROLLS TO 00. THIS CONTINUES INDEFINITELY UNTIL
8 ; EITHER THE REPLAY BUTTON IS OPERATED OR THE UNIT IS
9 ; SWITCHED OFF.
10 ; MODE 2 RANDOMLY ACTIVATES THE 5 OUTSTATIONS FOR 10
11 ; ACTIVATIONS, IF THESE HAVE BEEN CANCELLED IN LESS THAN
12 ; 30 SECS A HIGH TONE IS GENERATED FROM THE CONTROL UNIT,
13 ; ALTERNATELY IF CANCELLATION HAS TAKEN LONGER THAN 30 SECS
14 ; THEN A LOW TONE IS GENERATED.
15 ; MODE 3 IS THE SAME AS MODE 2 BUT THE TARGET TIME IS 25 SECS.
16 ; MODE 4 IS THE SAME AS MODES 2 S 3 BUT THE TARGET TIME IS
17 ; 20 SECS.
18 ; MODE 5 ACTIVATES THE 5 OUTSTATIONS IN A SELECTED SEQUENCE
19 ; AND CONTINUES INDEFINITELY AS IN MODE 1.
20 ;
21 ; *****************************************************************
22 ;
23 ;
24 0021 HUND EQU 21H ;HUNDREDS DIG OF BCD COW.
25 0022 TENONE EQU 22H ;TENS & UNITS DIGS OF BCD CONV.
26 0023 FLAG1 EQU 23H ;REFLAY INTERRUPT FLAG.
27 0024 FLAG2 EQU 24H ;TARGET TIMEOUT FLAG FOR
28 ;MODES 2 3 & 4.
29 00 25 C0UN1 EQU 25H ;TARGET TIME LOCATION FOR
30 ;MODES 23 & 4.
31 0000 ORG OH
32 0000 02 00 30 LJMP 30H
33 0003 ORG Q3H
34 0003 02 02 9A LJMP SERVO ;CANCEL INTERRUPT BRANCH.
35 0013 ORG 13H 36 0013 02 02 7D LJMP SERV1 ;REPLAY INTERRUPT BRANCH. 37 001B ORG 1BH 38 001B 02 02 B2 LJMP TARG ;COUNTER OVERFLOW INTERRUPT 39 ;BRANCH FOR MODES 23 & 4. 40 0030 ORG 30H 41 0030 75 81 63 MOV SP,#99 ;STACK INITIALISATION. 42 0033 75 90 EF MOV P1,#OEFH ;INHIBIT OUTPUTS 43 0036 74 88 MOV A,#88H ;DISPLAY 8'S. 44 0038 F2 MOVX @RO,A 45 0039 75 89 11 MOV TMOD,#11H ;SET COUNTERS TO MODE 1. 46 003C 7E 1D MOV R6, #1DH ;LOAD 30 SEC COUNT REG. 47 003E 7F OA RSET2: MOV R7,#OA H ;LOAD 1 SEC COUNT REG. 48 0040 75 8C 3C RSET1 : MOV THO,#3CH ;SET TIMER 0 TO COUNT 49 0043 75 8A AD MOV TLO,#OADH ;100MS PERIODS. 50 0046 D2 8C SETS TRO ;START TIMER 0. 51 0048 20 8D 02 TEST: JB TFO,CEMPT ;CHECK FOR TIMER 0 OVERFLOW. 52 0043 80 FB SJMP TEST 53 004D C2 8C CEMPT: CLR TRO ;STOP TIMER 0. 54 004F C2 BD CLR TFO ;CLEAR OVERFLOW FLAG. 55 0051 1F DEC R7 ;DECREMENT 1 SEC COUNT REG. 56 0052 EF MOV A,R7 57 0053 70 EB JNZ RSET1 ;HAS 1 SEC PERIOD EXPIRED. 58 0055 1E DEC R6 ;DECREMENT 30 SEC COUNT PERIOD. 59 0056 EE MOV A,R6 60 0057 70 E5 JNZ RSET2 ;HAS 30 SEC COUNT PERIOD EXPIRED. 61 0059 74 00 MOV A,#OOH ;DISPLAY O'S. 62 005B F2 MOVX @RO,A 63 005C 75 A8 85 MOV IEE,#85H ;ENABLE CANCEL AND REPLAY INTERRUPTS. 64 005F D2 D4 SETS RS1 ;ENABLE REG BANK 2. 65 0061 7E 63 MOV R6,#63H ;LOAD TONE GENERATER PARAMETERS. 66 0063 7F 82 MOV R7,#82H 67 0065 7C 02 MOV R4,#02H 68 0067 7D FF MOV R5,#0FFH 69 0069 D2 8E SETB TR1 ;START RANDOM COUNT TIMER 1. 70 0063 75 90 FF MOV P1,#0FFH ;ENABLE CONTROL UNIT SOUNDER. 71 006E 12 02 3E LCALL SOUND ;CALL TONE GENERATION ROUTINE. 72 0071 75 90 EF MODE: MOV P1 ,#0EFH ;DISABLE ALL SOUND OUTPUTS. 73 0074 C2 D5 CLR FO ;CLEAR ETO & ET1 INTERRUPT FLAGS.
74 0076 74 00 MOV A,#OOH ;ZERO FLAG LOCATIONS FLAG1 & FLAG2.
75 0078 F5 23 MOV FLAG1,A
76 007A 75 24 00 MOV FLAG2,#OOH 77 007D E5 90 MOV A,P1 ;CHECK WHICH MODE IS SELECTED.
78 007F 54 E0 ANL A,#OE OH
79 0081 60 18 JZ MODE1 ;MODE 1 SELECTED.
80 0083 E5 90 MOV A,P1
81 0085 54 C0 ANL A,#OCOH
82 0087 60 23 JZ M0DE2 ;MODE 2 SELECTED.
83 0089 E5 90 MOV A,P1
84 0083 54 AO ANL A,#OAOH
85 008D 60 3C JZ MODE3 ;MODE 3 SELECTED.
86 008F E5 90 MOV A,P1
87 0091 54 80 ANL A,#80H
88 0093 60 55 JZ MODE4 ;MODE 4 SELECTED.
89 0O95 E5 90 MOV A,P1
90 0097 54 60 ANL A,#60H
91 0099 60 6E JZ MODE5 ;MODE 5 SELECTED..
92 ; 93 ; MODE 1 - RANDOM ACTIVATION OF OUTSTATIONS CONTINUES 94 ; INDEFINITLY UNTIL REPLAY SWITCH OPERATED. 95 ;
96 009B 7C 00 MODE1: MOV R4,#OOH ;DISPLAY O'S.
97 0O9D EC MOV A,R4
98 009E F2 MOVX @RO,A
99 009F 12 01 81 ACT: CALL RDCOUN CALL OUTSTATION ACTIVATION ROUTINE.
100 00A2 E5 23 MOV A,FLAG1 CHECK IF REPLAY BUTTON HAS
101 00A4 60 03 JZ REP BEEN OPERATED.
102 0OA6 02 00 9F LJMP MODE 60 TO MODE CHECK ROUTINE.
103 00A9 02 00 9F REP: LJMP ACT CONTINUE RANDOM OUTSTATION ACTIVATION.
104 ;
105 ; MODE 2 - RANDOMLY ACTIVATES THE OUTSTATIONS FOR 10
106 ; ACTIVATIONS GIVING PASS OR FAIL INDICATION
107 ; BASED ON 30 SEC TARGET. 108 ;
109 00AC 7C 00 M0DE2: MOV R4,#rOOH ;DISPLAY O'S. 110 00AE EC MOV A,R4
111 00AF F2 MOVX @RO,A
112 00B0 75 25 E5 MOV COUN1 ,#OE5H ; MOVE 30 SEC TARGET COUNT INTO COUN1.
113 0033 D2 AB SETB ET1 ; ENABLE TIMER 1 INTERRUPTS (131MS).
114 0GB5 12 01 81 ACT1: CALL RDCOUN ; CALL OUTSTATTCN ACTIVATION ROUTINE.
115 00B8 E5 23 MOV A,FLAG1 ; CHECK IF REPLAY SWITCH
116 00BA 60 03 JZ REP1 ; HAS BEEN OPERATED.
117 00BC 02 00 71 LJMP MODE ; GO TO MODE CHECK ROUTINE.
118 00BF EC REP1 : MOV A,R4 ; CHECK IF 10 OUTSTATION ACTIVATIONS
119 00C0 B4 OA F2 CJNE A,#OAH,ACT1 ; HAVE BEEN MADE.
120 00C3 C2 AB CLR ET1 ; DISABLE TIMER 1 INTERRUPTS.
121 00C5 12 01 59 CALL CHECK ; CALL TARGET CHECK ROUTINE.
122 00C8 02 00 71 UMP MODE ; 60 TO MODE SELECT ROUTINE.
123 ;
124 ; MODE 3 - RANDOMLY ACTIVATES THE OUTSTATIONS FOR 10 125 ; ACTIVATIONS GIVING PASS OR FAIL INDICATION 126 ; BASED ON 25 SEC TARGET. 127 ;
128 00CB 7C 00 M0DE3: MOV R4,#OOH ; DISPLAY O'S.
129 00CD EC MOV A,R4
130 00CE F2 MOVX @RO,A
131 00CF 75 25 BF MOV COUNl ,#CBFH ;MOVE 25 SEC TARGET COUNT INTO COUNl
132 00D2 D2 A3 SETB ET1 ; ENABLE TIMER 1 INTERRUPTS.
133 00D4 12 01 81 ACT2: CALL RDCOUN
134 00D7 E5 23 MOV A,FLAG1
135 00D9 60 03 JZ REP2
136 00DB 02 00 71 LJMP MODE
137 00DE EC REP2: MOV A,R4
138 00DF B4 OA F2 CJNE A,#OAH,ACT2
139 00E2 C2 AB CLR ET1
140 00E4 12 01 59 CALL CHECK
141 00E7 02 00 71 LJMP MODE
142 ;
143 ; MODE 4 - RANDOMLY ACTIVATES THE OUTSTATIONS FOR 10
144 ; ACTIVATIONS GIVING PASS OR FAIL INDICATION 145 ; BASED ON 20 SEC TARGET. 146 ;
147 00EA 7C 00 MODE4: MOV R4,#OOH ;DISFLLY O'S. 148 00EC EC MOV A,R4
149 00ED F2 MOVX S)RO,A
150 00EE 75 25 99 MOV COUN1 ,#99H ;MOVE 20 SEC TARGET COUNT INTO COUN1 .
151 00F1 D2 AB SETB ET1
152 00F3 12 01 81 ACT3: CALL RDCOUN
153 00F6 E5 23 MOV A,FLAG1
154 00F8 60 03 JZ REP3
155 00FA 02 00 71 LJMP MODE
156 00FD EC REP3: MOV A„R4
157 00FE B4 OA F2 CJNE A,#OAH,ACT3
158 0101 C2 A3 CLR ET1
159 0103 12 01 59 CALL CHECK
160 0106 02 00 71 LJMP MODE
161 ;
162 ; MODE 5 - ACTIVATES THE 5 OUTSTATIONS.IN A DEFINED 163 ; SEQUENCE OF 10 ACTIVATIONS CYCLING THROUGH 164 ; THE SAME SEQUENCE INDEFINITLY. 165 ;
166 0109 7C 00 M0DE5: MOV R4,#00H ;DISRLAY O'S.
167 010B EC MOV A,R4
168 010C F2 MOVX @RO,A
169 010D 12 01 B1 ACT4: CALL OUT1 ;SELECT OUTSTATION 1 .
170 0110 E5 23 MOV A,FLAG1 ; CHECK FOR OPERATION
171 0112 70 42 JNZ RMODE ;OF REPLAY SWITCH.
172 0114 12 01 D7 CALL OUT3 ; SELECT OUTSTATION 3.
173 0117 E5 23 MOV A,FLAG1
174 0119 70 33 JNZ RMODE
175 011B 12 01 C4 CALL 0UT2 ;SELECT OUTSTATION 2,
176 011E E5 23 MOV A,FLAG1
177 0120 70 34 JNZ RMODE
178 0122 12 01 FD CALL 0UT5 ;SELECT OUTSTATION 5,
179 0125 E5 23 MOV A,FL AG1
180 0127 70 2D JNZ RMODE
181 0129 12 01 EA CALL OUT4 ;SELECT OUTSTATION 4,
182 012C E5 23 MOV A,FLAG1
183 012E 70 26 JNZ RMODE
184 0130 12 01 C4 CALL OUT2 ;SELECT OUTSTATION 2. 185 0133 E5 23 MOV A,FLAG1 186 0135 70 1F JNZ RMODE 187 0137 12 01 B1 CALL OUT1 ;SELECTION OUTSTATION 1. 188 013A E5 23 MOV A,FLAG1 189 013C 70 18 JNZ RMODE 190 013E 12 01 FD CALL 0UT5 ;SELECTION OUTSTATION 5. 191 0141 E5 23 MOV A,FLAG1 192 0143 70 11 JNZ RMODE 193 0145 12 01 D7 CALL OUT3 ;SELECTION OUTSTATION 3. 194 0148 E5 23 MOV A,FLAG1 195 014A 70 0A JNZ RMODE 196 014C 12 01 EA CALL 0UT4 ;SELECT OUTSTATION 4. 197 014F E5 23 MOV A,FLAG1 198 0151 70 03 JNZ RMODE 199 0153 02 01 0D LJMP ACT4 ;REPEAT PREVIOUS SEQUENCE. 200 0156 02 00 71 RMODE: LJMP MODE 201 ; 202 ; THE CHECK ROUTINE EXAMINES THE STATE OF LOCATION FLAG2. 203 ;THIS LOCATION WILL HAVE BEEN SET TO FFH BY THE TIMER 1 204 ;INTERRUPT ROUTINE TARG WHEN THE CONTENTS OF LOCATION 205 ;COUNl HAVE BEEN REDUCED TO ZERO BEFORE 10 ACTIVATIONS 206 ;HAVE BEEN CANCELLED. 207 ;THE ROUTINE THEN CAUSES A 'WIN' TONE TO BE GENERATED 208 ;IF FLAG2 HAS NOT BEEN SET TO FFH AND A 'LOSE' TONE TO 209 ;BE GENERATED IF IT HAS. 210 ;NO PARAMETERS ARE PASSED AND NONE ARE RETURNED. 211 ; 212 0159 E5 24 CHECK: MOV A,FLAG2 ;CHECK THE STATE OF FLAG2. 213 015B 70 02 JNZ LOSE ;GENERATE 'LOSE' TONE. 214 015D 80 11 SJMP WIN ;GENERATE 'WIN' TONE. 215 015F D2 D4 LOSE: SETB RS1 ;ENABLE REG BANK 2. 216 0161 7E 01 MOV R6,#01H ;LOAD TONE GENERATION PARAMETERS. 217 0163 7F 05 MOV R7,#05H 218 0165 7C 01 MOV R4,#01H 219 0167 7D FF MOV R5,#0FFH 220 0169 75 90 FF MOV P1 ,#0FFH ;ENABLE CONTROL UNIT SOUNDER. 221 016C 12 02 3E CALL SOUND ;CALL TONE GENERATION ROUTINE. 222 016F 22 RET 223 0170 D2 D4 WIN: SETB RS1 ;ENABLE REG BANK 2. 224 0172 7E B9 MOV R6,#0B9H ;LOAD TONE GENERATION PARAMETERS. 225 0174 7F A6 MOV T7,#0A6H 226 0176 7C 01 MOV R4,#01H 227 0178 7D FF MOV R5,#0FFH 228 017A 75 90 FF MOV P1,#0FFH ;ENABLE CONTROL UNIT SOUNDER. 229 017D 12 02 3E CALL SOUND ;CALL TONE GENERATION ROUTINE. 230 0180 22 RET 231 ; 232 ; THE RDCOUN ROUTINE READS THE RANDOM COUNT TIMER 1, 233 ; DECODES THE LOWER BYTE TO A 1 CUT OF 5 SELECTION 234 ; CHECKING THAT THE SELECTED OUTSTATION IS NOT THE 235 ; SAME AS WAS PREVIOUSLY SELECTED. THE SELECTED 236 ; OUTSTATION IS THEN ACTIVATED. 237 ; WHEN THE OUTSTATION ACTIVATION HAS BEEN CANCELLED 238 ; THE ACTIVATIONS COUNTER IS INCREMENTED AND DECODED 239 ; TO A BCD VALUE SUITABLE FOR DRIVING THE DISPLAYS. 240 ; A 1 SEC COUNT IS THEN TIMED BEFORE RETURNING FROM 241 ; THE ROUTINE. 242 ; R2 CONTAINS PREVIOUSLY ACTIVATED OUTSTATION NUMBER. 243 ; R3 CONTAINS CURRENTLY ACTIVATED OUTSTATION NUMBER. 244 ; R4 CONTAINS ACTIVATIONS COUNT. 245 ; R2 & R4 ARE PASSED TO AND RETURNED FROM THIS ROUTINE. 246 ; 247 0181 C2 8E RDCOUN: CLR TR1 ;STOP TIME 1. 248 0183 AD 83 MOV R5,TL1 ;MOVE LOW BYTE INTO R5. 249 0185 D2 8E SETB TR1 ;START TIMER 1. 250 0187 ED MOV A,R5 ;DIVIDE LOW BYTE BY 51 251 0188 75 FO 33 MOV B,#33H ;TO GIVE 1 to 5 UNIQUE CODE. 252 018B 84 DIV AB 253 018C FB MOV R3,A ;STORE SELECTED OUTSTATION NO IN R3. 254 018D EC MOV A,R4 ;CHECK IF FIRST PASS. 255 018E 6008 JZ DECODE 256 0190 EB MOV A,R3 ;CHECK IF CURRENT OUTSTATION SELECTION 257 0191 BA FO MOV B,R2 ;IS SAME AS PREVIOUS PASS SELECTION. 258 0193 B5 FO 02 CJNE A,B,DECODE 259 0196 80 E9 SJMP RDCOUN ;IF SO RESELECT.
260 0198 EB DECODE: MOV A,R3 ;DECODE SELECTED OUTSTATlON NO.
261 0199 54 FF ANL A,#OFFH
262 0193 60 14 JZ OUT1 ;SELECT OUTSTATION 1. 263 019D EB MOV A,R3
264 019E 54 FE ANL A,#OFEH
265 01 A0 60 22 JZ OUT2 ;SELECT OUTSTATION 2.
266 01 A2 EB MOV A,R3
267 01 A3 54 FD ANL A,#OFDH 268 01 A5 60 30 JZ 0UT3 ;SELECT OUTSTATION 3.
269 01 A7 EB MOV A,R3
270 01 AB 54 FC ANL A,#OFCH
271 01 AA 60 3E JZ OUT4 ;SELECT OUTSTATION 4.
272 01 AC EB MOV A,R3 273 01 AD 54 FB ANL A,#OFBH
274 01 AF 60 4C JZ 0UT5 ;SELECT OUTSTATION 5.
275 01B1 D2 D4 OUT1 : SETB RS1 ;ENABLE REG BAN . 2.
276 01B3 7E 2F MOV R6,#2FH ;LOAD TONE GENERATION PARAMETERS.
277 01B5 7F 05 MOV R7,#05H 278 01B7 7C 01 MOV R4,#01H
279 01B9 7D FF MOV R5,#0FFH
280 01B8 75 90 FO MOV P1,#0F0H ;ENABLE OUTSTATION 1.
281 01BE 12 02 3E LCALL SOUND ;CALL TONE GENERATION ROUTINE.
282 01C1 02 02 10 LJMP CON 283 01 C4 D2 D4 OUT2: SETB RS1 ;ENABLE REG BANK 2.
284 01 C6 7E 63 MOV R6,#63H ;LOAD TONE GENERATION PARAMETERS.
285 01 C8 7F 05 MOV R7,#05H
286 01 CA 7C 01 MOV R4,#01H
287 01 CC 7D FF MOV R5,#0FFH 288 DI CE 75 90 F1 MOV P1,#0F1H ;ENABLE OUTSTATION 2.
289 01 D1 12 02 3E LCALL SOUND ;CALL TONE GENERATION ROUTINE.
290 01 D4 02 02 10 LJMP CON
291 01 D7 D2 D4 OUT3: SETB RS1 ;ENABLE REG BAN . 2.
292 01 D9 7E 82 MOV R6,#82H ;LOAD TONE GENERATION PARAMETERS. 293 01DB 7F 05 MOV R7,#05H
294 01 DD 7C 01 MOV R4,#01H
295 01 DF 7D FF MOV R5,#0FFH 296 01 E1 75 90 F2 MOV P1,#OF2H ;ENABLE OUTSTATION 3.
297 01E4 12 02 3E LCALL SOUND ;CALL TONE GENERATION ROUTINE.
298 01 E7 02 02 10 LJMP CON
299 01 EA D2 D4 OUT4: SETB RS1 ;ENABLE REG BANK 2. 300 01 EC 7E 97 MOV R6,#97Η ;LOAD TONE GENERATION PARAMETERS.
301 01 EE 7F 05 MOV R7,#05H
302 01 FO 7C 02 MOV R4,#02H
303 01 F2 7D FF MOV R5,#0FFH
304 01 F4 75 90 F3 MOV P1 ,#0F3H ;ENABLE OUTSTATION 4. 305 01 F7 12 02 3E LCALL SOUND ;CALL TONE GENERATION ROUTINE.
306 01 FA 02 02 10 LJMP CON
307 01 FD D2 D4 OUT5: SETB RS1 ;ENABLE REG BANK 2.
308 01 FF 7E A6 MOV R6,#0A6H ;LOAD TONE GENERATION PARAMETERS.
309 0201 7F 05 MOV R7,#05H 310 0203 7C 01 MOV R4,#01H
311 0205 7D FF MOV R5,#0FFH
312 0207 75 90 F4 MOV P1,#0F4H ;ENABLE OUTSTATION 5.
313 020A 12 02 3E LCALL SOUND ;CALL TONE GENERATION ROUTINE.
314 020D 02 02 10 LJMP CON 315 0210 EB CON: MOV A,R3 ;MOVE PREVIOUS ACTIVATED OUTSTATION
316 0211 FA MOV R2,A ;NO INTO R2.
317 0212 OC INC R4 ;INCREMENT ACTIVATIONS COUNTER.
318 0213 75 FO 64 BIN3CD: MOV B,#100 ;DIVIDE BY 100 TO DETERMINE
319 0216 EC MOV A,R4 ;NO OF HUNDREDS. 320 0217 84 DIV AB
321 0218 F5 21 MOV HUND,A ;STORE HUNDREDS IN HUND.
322 021 A 74 OA MOV A,#10 ;DIVIDE REMAINDER BY 10 TO
323 021 C C5 FO XCH A,B ;DETERMINE NO OF TENS S UNITS.
324 021 E 84 DIV AB 325 021 F C4 SWAP A ;SWAP NIB8LES.
326 0220 25 FO ADD A,B ;PACK BCD DIGITS IN ACCUM.
327 0222 F2 MOVX 3R0,A ;DISFLAY ACTIVATIONS.
328 0223 75 90 EO MOV P1 ,#0E0H ;DISABLE OUTPUTS.
329 0226 7F OA MOV R7,#0AH ;LOAD 1 SEC TIMER REG. 330 0228 75 8C 3C RSET3: MOV THO#3CH :SET TIMER 0 to COUNT 100 MS PERIODS,
331 022B 75 8A AD MOV TLO,τS)ADH
332 022E D2 8C SETB TRO ;START TIMER 0 333 0230 208D 02 TEST3: JB TF0,CEMPT1 ;CHECK FOR TIMER 0 OVERFLOW.
334 0233 80 FB SJMP TEST3
335 0235 C28C CEMPTl: CLR TRO ;STOP TIMER 0.
336 0237 C28D CLR TFθ ;CLEAR OVERFLOW FLAG. 337 0239 1F DEC R7
338 023A EF MOV A,R7 ;HAS 1 SEC PERIOD EXPIRED.
339 023B 70 EB JNZ RSET3
340 0230 22 RET
341 ; 342 ;THE SOUND ROUTINE GENERATES A TONE WHICH ALTERNATES
343 ;BETWEEN THE TWO FREQUENCYS PASSED TO IT, AT A RATE
344 ; ;DETERMINED BY THE DURATION PARAMETERS PASSED TO IT.
345 ;THE PARAMETERS ARE PASSED IN REGISTERS LOCATED IN REG
346 ;BANK 2. 347 ;R6 - HOLDS THE LOW BYTE OF FREQUENCY 1 TO BE LOADED
348 ; INTO TIMER 0. THE HIGH BYTE IS ALWAYS LOADED
349 ; WITH FFH.
350 ;R7 - HOLDS THE LOW BYTE OF FREQUENCY 3 TO BE LOADED
351 ; INTO TIMER 0. AGAIN THE HIGH BYTE IS ALWAYS 352 ; Loaded with FFH.
353 ;R4 - HOLDS THE HIGH BYTE OF THE 16 BIT DURATION COUNT.
354 ;R5 - HOLDS THE LOW BYTE OF THE 16 BIT DURATION COUNT.
355 ;AS THE DURATION COUNT USES THE FREQUENCY TIMER AS IT'S
356 ;CLOCK THEN THE DURATION PERIODS ARE DIRECTLY PROPORTIONAL 357 ;TO THE SELECTED FREQUENCY.
358 ;TINER CLOCK FREQ = 2 S USING 6 MHZ PROCESSOR CRYSTAL.
359 ;PERIOD (P) of 1 CYCLE = 1000000/F S.
360 ;PERIOD of 1/2 CYCLE = .5P S.
361 ;No of CLOCK PULSES TO BE COUNTED = .5P/2 PULSES. 362 ;AS THE TIMER INCREMENTS TO OVERFLOW THE COUNTER MUST BE
363 ;PRE-LOADED WITH 65535 - .5P/2.
364 ;BECAUSE ONLY THE LOW BYTE IS LOADED THIS GIVES A SELECTABLE
365 ;FREQUENCY RANGE OF APPROX 1KHZ - 200 KHZ.
366 ;NO ACCOUNT HAS BEEN TAKEN OF INSTRUCTION TIMES IN THESE 367 ;CALCULATIONS AS THEY HAVE RELATIVELY LITTLE EFFECT.
368 ;THE DURATION REGISTERS ARE DECREMENTED EACH 1/2 CYCLE.
369 ;THE ROUTINE CHECKS THE SETTING OF THE CANCEL OR REPLAY 370 ;INTERRUPT FLAGS. THESE FLAGS BEING SET OR A POWER ON RESET 371 ;ARE THE ONLY WAYS OF RETURNING FROM THIS ROUTINE. 372 ;THE ROUTINE IS ENTERED WITH REG BANK 2 ENABLED AND IS 373 ;EXITED WITH REG BANK 0 ENABLED. NO PARAMETERS ARE RETURNED. 374 : 375 023E 7A 02 SOUND: MOV R2,#O2H ;LOAD FREQ CHANGEOVER COUNTER. 376 0240 EE MOV A,R6 ;LOAD TIMER LOCATION WITH 377 0241 F9 MOV R1,A ;FREQ 1. 378 0242 8C FO NEXTF: MOV B,R4 ;LOAD DURATION LOCATION VALUES. 379 0244 ED AGAIN: MOV A,R5 380 0245 FB MOV RO,A 381 0246 D2 B1 CONT: SETB P3.1 ; SET SOUND 0/P HIGH. 382 0248 7B 02 MOV R3,#02H ; LOAD 1/2 CYCLE COUNTER. 383 024A 758C FF REFT: MOV THO,#OFFH ;LOAD TIMER HIGH BYTE. 384 024D 898A MOV TLO,R1 ;LOAD TIMER LOW BYTE. 385 024F D28C SETB TRO ;START TIMER 0. 386 0251 208D 02 WAIT: JB TFO,TIME ;CHECK FOR TIMER 0 OVERFLOW. 387 0254 80 FB SJMP WAIT 388 0256 C28C TIME: CLR TRO ;STOP TIMER 0. 389 0258 C28D CLR TFO ;CLEAR TIMER 0 OVERFLOW FLAG. 390 025A C2 B1 CLR P3.1 ;SET SOUND 0/P LOW. 391 025C 30 D505 JNB Fθ,NFLAG ;CHECK IF INTERRUPT FLAG IS SET. 392 025F C2 D5 CLR FO ;CLEAR INTERRUPT FLAG. 393 0261 02027A UMP EXIT ;LEAVE ROUTINE. 394 0264 1B NFLAG: DEC R3 ;CHECK IF SECOND 1/2 CYCLE 395 0265 EB MOV A,R3 ;HAS BEEN TIMED. 396 0266 70 E2 JNZ REPT 397 0268 18 DEC RO ;DECREMENT DURATION COUNTER. 398 0269 E8 MOV A,RO ;CHECK FOR EXPIRY OF DURATION 399 026A 70 DA JNZ CONT ;COUNTER LOW BYTE. 400 026C 15 F0 DEC B :DECREMENT DURATION COUNTER. 401 026E E5 F0 MOV A,B ;CHECK FOR EXPIRY OF DURATION 402 0270 70 D2 JNZ AGAIN ;COUNTER HIGH BYTE. 403 0272 1A DEC R2 ;HAS SECOND FREQ SEQUENCE BEEN 404 0273 EA MOV A,R2 ;COMPLETED. 405 0274 60 CB JZ SOUND 406 0276 EF MOV A,R7 ;LOAD TIMER LOCATION WITH FREQ 2. 407 0277 F9 MOV R1,A
408 0278 80 CB SJMP NEXTF ;SOUND SECOND FREQ.
409 027A C2 D4 EXIT: CLR RS1 ;ENABLE REG BANK 0.
410 027C 22 RET 411 ;
412 ;THE SERV1 INTERRUPT ROUTINE DEBOUNCES THE REFLAY SWITCH,
413 ;SETS THE INTERRUPT FLAG FO AND FLAG1,AND CHECKS THAT THE
414 ;SWITCH IS NORMAL BEFORE RETURNING.
415 ;NO PARAMETERS ARE PASSED OR RETURNED. 416 ;
417 0270 D2 D3 SERV1 : SETB RSO ;ENABLES REG BANK 1.
418 027F 7D FF MOV R5,#0FFH ;SETS UP TIMING LOOPS TO
419 0281 7C FF LOOP1 : MOV R4,#0FFH ;DEBOUNCE REPLAY SWITCH.
420 0283 1C LOOP: DEC R4 421 0284 EC MOV A,R4
422 0285 70 FC JNZ LOOP
423 0287 1D DEC R5
424 0288 ED MOV A,R5
425 0289 70 F6 JNZ LOOP1 426 028B D2 D5 SETB FO ;SET INTERRUPT FLAG FO.
427 028D 7523 FF MOV FLAG1,#OFFH ;SET INTERRUPT FLAG FLAG1.
428 0290 E523 MOV A,FLAG1
429 0292 30 SB 02 TEST1: JNB IE1,CLEAR ;CHECK THAT SWITCH INPUT IS NORMAL.
430 0295 80 FB SJMP TEST1 431 0297 C2 D3 CLEAR: CLR RSO ;ENABLE REG BANK 0.
432 0299 32 RETI
433 ;
434 ;The SERVO INTERRUPT ROUTINE DEBOUNCES THE CANCEL SWITCH,
435 ;SETS THE INTERRUPT FLAG FO AND CHECKS THAT THE SWITCH IS 436 ;NORMAL BEFORE RETURNING.
437 ;NO PARAMETERS ARE PASSED OR RETURNED.
438 ;
439 029A D2 D3 SERVO: SETB RSO ;ENABLE REG BAN< 1.
440 029C 7D FF MOV R5,#0FFH ;SET UP TIMING LOOPS TO DEBOUNCE 441 029E 7C FF LOOP 3: MOV R4,#0FFH ;CANCEL SWITCH.
442 02A0 1C LOOP2: DEC R4
443 02A1 EC MOV A,R4 444 02A2 70 FC JNZ LOOP2
445 02A4 1D DEC R5
446 02A5 ED I WV A,R5
447 02A6 70 F6 JNZ LOOP3
448 02A8 D2 D5 SETB FO ;SET INTERRUPT FLAG FO.
449 02AA 30B902 TEST2: , JNB IEO,CLEAR1 ;CHECK THAT SWITCH INPUT IS NORMAL.
450 02AD 80 FB SJMP TEST2
451 02AF C2 D3 CLEAR1: CLR RSO ;ENABLE REG BANK 0.
452 02B1 32 RETI
453 ;
454 ;THE TARG INTERRUPT ROUTINE IS ACTIVATED WHEN TIMER 1
455 ;OVERFLOWS AND TF1 IS ENABLED. THE COUNl LOCATION IS
456 ;DECREMENTED ON EACH ACTIVATION OF THE ROUTINE AND SETS
457 ;FLAG2 IF THE. COUNl LOCATION REACHES ZERO.
458
459 02B2 1525 TARG: DEC COUN1 ;DECREMENT COUN1 LOCATION.
460 02B4 E525 MOV A,COUN1
461 02B6 7003 JNZ BACK
462 02B8 7524 FF MOV FLAG2,#0FFH ;SET FLAG2 LOCATION IF COUN1 = 0.
463 02BB 32 BACK: RETI 464 02BC END

Claims

1. Electronic sequencing apparatus comprising a plurality of stations (10) each provided with a switching device (16), station selecting means (40), indicating means (17, 18) for providing sensorially perceptible indication of a station selected with the aid of said station selecting means and link means (12, 14) providing communication between said stations so that, in use of the device, actuation of the switching device (16) at a selected station (10) by a user either enables another indication of a selected station by said indicating means or terminates further station selection, characterised in that said stations ( 10) are independently movable so as to be positionable at different spaced apart locations relative to each other.
2. Apparatus as claimed in claim 1, characterised in that the link means comprises a central control unit (12) and communication means (14) for placing each station (10) in communication with the central control unit.
3. Apparatus as claimed in claim 2, characterised in that the communication means comprises lengths of cable (14) connecting the stations with the central control unit.
4. Apparatus as claimed in claim 2, characterised in that the commnunication means comprises means for transmitting and receiving pulses of radiation for linking the various stations (10).
5. Apparatus as claimed in claim 1, characterised in that the station selecting means comprises random generating means and/or means for cycling through a predetermined selection of stations.
6. Apparatus as claimed in claim 1, characterised in that the station selecting means includes manually settable switch means (28) for:
(i) selecting a predetermined number of random station selections; (ii) selecting an indefinite selection of random station selections; or
(iii) selecting a predetermined sequence of station selections and either repeating the predetermined station selection indefinitely or terminating the station selection after one or a number of cycles.
7. Apparatus as claimed in claim 1, characterised by display means (32, 34) for indicating the number of switching device actuations correctly made.
8. Apparatus as claimed in claim 1, characterised in that said indicating means comprise a separate indicating device or devices (17, 18) at each station.
9. Apparatus as claimed in claim 1, characterised in that from three to seven stations (10) are provided.
10. Apparatus as claimed in claim 3, characterised in that the lengths of cable (14) are provided with plugs which are detachably inserted into sockets provided in the central control unit (12) and/or the stations (10).
11. Apparatus as claimed in claim 10, characterised in that additional sockets are provided in the central control unit to enable the connection of equipment accessories.
12. Apparatus as claimed in claim 8, characterised in that visual and auditory indicating means (17, 18) are provided at each station and in that manually presettable switch means are provided for determining whether one or both of the indicating means at each station is or are operational.
13. Apparatus as claimed in claim 1, characterised in that at least one of the switching devices is designed to be operated by a user striking the switching device with a squash racquet when simulating a squash stroke.
14. Apparatus as claimed in claim 1, characterised in that at least one of the switching devices is designed to be actuated by operation of an accessory.
PCT/GB1986/000495 1985-08-28 1986-08-20 Electronic sequencing and exercising apparatus WO1987001486A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GB8521426 1985-08-28
GB858521426A GB8521426D0 (en) 1985-08-28 1985-08-28 Keep-fit device

Publications (1)

Publication Number Publication Date
WO1987001486A1 true WO1987001486A1 (en) 1987-03-12

Family

ID=10584396

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/GB1986/000495 WO1987001486A1 (en) 1985-08-28 1986-08-20 Electronic sequencing and exercising apparatus

Country Status (2)

Country Link
GB (2) GB8521426D0 (en)
WO (1) WO1987001486A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990010478A1 (en) * 1989-03-08 1990-09-20 Urs Stoller Accessory device for training appliances
WO1990011108A1 (en) * 1989-03-29 1990-10-04 Urs Stoller Process and appliance for training reactive power and performance in humans
WO1991016954A1 (en) * 1990-05-03 1991-11-14 Macgregor Williams Limited Floor exercise equipment
GB2270004A (en) * 1992-08-27 1994-03-02 David William Nelson Physical exercise apparatus
WO1999033531A1 (en) * 1997-12-23 1999-07-08 Birchill Limited Soccer training apparatus
GB2502083A (en) * 2012-05-14 2013-11-20 Daniel Long Multi-function exercise apparatus
CN104274962A (en) * 2013-07-09 2015-01-14 上海体育学院 Light signal control exercise training device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5040790A (en) * 1988-12-16 1991-08-20 Swingpacer Corporation Apparatus for pacing
GB0716459D0 (en) 2007-08-23 2007-10-03 Funky Moves Ltd Interactive sporting apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4095785A (en) * 1977-01-19 1978-06-20 Conner Gary L Manually indexed electronic matching game
US4136387A (en) * 1977-09-12 1979-01-23 Acushnet Company Golf club impact and golf ball launching monitoring system
GB2040695A (en) * 1979-02-09 1980-09-03 Marvin Glass & Associates Microcomputer controlled game
US4309030A (en) * 1980-02-14 1982-01-05 Adolph E. Goldfarb Electronic competitive player response game apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4095785A (en) * 1977-01-19 1978-06-20 Conner Gary L Manually indexed electronic matching game
US4136387A (en) * 1977-09-12 1979-01-23 Acushnet Company Golf club impact and golf ball launching monitoring system
GB2040695A (en) * 1979-02-09 1980-09-03 Marvin Glass & Associates Microcomputer controlled game
US4309030A (en) * 1980-02-14 1982-01-05 Adolph E. Goldfarb Electronic competitive player response game apparatus

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990010478A1 (en) * 1989-03-08 1990-09-20 Urs Stoller Accessory device for training appliances
WO1990011108A1 (en) * 1989-03-29 1990-10-04 Urs Stoller Process and appliance for training reactive power and performance in humans
WO1991016954A1 (en) * 1990-05-03 1991-11-14 Macgregor Williams Limited Floor exercise equipment
GB2270004A (en) * 1992-08-27 1994-03-02 David William Nelson Physical exercise apparatus
GB2270004B (en) * 1992-08-27 1995-09-20 David William Nelson Physical exercise apparatus
WO1999033531A1 (en) * 1997-12-23 1999-07-08 Birchill Limited Soccer training apparatus
GB2332630B (en) * 1997-12-23 2000-05-03 Birchill Limited Soccer training apparatus
GB2502083A (en) * 2012-05-14 2013-11-20 Daniel Long Multi-function exercise apparatus
GB2502083B (en) * 2012-05-14 2017-03-29 Long Daniel Multi-function exercise and entertainment apparatus and method of exercising for strength,speed and mental acuity
CN104274962A (en) * 2013-07-09 2015-01-14 上海体育学院 Light signal control exercise training device

Also Published As

Publication number Publication date
GB8521426D0 (en) 1985-10-02
GB2179777A (en) 1987-03-11
GB8620724D0 (en) 1986-10-08

Similar Documents

Publication Publication Date Title
US6012995A (en) Scorekeeping racket device with audio and visual display
WO1987001486A1 (en) Electronic sequencing and exercising apparatus
WO1996032164A1 (en) Step exercising system and method
US4834375A (en) Start system batting unit and method
US5645509A (en) Remote exercise control system
US5403252A (en) Exercise apparatus and method for simulating hill climbing
US5435799A (en) Circuit training exercise apparatus
US6949052B2 (en) Exercise equipment locator
US5489249A (en) Video exercise control system
US5383826A (en) User interface console for exercise equipment
US5139261A (en) Foot-actuated computer game controller serving as a joystick
US4283712A (en) Portable exercise totalizer
US4216956A (en) Running machine
US6086478A (en) Hand-held voice game
JPS6297572A (en) Sports technique and reaction training apparatus
US4099713A (en) Electronic physical trainer system
US20050288158A1 (en) Ropeless jump rope
US5743807A (en) Golf swing sound training device
WO1995014328A1 (en) Quiet drive control and interface apparatus
US7212854B2 (en) Neuro-muscular stimulattor channel sequencer
US4401304A (en) Electronic tennis game with interactive controls
JP5452085B2 (en) timer
GB2234446A (en) An electronic aid to game playing
US5412312A (en) Frequency and instantaneous voltage level meter
US7374481B2 (en) Rotating pattern matching board game

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE FR GB IT LU NL SE