JPH0457096A - Electronic apparatus with notice function - Google Patents

Electronic apparatus with notice function

Info

Publication number
JPH0457096A
JPH0457096A JP2170822A JP17082290A JPH0457096A JP H0457096 A JPH0457096 A JP H0457096A JP 2170822 A JP2170822 A JP 2170822A JP 17082290 A JP17082290 A JP 17082290A JP H0457096 A JPH0457096 A JP H0457096A
Authority
JP
Japan
Prior art keywords
switch
demonstration
input
notification
flag
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2170822A
Other languages
Japanese (ja)
Inventor
Katsuhiro Horiguchi
勝弘 堀口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments Inc
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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP2170822A priority Critical patent/JPH0457096A/en
Publication of JPH0457096A publication Critical patent/JPH0457096A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electromechanical Clocks (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

PURPOSE:To start the notice demonstration after turn-on/turn-off operations of a switch input by constituting the apparatus so that when a switch is depressed, it is stored that the switch becomes a turn-on state, and thereafter, when the switch is released, the notice demonstration is started first. CONSTITUTION:When only both switches of a switch A and a switch B are turned on, a switch input flag is set to '1'. When the switch input flag is '1', whether switch levels are all turned off or not is judged, and a vibration demonstration is prepared. First of all, the switch input flag which becomes '1' is returned to '0', and a demonstration flag is set to '1'. Also, a value of a counter is set to ACh. The time until the value of the counter becomes AOh and a motor is turned on becomes a waiting time for the demonstration start. By putting one tempo after turning off the switch, an effective demonstration is executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、音や振動などの報知機能を備えた電子機器に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic device having a notification function such as sound or vibration.

〔発明の概要〕[Summary of the invention]

本発明は、報知機能を有する電子機器において、報知の
デモンストレーションの構成に特徴を有するものであり
、スイッチ入力記11手段と、スイッチ非入力検出手段
と、スイッチ非入力検出手段の出力を受けて報知デモン
ストレーションの駆動パルスを出力する駆動パルス出力
手段を用いることにより、スイッチのオン/オフ動作後
に報知デモンストレーションを開始さゼるようにしたも
のである。
The present invention is an electronic device having a notification function, and is characterized by the configuration of notification demonstration, and the present invention is characterized by the structure of the notification demonstration, and the notification is made in response to the output of the switch input recording means 11, the switch non-input detection means, and the switch non-input detection means. By using a drive pulse output means that outputs a demonstration drive pulse, the notification demonstration is started after the switch is turned on/off.

〔従来の技術〕[Conventional technology]

従来の報知機能イ」電子機器の一般的な例として圧電ブ
ザーを使用したアラーム機能付電子腕時計が考えられる
。この場合、アラームの音を故意的に鳴らせる機能とし
てサウンドデモンストレーション機能があるが、サウン
ドデモンストレーションをさせるために、指定されたス
イッチを一定の時間押し続けるとその時間中アラームが
鳴り続けるというものがあった。
An electronic wristwatch with an alarm function using a piezoelectric buzzer is a common example of a conventional electronic device with an alarm function. In this case, there is a sound demonstration function that intentionally makes the alarm sound sound, but in order to make the sound demonstration, if you hold down a designated switch for a certain period of time, the alarm will continue to sound for that period of time. .

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、従来の電子機器の報知デモンストレーション方
法では、スイッチ入力と報知デモンストレーションのタ
イミングが時間的に重なってしまう為、報知手段である
ブザーあるいはモータなどから発生する振動が、スイッ
チを押えている指によっである程度吸収されてしまうこ
とによってブザーの音圧やモータの振動量が低下してし
まい、報知デモンストレーション本来の機能が充分発揮
できなくなってしまうという課題があった。
However, in conventional notification demonstration methods for electronic devices, the timing of the switch input and the notification demonstration overlap in time, so the vibrations generated from the notification means, such as the buzzer or motor, are affected by the finger pressing the switch. There is a problem in that the sound pressure of the buzzer and the amount of vibration of the motor decrease as the noise is absorbed to some extent, making it impossible to fully demonstrate the original function of the notification demonstration.

そこで、本発明の目的は従来のこのような課題を解決す
るため、スイッチ入力のオン/オフ動作後に報知デモン
ストレーションを開始させるようにするものである。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to start a notification demonstration after the on/off operation of a switch input, in order to solve the above-mentioned conventional problems.

〔課題を解決するための手段〕[Means to solve the problem]

上記課題を解決するために、スイッチ入力記憶手段と、
スイッチ非入力検出手段と、スイッチ非入力検出手段の
出力を受けて報知デモンストレーションの駆動パルスを
出力する駆動パルス出力手段を用いることにより、スイ
ッチ入力のオン/オフ動作後に報知デモンストレーショ
ンを開始させるようにした。
In order to solve the above problem, a switch input storage means,
By using a switch non-input detection means and a drive pulse output means that receives the output of the switch non-input detection means and outputs a drive pulse for the notification demonstration, the notification demonstration is started after the switch input is turned on/off. .

〔作用〕[Effect]

上記のように構成された電子機器においては、報知デモ
ンストレーションをさせる場合、スイッチを押すことに
よってスイッチがオン状態になったことが記憶され、そ
の後スイッチを離すことによってスイッチがオフ状態に
なったことが検知されるが、そこで初めて報知デモンス
トレーションが開始するので、スイッチ入力と報知デモ
ンストレーションのタイミングが時間的に重なることは
なくなる。
In an electronic device configured as described above, when a notification demonstration is performed, pressing the switch memorizes that the switch is in the on state, and then releasing the switch to remember that the switch is in the off state. However, since the notification demonstration starts only at that point, the timing of the switch input and the notification demonstration will not overlap in time.

〔実施例〕〔Example〕

以下、図面に基づいて本発明の実施例について詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第1図は本発明の機能ブロック図である。スイッチ手段
1の信号はスイッチ入力検出手段2およびスイッチ非人
力検出手段4に人力され、スイッチ入力検出手段2でス
イッチレベルがオフ状態からオン状態になったことを検
出すると、スイッチ入力記憶手段3によってスイッチが
入力されたことが一時的に記憶される。スイッチ入力記
憶手段3の状態に基づいてスイッチ非入力検出手段4の
動作が制御されるが、スイッチ入力記憶手段3の内容が
スイッチ入力状態であることを記憶している期間のみス
イッチ非入力検出手段4の動作をさせる。スイッチ非人
力検出手段4では、スイッチレベルがオン状態からオフ
状態になったことを検出し、駆動パルス出力手段5はス
イッチ非入力検出手段4の出力信号を受けてデモンスト
レーションパルスの出力制御をし、駆動回路6を介して
報知手段7を動作させる。
FIG. 1 is a functional block diagram of the present invention. The signal of the switch means 1 is inputted to the switch input detection means 2 and the non-human switch detection means 4, and when the switch input detection means 2 detects that the switch level changes from the OFF state to the ON state, the signal is inputted by the switch input storage means 3. The fact that the switch was input is temporarily stored. The operation of the switch non-input detection means 4 is controlled based on the state of the switch input storage means 3, but the switch non-input detection means is activated only during the period when the switch input storage means 3 stores the switch input state. Perform step 4. The switch non-human input detection means 4 detects that the switch level changes from the on state to the off state, and the drive pulse output means 5 receives the output signal of the switch non-input detection means 4 and controls the output of the demonstration pulse. The notification means 7 is operated via the drive circuit 6.

第2図は本発明をマイクロコンピュータでソフト的に実
現した場合のハード構成図である。スイッチA乃至りの
4種のスイッチから成るスイッチ手段1と、駆動パルス
の制御や演算等を行うCPU8と、CPU8の動作処理
プログラムが格納されているROM9と、各種データを
記憶するRAMと、表示手段11と、振動により報知を
行うモータ12と、モータ12の駆動を行う駆動回路1
3とから構成される。
FIG. 2 is a hardware configuration diagram when the present invention is implemented in software on a microcomputer. A switch means 1 consisting of four types of switches from switch A to switch A, a CPU 8 that controls drive pulses, calculations, etc., a ROM 9 that stores an operation processing program for the CPU 8, a RAM that stores various data, and a display. means 11, a motor 12 that provides notification by vibration, and a drive circuit 1 that drives the motor 12.
It consists of 3.

第3図はデモンストレーション動作に関するソフトウェ
アのフローチャートであり、第4図はデモンストレーシ
ョンに関する各部のタイミングチャートである。
FIG. 3 is a flowchart of software related to the demonstration operation, and FIG. 4 is a timing chart of each part related to the demonstration.

以上の図面を用いて実施例の動作を説明する。The operation of the embodiment will be explained using the above drawings.

実施例では報知手段としてモータ12を使用したが、こ
れはモータの回転運動から得られる振動を利用して振動
報知を行うものである。振動デモンストレーションを行
うためにはスイッチ手段1によるスイッチ操作を行うが
、この場合、振動デモンストレーションに関係するスイ
ッチはスイッチAとスイッチBである。スイッチ手段1
の入力によって、CPU8はROM9にあらかしめ格納
されているプログラムに従って各種演算処理を行うが、
数種あるタイミング割込処理のうち、振動デモンストレ
ーションに関する処理は8Hz割込処理内で行うものと
する。
In the embodiment, the motor 12 is used as the notification means, but this is intended to provide vibration notification using vibrations obtained from the rotational movement of the motor. In order to perform a vibration demonstration, the switch means 1 is operated, and in this case, the switches related to the vibration demonstration are switch A and switch B. Switch means 1
In response to the input, the CPU 8 performs various arithmetic operations according to the program preliminarily stored in the ROM 9.
Among the several types of timing interrupt processing, processing related to vibration demonstration is assumed to be performed within the 8 Hz interrupt processing.

次に、第3図のフローチャートを用いて振動デモンスト
レーションの具体的動作を説明する。まず、スイッチ監
視処理は第3図(a>であるが、第1のステップとして
スイッチ入カフラグが1であるかを判断する(14)。
Next, the specific operation of the vibration demonstration will be explained using the flowchart shown in FIG. First, in the switch monitoring process shown in FIG. 3 (a), the first step is to determine whether the switch ON flag is 1 (14).

スイッチ入カフラグというのはスイッチAとスイッチB
が両方とも入力された場合に1となるフラグであるが、
普段はスイッチ入カフラグはOなので以下の処理に続く
The switch input flags are switch A and switch B.
is a flag that becomes 1 when both are input,
Normally, the switch-on flag is O, so the process continues below.

スイッチがA−Dのうちいづれも入力されていなければ
何も処理しない(15)。スイッチ入とスイッチBの両
スイッチのみがオンであれば(16)、スイッチ入カフ
ラグを1にする(17)。ステップ14でスイッチ入カ
フラグが1であった場合は、スイッチレベルが全てオフ
であるか判断(18) L、振動デモンストレーション
の準備をする。まず、1になっていたスイッチ入カフラ
グを0に戻しく19) 、デモンストレーションフラグ
を1にする(20)とともにカウンターの値をAChに
セントする(21)。このカウンターは2ワードの16
進数で演算が行われるものである。更に、第3図(b)
のデモンストレーションパルス出力処理について説明ス
る。まず、デモンストレーションフラグが1になってい
るかを判断(22) L、フラグが1の場合にはカウン
ターの値を2マイナスする(23)。カウンターの下位
ワードが4hならば(24)モータをオフしく29) 
、カウンターの下位ワードがohならば(25)モータ
をオンする(26)。 更に、カウンターの値がOOh
ならば(27)デモンストレーションフラグをOにしく
28)、処理を終了する。
If none of the switches A to D are input, no processing is performed (15). If only both the switch on and switch B are on (16), the switch on flag is set to 1 (17). If the switch-on flag is 1 in step 14, determine whether all switch levels are off (18) L. Prepare for vibration demonstration. First, the switch-on flag, which had been set to 1, is returned to 0 (19), the demonstration flag is set to 1 (20), and the counter value is set to ACh (21). This counter is 2 words of 16
Operations are performed using base numbers. Furthermore, Fig. 3(b)
Demonstration pulse output processing will be explained below. First, it is determined whether the demonstration flag is set to 1 (22). If the flag is 1, the value of the counter is subtracted by 2 (23). If the lower word of the counter is 4h, (24) turn off the motor.29)
, if the lower word of the counter is oh (25), turn on the motor (26). Furthermore, the counter value is OOh
If so, (27) the demonstration flag is set to O (28), and the process ends.

今までの動作をタイミングチャートに示したものが第4
図である。タイミングAではスイッチAとスイッチBの
レベルが共に1で、かつ8Hzの立ち下がりと重なった
場合なので、この時点でスイッチ入カフラグが1となる
。タイミングBではスイッチAとスイッチBのレベルが
共に0で、かつ8Hzの立ち下がりと重なった場合なの
で、この時点でデモンストレーションフラグが1にセン
トされ、またカウンターの値がAChにセットされるこ
とになる。カウンターの値は8H2ごとにマイナスされ
るので、カウンターの値がAOhになってモータがオン
されるまでの0.625秒間はデモンストレーション開
始までの待ち時間となる。
The fourth timing chart shows the operation so far.
It is a diagram. At timing A, the levels of switch A and switch B are both 1 and overlap with the falling edge of 8 Hz, so the switch input flag becomes 1 at this time. At timing B, the levels of switch A and switch B are both 0 and overlap with the falling edge of 8 Hz, so at this point the demonstration flag is set to 1 and the counter value is set to ACh. . Since the counter value is decremented every 8H2, 0.625 seconds from when the counter value reaches AOh to when the motor is turned on is a waiting time until the start of the demonstration.

この待ち時間はなくても構わないが、スイッチをオフし
た後にワンテンポおくことによって効果的なデモンスト
レーションをさせる為である。カウンター下位ワードが
ohから4hになるまでの0゜75秒間はモータがオン
し、カウンター下位ワードが4hからohになるまでの
0.25秒間はモータがオフする。そして、カウンター
上位ワードが9hからohになるまでの10秒間モータ
のオン/オフ動作が続くことになる。
This waiting time may not be necessary, but the purpose is to provide an effective demonstration by allowing a one-tempo pause after the switch is turned off. The motor is on for 0.75 seconds until the counter lower word changes from oh to 4h, and is turned off for 0.25 seconds until the counter lower word changes from 4h to oh. Then, the on/off operation of the motor continues for 10 seconds until the counter upper word changes from 9h to oh.

本実施例では、報知デモンストレーションを行うために
2種類のスイッチを用いたが、単一のスイッチや複数の
スイッチを用いることも可能である。 以上説明したよ
うな構成及び動作を行うことによって、指定されたスイ
ッチが全てオンされたことを検出し、その後指定された
スイッチが全てオフされた場合に振動デモンストレーシ
ョンを開始することができる。
In this embodiment, two types of switches were used to perform the notification demonstration, but it is also possible to use a single switch or a plurality of switches. By performing the configuration and operation as described above, it is possible to detect that all specified switches are turned on, and then start a vibration demonstration when all specified switches are turned off.

〔発明の効果〕〔Effect of the invention〕

以上説明したとおり、本発明によれば報知デモンストレ
ーションを行う場合、スイッチ入力と報知デモンストレ
ーションのタイミングが時間的に重なることがなくなる
ので、本来の報知機能の特性を損なうことのない効果的
な報知デモンストレーションを行うことができる。
As explained above, according to the present invention, when performing a notification demonstration, the timing of the switch input and the notification demonstration do not overlap in time, so that an effective notification demonstration can be performed without impairing the characteristics of the original notification function. It can be carried out.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の機能ブロツク図、第2図は本発明実施
例のハード構成図、第3図はデモンストレーション処理
のフローチャート、第4図はデモンストレーション時の
タイミングチャートである。 1・・・・スイッチ手段 2・・・・スイッチ入力検出手段 3・・・・スイッチ入力記憶手段 4・・・・スイッチ非入力記憶手段 5・・・・駆動パルス出力手段 6・・・・駆動回路 7・・・・報知手段 以上
FIG. 1 is a functional block diagram of the present invention, FIG. 2 is a hardware configuration diagram of an embodiment of the present invention, FIG. 3 is a flowchart of demonstration processing, and FIG. 4 is a timing chart during demonstration. 1... Switch means 2... Switch input detection means 3... Switch input storage means 4... Switch non-input storage means 5... Drive pulse output means 6... Drive Circuit 7...More than notification means

Claims (1)

【特許請求の範囲】  報知機能を有する電子機器において、 (a)スイッチ手段 (b)該スイッチ手段の入力を検知するスイッチ入力検
出手段、 (c)該スイッチ入力検出手段の出力を受けてスイッチ
の入力を記憶するスイッチ入力記憶手段、 (d)該スイッチ入力記憶手段の状態に応じて該スイッ
チ手段の非入力を検出するスイッチ非入力検出手段、 (e)該スイッチ非入力検出手段の出力を受けて報知デ
モンストレーションの駆動パルスを出力する駆動パルス
出力手段、 (f)該駆動パルス出力手段の出力に応じて該報知手段
の駆動を行う駆動回路、 とを有することを特徴とする報知機能付電子機器。
[Claims] In an electronic device having a notification function, (a) a switch means, (b) a switch input detection means for detecting an input of the switch means, and (c) a switch input detecting means in response to an output of the switch input detection means. switch input storage means for storing the input; (d) switch non-input detection means for detecting non-input of the switch means according to the state of the switch input storage means; (e) receiving the output of the switch non-input detection means. (f) a drive circuit that drives the notification means in accordance with the output of the drive pulse output means. .
JP2170822A 1990-06-27 1990-06-27 Electronic apparatus with notice function Pending JPH0457096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2170822A JPH0457096A (en) 1990-06-27 1990-06-27 Electronic apparatus with notice function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2170822A JPH0457096A (en) 1990-06-27 1990-06-27 Electronic apparatus with notice function

Publications (1)

Publication Number Publication Date
JPH0457096A true JPH0457096A (en) 1992-02-24

Family

ID=15911976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2170822A Pending JPH0457096A (en) 1990-06-27 1990-06-27 Electronic apparatus with notice function

Country Status (1)

Country Link
JP (1) JPH0457096A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0675066A (en) * 1992-08-27 1994-03-18 Seikosha Co Ltd Timepiece

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0675066A (en) * 1992-08-27 1994-03-18 Seikosha Co Ltd Timepiece

Similar Documents

Publication Publication Date Title
US4185170A (en) Programmable synthetic-speech calculators or micro computers
JPH0457096A (en) Electronic apparatus with notice function
JP3958829B2 (en) metronome
JP2668862B2 (en) Electronic device restart control method
JP3149862B2 (en) Electronic musical instrument
JPS62245338A (en) Software delaying system for data processor
JPH0155467B2 (en)
JPH0726896U (en) Electronic musical instrument
JP2968911B2 (en) Electronic musical instrument parameter setting device
KR970007981A (en) Tooth interference control method for tray movement of composite products
JPH09179672A (en) Key input system
JPS642981B2 (en)
JPS6124299Y2 (en)
KR960001095B1 (en) Continuous touch processing method of monitoring device
TW202431076A (en) Touch panel with force-sensing and force-sensing method thereof
JPH0527661A (en) Simulator capable of optical reproduction
JP2998299B2 (en) Processor control unit
JPH10153670A (en) Digital clock with earthquake-sensing function
JPS6128144A (en) Executing device of tracing
KR900010766A (en) Automatic tape search method
KR0173408B1 (en) Implementation method of hourglass function of communication terminal device
JPH05204379A (en) Automatic piano playing device
JPS6326709A (en) Notification device
JPH05233851A (en) Microprocessor
JPH07234674A (en) Electronic musical instrument