JPH067177B2 - Timer-device - Google Patents

Timer-device

Info

Publication number
JPH067177B2
JPH067177B2 JP61012862A JP1286286A JPH067177B2 JP H067177 B2 JPH067177 B2 JP H067177B2 JP 61012862 A JP61012862 A JP 61012862A JP 1286286 A JP1286286 A JP 1286286A JP H067177 B2 JPH067177 B2 JP H067177B2
Authority
JP
Japan
Prior art keywords
reservation
time
timer
switch
melody
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.)
Expired - Lifetime
Application number
JP61012862A
Other languages
Japanese (ja)
Other versions
JPS62170879A (en
Inventor
敬司 佐々木
敏夫 黒木
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.)
SANKUTEERU KK
Kyushu Hitachi Maxell Ltd
Original Assignee
SANKUTEERU KK
Kyushu Hitachi Maxell Ltd
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 SANKUTEERU KK, Kyushu Hitachi Maxell Ltd filed Critical SANKUTEERU KK
Priority to JP61012862A priority Critical patent/JPH067177B2/en
Publication of JPS62170879A publication Critical patent/JPS62170879A/en
Publication of JPH067177B2 publication Critical patent/JPH067177B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

[産業上の利用分野] この発明は、設定時刻と基準時刻とを比較し、両者が一
致すると予め設定しておいたデータ表示を行うタイマー
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a timer device that compares a set time with a reference time and displays preset data when the two match.

【従来の技術】[Prior art]

従来この種タイマー装置は、表示すべき内容および時刻
を1組のデータとし、該データを予め1又は複数組記憶
させておき、時間の経過に従って順次実行させて行くも
のが一般的である。更にかかる構成から、同一または接
近した時刻に実行される同一または類似した処理内容は
1つに限られ、従って、同一のデータ予約が行われると
誤操作として操作自体が受け付けられないか、たとえ受
け付けられたとしても実質上実行されることはなかっ
た。 [発明が解決しようとする問題点] しかしながら、意識的であれ無意識にであれ同一内容の
予約を重複して行うのは、かかる事項が操作者にとって
は極めて重要な内容であり、この様な処理要求を単に誤
操作として無視してしまうのは問題といえる。 [問題点を解決するための手段] 本発明は、上記問題に着目してなされたものであって、
重複予約および処理を可能とすることにより、処理内容
の軽重に対応したアラーム表示が行えるタイマー装置を
提供することを目的とする。 本発明は第1図に示す如く、任意の時刻と該時刻におけ
る言葉による表示要求を1組の予約データとして、複数
組の予約データを記憶可能な予約設定手段と、その予約
設定手段で記憶された全予約データの予約時刻と基準時
刻とを設定単位時間毎に比較する手段と、その比較手段
で予約時刻と基準時刻の一致が検出されると、対応する
表示要求を記憶する手段と、その記憶手段に蓄えられた
表示要求を順次に取り出し、各表示要求に対応する言葉
とメロディを1組として一連に表示する手段とを備えて
いる。 更に上記した予約設定手段が、略同一時刻に対して略同
一内容の表示要求を重複設定可能とする一方、上記した
表示手段が、各表示要求毎に組み合わせるメロデーの曲
目を自動的に変更することを特徴とする。 [作用] 上記構成において、予約設定手段に対し予約設定動作を
行うと、各予約時刻は、例えば予約時刻の最小設定単位
時間毎に基準時刻と比較され、両者が一致したことが検
知されると、一致が検出された予約データの処理要求が
記憶手段に記憶される。かかる比較および記憶動作は、
全ての予約データに対して単位時間間隔毎に行われ、そ
の結果、同一内容のタイマー予約が複数なされている場
合には、記憶手段には同時に複数組の処理要求が保留さ
れる。記憶手段にデータの記憶がなされると、表示手段
はそのデータを順次取り出し、各表示要求の内容に従っ
た言葉と、互いに異なったメロディとを1組として、一
連に表示するのである。 [実施例] 第2図ないし第5図は、設定時刻になると所定の音響を
発する人形形状のタイマー装置1に本発明を実施した一
例を示すがこれに限らず、予約時刻になると電源をオン
するなど、各種表示動作をするタイマー装置にも略同様
に実施できることは勿論である。 本発明にかかるタイマー装置1は、第2図に示す如く、
タイマーユニット2と該ユニット2を内部に収納保持す
るキャラクター人形3とから構成される。 キャラクター人形3は、人間の子供あるいは動物等のキ
ャラクターを立体的に表現したものであって、全体また
は少なくともその正面中央に突出する「へそ」等の突起
部5を合成樹脂材等の軟質部材で形成する。また、人形
3の下部で突起部5の裏側位置にタイマーユニット2が
嵌まる大きさの収納部6を形成するとともに、人形3の
下面側には、収納部6へ通じる開口7を設けている。更
に上記突起部5には、タイマーユニット2の前面8側か
ら突出する操作スイッチ13の先端9が緊密に嵌まる嵌
合穴5aが形成されており、タイマーユニット2を人形
3の収納部6内に挿入したのち、操作スイッチ先端9を
嵌合穴5aに嵌入することにより、タイマーユニット2
を人形3内に確実に保持するとともに、人形3の前面側
からのスイッチ操作を可能としている。 タイマーユニット2は第3図に示す如く、上ケース10
と下ケース11を蓋合わせ状に結合して偏平な中空筒状
の本体ケース12を構成し、該本体ケース12の内部
に、後記する操作スイッチ13、スピーカー14および
回路基板15を含む電気回路を配置する。更に、下ケー
ス11の下面16側に電池収納部17とタイマー設定部
18とを凹設し、人形3内にタイマーユニット2を収納
した際、開口7を通じて電池20の入れ換え或は設定ス
イッチ34の操作を可能としている。 電池収納部17は、例えば単3型乾電池20が4本並列
して収納できる大きさであって、その開口21は電池蓋
22で開閉自在に覆われている。電池蓋22は、電池収
納部17の開口21と略一致する矩形薄板状であり、そ
の基端側面からは両側に向けて回動軸23・23を突設
する一方、電池収納部17と隣接するタイマー設定部1
8の両側にスライド溝24・24を凹設し、該スライド
溝24に回動軸23を摺動および回動自在に枢止する。
更に電池蓋22の先端縁には、係止爪25を中央にして
両側に指掛突部26・26を形成する一方、電池蓋22
の閉止時における下ケース11側の対応位置には、指掛
突部26により半分が覆われる略半球状の指掛溝27
と、係止爪25が係脱自在に嵌まる係止溝28とを形成
している。閉止状態の電池蓋22は、指掛溝27に指を
差し入れ、スライド溝24の長さだけタイマー設定部1
8の方向に摺動移行させて係止爪25と係止溝28間の
係合状態を解いたのち、指掛突部26を持ち上げること
により開放される。 タイマー設定部18は、電池収納部17に隣接して凹溝
29を形成するとともに、該凹溝29内に、電池蓋22
のスライド方向と直交して4つの貫通孔30を形成して
いる。一方、回路基板15上の対向位置にプッシュスイ
ッチ31を取り付け、該スイッチ31の押圧部32にキ
ャップ状のスイッチボタン33の基端33aを嵌め、更
に該スイッチボタン33の先端33bを前記貫通孔30
から突出させて4組の設定スイッチ34を構成してお
り、スイッチボタン33を介して間接的に回路基板15
上のスイッチ31をオンする様にしている。更に、前記
電池蓋22の表面上で各貫通孔30の対応位置に、各設
定スイッチ34の操作内容35を記載することにより、
電気回路の動作をプログラムで制御した場合における設
定機能の追加あるいは変更等に即応できる様にしてい
る。 操作スイッチ13は、略角筒状の押圧棒36の先端に鍔
部37を、基端側に揺動板38を各々備え、上下ケース
10・11間に形成された案内溝39に押圧棒36を挿
通する一方、揺動板38に対しヒンジ部41を介して略
L字形状に接続された取付部40を上ケース10に固定
することにより、ヒンジ部41を支点として揺動板38
を補助板42に向けて揺動させる。補助板42は、揺動
板38と略平行に上ケース10上に固定配備されるもの
であって、対向する突起43・43間にばね体44を介
装することにより揺動板38を本体ケース12の外方に
向け常時付勢している。又、揺動板38から補助板42
に向けて押圧軸45を突設するとともに、補助板42の
対応位置に押圧軸45が通る案内孔46を設ける一方、
回路基板15上には案内孔46の前面に接近させてプッ
シュスイッチ31を配設する。上記構成の操作スイッチ
13は、タイマーユニット2が人形3内に収納された際
にその先端の鍔部37が抜けどめとして働く。また、
「へそ」部分5をばね体44に抗して押圧すると押圧軸
45が前進するするが、該押圧軸45の移行方向は補助
板42の案内孔46で補正されて的確にプッシュスイッ
チ31の押圧部32ををオン可能としている。 第4図は、タイマーユニット2に使用する電気回路の概
略を示すブロック図であって、制御の中心としてプログ
ラムにより作動する中央処理装置(CPU)を使用する
とともに、該中央処理装置50とRAM51、ROM5
2等の記憶装置53および入出力装置54間を各種バス
55を介して接続することにより制御部56を構成す
る。更に入出力装置54には、音声発生装置57、メロ
ディ発生装置58を含む表示部60、あるいは制御部5
6に対する操作者の直接的なアクセスを可能とするスイ
ッチ部61を接続することにより、各種の予約設定ある
いは予約時刻における表示部60による音響発生等の各
種タイマー動作を可能とする。 第5図は、更に具体的な電気回路の一例を示す。中央処
理装置として作動する4ビットCPU50、作業エリア
として働くRAM51、実行プログラムを予め記憶した
ROM52および外部回路とのデータの受け渡しを行う
入出力装置54を1チップに集積したマイクロプロセッ
サ(例えばμPD7507SC)が制御部56として使用され、
電池収納部17への電池20のセットと同時に微分回路
63からリセット端子RESETにリセット信号が入力
されると、ROM52内のプログラムを予め定められた
手順に従って実行してデータ処理を行うとともに、入出
力装置54に設けられた各ポートP00〜P53を介してス
イッチ部61、音声発生装置57およびメロディ発生装
置58間でデータの受け渡しを行う。 スイッチ部61は上記の如く、タイマーユニット2を収
納する本体ケース12の前面8側から操作される1つの
操作スイッチ13、および本体ケース12の下面16側
から操作される4つの設定スイッチ34から構成され
る。各スイッチ13・34は全て常開のオンオフスイッ
チ31が使用され、1端を互いに並列接続して電源部6
4に繋ぐとともに、他端を抵抗65で接地して制御部5
6の入力ポートに個別に接続することにより、各スイッ
チ13・34のオン時に「H」信号を制御部56に印加
してスイッチの操作状況を知らせる。 音声発生装置57は、例えばPARCOR方式の音声合
成用ICであるLC8100が使用される。START
端子に制御部56からスタート信号が入力されるのと連
動して、言葉選択端子C〜Cに対して制御部56か
ら印加される4桁の2値信号で特定される、「おはよ
う」「おやすみ」等の一連の言葉が出力端子DAから出
力される。 メロディ発生装置58には、SVM7973等の所謂メ
ロディICが使用される。制御部56からメロディ選択
端子MS1〜MS3に向け3桁の2値信号が印加される
と、該2値信号の値で特定されるメロディが、スタート
端子MTへのスタート信号の印加と連繋して出力され、
STP端子へのストップ信号の印加で強制停止可能とし
ている。 上記の音声発生装置57およびメロディ発生装置58か
らの出力信号は、増幅装置59に入力されて所定の大き
さに増幅されたのち、上ケース10に取り付けられたス
ピーカー14で発音される。なお増幅装置59の電源端
子Vccは、制御部56からの制御でオンオフ可能なスイ
ッチング用トランジスタ66を備えた切換部62および
ジャック67へのプラグの抜き差しと連動してオンオフ
する切換スイッチ69を介して電源部64に繋がれてお
り、通常は音声発生装置57あるいはメロディ発生装置
58が作動状態となる期間のみ切換部62のトランジス
タ66がオンして増幅装置59における余分な電力の消
費を防止するが、ジャック67にプラグが差し込まれ
て、増幅装置59の入力側とテレビジョン等の音声出力
端子間が接続された場合には、制御部56の動作とは関
係なく強制的に増幅装置59をオンし、通常の増幅器と
しても作動する様にしている。なお、増幅装置59のオ
ンオフ動作により制御部56に対する印加電圧が変動す
るのを防止するため、電源部64には大容量の平滑用コ
ンデンサ70と分離用のダイオード71とを接続してい
る。 第6図および第7図は、制御部56のROM52内に格
納されたプログラムによる電気回路全体の制御の流れを
示す。 第6(a)図は全体的な制御の流れの概略を示すものであ
って、プログラムをスタートさせる(ステップ80)
と、RAM51内のワークエリアあるいはスタックエリ
ア等の初期化が行われたあと、スイッチ部61からの入
力の受け付けが可能な待機状態になる(ステップ8
3)。かかるスタンバイ状態で予約時刻に達する(ステ
ップ84)と、予め設定した予約内容によるアラーム処
理Aを行い、またタイマーユニット2の下面16側に配
備したタイマー設定部18に設けた言葉選択、ウィーク
リー予約、ディリー予約、予約取り消しの各設定スイッ
チ34あるいはキャラクター人形3の前面に突出した操
作スイッチ13がオンされたことが判断されると、各々
のスイッチ操作(ステップ84〜89)に対応したデー
タ処理(B〜E)が行われたあと、ステップ83のスタ
ンバイ状態に戻る。 第6図(b)は、上記スイッチ操作の有無、各種カウンタ
の更新、予約時刻の検査等を行う割り込みサブルーチン
の流れを示す。かかる割り込み処理は、割り込み禁止状
態の場合を除き、本実施例においては0.25秒の単位時間
毎に強制的に当該割り込み処理が行われる。 サブルーチンに入る(ステップ101)と、ステップ1
02で分カウンタの値を1だけ減算したあと、ステップ
103でカウンタの値が0になったか否かの判定がなさ
れる。本実施例では、第6図(a)における初期設定時
(ステップ81)およびステップ104で分カウンタに
予め239の値をセットするとともに、0.25秒おきに割
り込み処理を行ってセット値を1ずつ減算し(ステップ
102)ており、ステップ103の判断がNOであれば
そのままステップ111に進むが、YESであれば前回
のカウント時から1分経過したことが判断されるので、
次のステップ105で現在時刻を1分進めたあと、ステ
ップ106〜110で当該時刻におけるアラーム要求の
有無が判断される。すなわち、基準時刻と予約時刻とを
基準時刻が1分経過する毎に比較し(ステップ10
7)、両者が一致したことがステップ108で判断され
ると、予約内容を記憶した予約エリアの先頭アドレスが
アラームエリアにセットされる(ステップ109)。本
実施例では、アラームエリアへのアラーム要求のセット
は3組まで許され、同一時刻における異なったアラーム
要求、あるいは同一時刻ではないがアラーム処理中にタ
イムアップした要求を含めた3組分の予約を制御部56
内に常時留保することが可能となり、従って、ステップ
106の判断でアラームエリアが一杯になり、それ以上
の留保ができないがステップ110で全ての予約時刻を
検査し終えると、次のステップ111に移る。 ステップ111ないしステップ115は、プログラム中
で設定使用される各種タイマーカウンタの処理ステップ
であって、ステップ111において、タイマーフラグが
セットされていることにより20秒又は3分タイマーが
作動中と判断されれば、当該タイマーカウンタの値を1
だけ減算する(ステップ112)。次にステップ113
の判断で、タイマーカウンタの値が0になりカウントア
ップしたことが判定されれば、当該タイマーフラグをク
リアして初期状態に戻し(ステップ114)、次に2秒
又は5秒タイマーのカウント値をマイナス1し(ステッ
プ115)で、タイマー処理を終える。 ステップ116ないしステップ118は、スイッチ操作
状況の検査処理にかかるステップである。即ち、ステッ
プ116でスイッチ13・34の読み込み及びチェック
が行われ、ステップ117でスイッチがオフ状態からオ
ン状態に変化したことが判断された時のみスイッチフラ
グをセット(ステップ118)して、サブルーチンから
抜ける(ステップ119)。従って、当該サブルーチン
による割り込み処理レートである0・25秒おきにスイ
ッチのオンオフ状態をサンプリングする形となり、同一
のスイッチを押し続けたりスイッチのチャタリングがあ
っても1回のスイッチ操作と制御部は判断し、誤動作を
防止する。 第7図(a)は、第6図(b)における割り込みサブルーチン
時において予約時刻と現在時刻とが一致することによ
り、アラームエリアにアラーム要求データがセットされ
た場合におけるアラーム処理Aの流れを示す。処理をス
タートする(ステップ140)と、ステップ141で2
秒または5秒タイマーが既に作動中と判断された場合は
該タイマーがタイムアップするまで待つことにより、前
段の処理との間に一定間隔を設けたあと、スイッチエリ
アをクリアし(ステップ142)てスイッチ部61から
の入力を受け付け可能とし、更に言葉選択およびアラー
ム終了フラグをクリアする(ステップ143)ととも
に、増幅装置59の電源をオンし(ステップ144)て
アラーム処理の準備を終え、以下のステップ145〜1
67で示すアラーム表示サイクルに移る。 ステップ145において、まず表示すべきアラーム内容
に対応してアラームの繰り返し回数をセットする。本実
施例においては、ステップ146で軽快な短時間のチャ
イム音を、ステップ151において報知内容に対応した
一連の言葉から成る音声を、更にステップ159で周知
の曲をアレンジした所定時間持続するメロディを各々順
次発音させるとともに、各発音間のステップ147・1
52・163で2秒タイマーを作動させることにより2
秒の時間間隔を設けたものを1回の表示サイクルとす
る。そして、選択された言葉が「おはよう」の目覚しコ
ールおよび「おやすみなさい」のおやすみコールについ
ては、上記サイクルを3回繰り返し、それ以外の言葉が
選択された場合には、1回だけ表示サイクルを実行した
あと、ステップ165の判断でかかるアラーム表示サイ
クルから抜けてステップ168に移る様にしている。ま
た予約された言葉のコード番号が1または2の「おはよ
う」「おやすみなさい」であるとステップ155で判断
されれば、ステップ158で言葉に対応したメロディを
選択するが、その他の言葉の場合には、ステップ156
および157でメロディカウンタの値を順次シフトさせ
ていって、曲目を1回のアラーム処理毎に変更する様に
している。 更に、各発音間の2秒の無音時(ステップ149・15
4・167)およびメロディ発音時(ステップ161)
に限り、キャラクター人形3の前面に突出した操作スイ
ッチ13の押圧による信号入力を受け付け、アラーム表
示サイクルの途中であっても当該サイクルから抜けてス
テップ168に移り、たとえメロディを発音途中であっ
ても、ステップ168ないしステップ172でメロディ
発生装置58に印加されていたSTART信号を止める
と同時にSTOP信号を送り、表示途中のメロディを強
制的に停止可能とする。 上記の如くして表示サイクルを終了すると、まず5秒タ
イマーをスタートし(ステップ173)、スイッチエリ
アをクリアし(ステップ174)てスイッチ入力を受け
付け可能とし、更にステップ175で上記アラーム表示
サイクルで実行した予約内容の先頭番地を退避させると
ともに、ステップ176でアラーム要求データ数を−1
したあとステップ177でアラームエリアに要求データ
が残っているか否かの判断がなされる。かかる判断がY
ESであれば、現時点で処理を必要とするアラームは全
て処理し終えたことが判るので、増幅装置59を停止し
(ステップ178)、アラーム終了フラグをセットし
(ステップ179)、更に3分タイマーのスタート(ス
テップ180)およびスイッチエリアのクリア(ステッ
プ181)により、予約の取り消しを受け付け可能とし
てアラーム処理Bを終了する(ステップ182)。 ステップ177の判定が逆にNOであれば、同一時刻に
対して複数の予約がなされているか、アラーム処理中に
タイムアップした予約が他に存在することが判るので、
ステップ183でアラーム要求データを1段シフトして
次のデータを取り出す。本実施例では、取り出されたデ
ータをすぐに処理することなく、ステップ173でスタ
ートした5秒タイマーがステップ189でタイムアップ
するまで取消スイッチの入力を受け付け(ステップ18
4)、取消スイッチがオンされると、ステップ175で
退避された実行済みアラームの予約をクリアし(ステッ
プ185)て予約を取り消したあと、処理成功イメージ
のメロディを出力し(ステップ186)、更にスイッチ
エリアをクリア(ステップ187)するとともに、2秒
タイマーをスタートし(ステップ188)てステップ1
86のメロディ出力から2秒の時間間隔を強制的に設け
る。ステップ189の判断で、2秒または5秒タイマー
がタイアップしたことが判定されると、ステップ190
でスイッチエリアをアクリアしたあと、再度ステップ1
45に戻って次のアラームに対するアラーム表示サイク
ルを実行するのである。 第7図(b)は、第6図(a)における言葉選択処理Bの流れ
を示し、処理がスタートする(ステップ191)と、ス
テップ192でトランジスタスイッチ66に制御部56
からオン信号を送って増幅装置59を作動させたあと、
ステップ193で20秒タイマーがカウント中に言葉選
択スイッチがオンされたか否かの判断がなされる。かか
る判定がYESであれば、既に20秒以内に言葉選択ス
イッチがオンされて当該言葉選択処理Cが行われてお
り、次の言葉の表示を要求していると判断されるので、
言葉選択コードの番号を1進め(ステップ194)たあ
と、20秒タイマーとフラグをセットし(ステップ19
5)て予約、取り消し等の他の処理命令を受け付け可能
な状態にするとともに、音声発生装置57に対して言葉
出力要求を発して(ステップ196)、言葉選択コード
番号で特定される言葉を出力させる。そのあと、増幅装
置59の動作を停止し(ステップ197)、更にスイッ
チエリアをクリア(ステップ198)して次のスイッチ
押圧動作を受け付け可能とする(ステップ199)。 第7図(c)は、第6図(a)における予約処理Cの流れを示
す。予約処理がスタートする(ステップ200)と、ま
ず最初にステップ201で20秒タイマーがカウント中
か否かの判断がなされる。かかる判定がNOであれば、
直ちにスイッチエリアをクリア(ステップ208)して
予約処理を行わずに終了する。しかしステップ201の
判定がYESであれば、言葉選択スイッチを押して前記
した言葉選択処理Bを行うことにより自発的に次に処理
すべき言葉を選んだものと判断して、以下の予約処理に
移る。 まずステップ202でカウント中の20秒タイマーおよ
びフラグをリセットしたあと、増幅装置59を作動し
(ステップ203)、更に予約エリアのチェックを行う
(ステップ204)。ステップ205の判断において予
約エリアに空がないと判断されると、既に規定以上の予
約がなされておりそれ以上の予約が出来ないので、不成
功イメージのメロディをメロディ発生装置58から出力
させ(ステップ206)たあと、増幅装置59を停止
(ステップ207)て当該処理を終了する。 一方、ステップ205の判定がYESであれば、ステッ
プ210とステップ212との間で割り込みを禁止して
おいて現在時刻と週番号とを取り込んだ(ステップ21
1)あと、かかる時刻と週番号を予約エリアにセットす
る(ステップ213)。なお現在時刻と週番号は、日本
標準時に対応するものであってもよいが、本実施例にあ
っては、電池20をセットした時を基準とし、それから
各日を0〜1439までの分単位で表して現在時刻とす
るとともに、前記基準時から1週間の各日を1から7ま
での週番号に対応させることにより、曜日を特定表示し
ている。 次にステップ214において、予約処理に先立って選ば
れた言葉が、「はじまるよ」の様な『開始』を表す特別
な言葉か否かの判断がなされる。かかる判断がNOであ
ればそのまま次のステップ216に進むが、YESであ
れば、ステップ215で予約エリアにセットされた予約
時刻を強制的に5分間遡らせてセットし直すことによ
り、タイマーが作動するアラーム処理時に、テレビジョ
ンの番組等が実際に開始するより5分前に知らせること
が可能となり、番組録画等の準備が十分できる様にして
いる。次にステップ216で、予約内容がモーニングコ
ールの様な毎日行わせる予約内容か否か、すなわち第6
図(a)のステップ86でウィークリースイッチがオンさ
れたか、ステップ87でデイリースイッチがオンされた
かをスイッチエリアの内容から判断し、判定がYESで
あれば、ステップ213でセットされた週番号を0にし
て毎日予約であることを表示する(ステップ217)。
更にステップ218で、第7図(b)に示す言葉選択処理
時に表示された言葉に対応するコード番号を予約エリア
にセットして1組分の予約を終了したあと、メロディ発
生装置58に成功イメージのメロディの出力要求を出し
(ステップ219)て、予約が正常に行われたことを操
作者に知らせる。その後、増幅装置59への通電を停止
し(ステップ220)、スイッチエリアをクリアして
(ステップ221)一連の予約処理を終了する(ステッ
プ222)のである。 第7図(d)は、第6図(a)における取消処理Dの流れを示
すものであって、当該処理を開始する(ステップ23
0)と、まず増幅装置59に駆動電圧を印加して作動さ
せ(ステップ231)、更にステップ232で3分タイ
マーがカウント中か否かの判断がなされる。3分タイマ
ーは、前記したアラーム処理Aの終了時にセットされる
ものであって、かかる判定がYESであると、アラーム
処理Aの終了から3分以内であることが判る。そこでか
かる場合には、ステップ233に移って3分タイマーと
当該フラグをリセットした(ステップ233)あと、第
7図(a)のステップ175で退避させておいたアラーム
処理時の実行アドレスを取り入れ(ステップ234)、
更に実行アドレスに対応する予約エリアをクリアし(ス
テップ235)て、アラーム処理を終えた予約内容を消
去する。 一方ステップ232の判定がNOであり、取消スイッチ
がアラーム処理とは無関係に押された場合には、更にス
テップ236で20秒タイマーがカウント中か否かの判
断がなされる。20秒タイマーは、第9図(b)のステッ
プ195で言葉選択処理時に所定の言葉を選んだ場合に
のみセットされるものであり、ステップ236の判定が
NOであれば誤操作であるとして、増幅装置59を停止
して終了する(ステップ239)が、判定がYESであ
れば積極的に取り消し処理を希望しているものと判断で
きるので、以下のステップ240に移って取り消し動作
を行う。 まずステップ240で、20秒タイマーとフラグをリセ
ットして初期状態に戻したあと、処理が成功したか否か
を判別表示するためのOKフラグをリセットする(ステ
ップ241)。次にステップ242で、予約エリア中の
先頭アドレスをセットし、取消処理に先立つ言葉選択処
理時に選んだ言葉と一致するか否かの判断がステップ2
43でなされる。かかる判断がNOであれば、ステップ
246に移って次の予約エリアのアドレスをセットし、
ステップ247で予約エリア全体をチェックし終えるま
でステップ243の判定を続けるが、ステップ243の
判定がYESであれば、該当の予約エリアをクリアし
(ステップ244)、OKフラグをセットし(ステップ
245)て取消処理を順次行うことにより、同一の言葉
で予約された内容を全て消去する。 次にステップ248で、OKフラグが1か否かの判断が
なされ、判定がYESであればステップ244で少なく
とも1つの予約取り消しが実行されたことが判るので、
ステップ250で成功イメージのメロディをメロディ発
生装置58から出力させ、逆にNOであれば、該当の予
約が見つからず予約取り消しは全然行われなかったと判
断されるので、不成功のイメージのメロディの出力をメ
ロディ発生装置に要求する(ステップ249)。しかる
後、次の表示動作との間に時間間隔を設けるために2秒
タイマーを始動し(ステップ251)、増幅装置59を
停止し(ステップ252)、スイッチエリアをクリアし
(ステップ253)て、取消処理Dを終了する(ステッ
プ254)。 第7図(e)は、第6図(a)におけるお遊び処理Eの流れを
示すものであって、アラーム処理時の特定期間にタイマ
ーユニット2の操作スイッチ13が押された場合を除い
て当該処理を開始し、メロディあるいは言葉を操作スイ
ッチ13の押圧動作と連繋してランダムに出力可能とす
る。すなわち、処理がスタートする(ステップ260)
と、増幅装置59を始動し(ステップ261)たあと現
在時刻を取り入れる(ステップ262)。ここでデータ
テーブルには、予め出力させるべきメロディおよび言葉
の別あるいは表示内容を特定するコード番号等のデータ
をランダムにセットしておくとともに、ステップ262
で得た現在時刻の数値を利用してステップ263でデー
タテーブル中のアドレスを算出し、該アドレスからデー
タテーブル内のデータを取り出す(ステップ264)。
ステップ265の判断で、取り出されたデータが言葉で
あれば音声発生装置57に出力要求を出し(ステップ2
66)、メロディであればメロディ発生装置58に出力
要求を出した(ステップ267)あと、増幅装置59へ
の通電を停止し(ステップ268)、スイッチエリアを
クリアして(ステップ269)処理を終了する(ステッ
プ270)。上記音響の発生は、操作スイッチ13を押
す毎に連続して行われ、しかも表示内容は、予約してお
いた複数種類の言葉あるいはメロディ群の中からランダ
ムに選択されるため、意外性に富んだ言葉またはメロデ
ィの組み合わせによる音響表示が行われるのである。 [発明の効果] 本発明は上記の如く、重複した予約の受け付け及び実行
を可能としたので、重要度に応じて繰り返し回数を異な
らせたアラーム処理を行える利点を有する。
Conventionally, this type of timer device generally has one set of data to be displayed and time, one or a plurality of sets of the data stored in advance, and the data is sequentially executed as time passes. Further, according to such a configuration, the same or similar processing content is executed at the same or close time, and therefore, if the same data reservation is made, the operation itself cannot be accepted as an erroneous operation, or even if it is accepted. Even if it did, it would not be effectively implemented. [Problems to be Solved by the Invention] However, it is extremely important for an operator to make redundant reservations of the same contents, whether consciously or unconsciously. It is problematic to simply ignore the request as a mistaken operation. [Means for Solving Problems] The present invention has been made by focusing on the above problems,
An object of the present invention is to provide a timer device capable of displaying an alarm corresponding to the lightness of processing contents by enabling duplicate reservation and processing. According to the present invention, as shown in FIG. 1, an arbitrary time and a display request in words at that time are used as one set of reservation data, and a plurality of sets of reservation data can be stored by the reservation setting means and the reservation setting means. Means for comparing the reservation time of all the reservation data and the reference time for each set unit time, and means for storing a corresponding display request when the comparison means detects a match between the reservation time and the reference time, and It is provided with means for sequentially taking out the display requests stored in the storage means and displaying the words and the melody corresponding to each display request as a set in series. Further, while the above-mentioned reservation setting means makes it possible to set duplicate display requests having substantially the same contents at substantially the same time, the above-mentioned display means automatically changes the melody piece to be combined for each display request. Is characterized by. [Operation] In the above configuration, when the reservation setting operation is performed on the reservation setting means, each reservation time is compared with the reference time for each minimum setting unit time of the reservation time, and it is detected that the two match. The request for processing the reservation data for which a match is detected is stored in the storage means. Such comparison and storage operations are
All reservation data are made at unit time intervals. As a result, when a plurality of timer reservations having the same content are made, a plurality of sets of processing requests are held in the storage means at the same time. When the data is stored in the storage means, the display means sequentially takes out the data and sequentially displays a set of words according to the contents of each display request and different melodies. [Embodiment] FIGS. 2 to 5 show an example in which the present invention is applied to a doll-shaped timer device 1 that emits a predetermined sound at a set time, but the invention is not limited to this, and the power is turned on at the reserved time. Of course, the same can be applied to a timer device that performs various display operations. The timer device 1 according to the present invention, as shown in FIG.
It is composed of a timer unit 2 and a character doll 3 which houses and holds the unit 2. The character doll 3 is a three-dimensional representation of a character such as a human child or an animal, and the whole or at least the protrusion 5 such as a "navel" protruding at the center of the front is made of a soft material such as a synthetic resin material. Form. In addition, a storage portion 6 having a size to fit the timer unit 2 is formed at a position on the back side of the protrusion 5 at the bottom of the doll 3, and an opening 7 leading to the storage portion 6 is provided on the lower surface side of the doll 3. . Further, the protrusion 5 is formed with a fitting hole 5a into which the tip 9 of the operation switch 13 protruding from the front surface 8 side of the timer unit 2 is tightly fitted, and the timer unit 2 is stored in the storage portion 6 of the doll 3. And then insert the operation switch tip 9 into the fitting hole 5a.
Is securely held in the doll 3, and the switches can be operated from the front side of the doll 3. The timer unit 2 has an upper case 10 as shown in FIG.
The lower case 11 and the lower case 11 are joined together in a lid-like manner to form a flat hollow cylindrical main body case 12, and an electric circuit including an operation switch 13, a speaker 14 and a circuit board 15 described later is provided inside the main body case 12. Deploy. Further, a battery storage portion 17 and a timer setting portion 18 are provided on the lower surface 16 side of the lower case 11, and when the timer unit 2 is stored in the doll 3, the battery 20 is replaced through the opening 7 or the setting switch 34. It is possible to operate. The battery storage unit 17 has a size capable of storing, for example, four AA dry batteries 20 in parallel, and an opening 21 thereof is covered by a battery lid 22 so as to be openable and closable. The battery lid 22 has a rectangular thin plate shape that substantially coincides with the opening 21 of the battery housing portion 17, and has pivot shafts 23 and 23 projecting from the base end side surface toward both sides, while being adjacent to the battery housing portion 17. Timer setting section 1
Slide grooves 24, 24 are provided on both sides of 8, and the rotation shaft 23 is slidably and rotatably pivotally fixed to the slide grooves 24.
Further, finger hooking projections 26, 26 are formed on both sides of the battery lid 22 with the locking claw 25 at the center, while the battery lid 22 is provided.
At the corresponding position on the side of the lower case 11 when the finger is closed, a finger hooking groove 27 having a substantially hemispherical shape, half of which is covered by the finger hooking protrusion 26.
And a locking groove 28 into which the locking claw 25 is detachably fitted. With the battery cover 22 in the closed state, a finger is inserted into the finger hook groove 27, and only the length of the slide groove 24 corresponds to the timer setting unit 1.
After slidingly moving in the direction of 8 to release the engagement state between the locking claw 25 and the locking groove 28, the finger hook projection 26 is lifted to release. The timer setting unit 18 forms a groove 29 adjacent to the battery storage unit 17, and the battery cover 22 is provided in the groove 29.
Four through-holes 30 are formed orthogonal to the sliding direction of. On the other hand, the push switch 31 is attached to the opposite position on the circuit board 15, the base end 33a of the cap-shaped switch button 33 is fitted into the pressing portion 32 of the switch 31, and the tip 33b of the switch button 33 is fitted into the through hole 30.
4 sets of setting switches 34 are formed so as to protrude from the circuit board 15 and indirectly through the switch button 33.
The upper switch 31 is turned on. Further, by describing the operation content 35 of each setting switch 34 at the corresponding position of each through hole 30 on the surface of the battery lid 22,
It is designed to be able to immediately respond to the addition or change of the setting function when the operation of the electric circuit is controlled by a program. The operation switch 13 includes a brim portion 37 at the tip of a substantially square tubular pressing rod 36 and a swing plate 38 at the proximal end thereof, and the pressing rod 36 is provided in a guide groove 39 formed between the upper and lower cases 10 and 11. On the other hand, the mounting portion 40, which is connected to the swing plate 38 in a substantially L-shape via the hinge portion 41, is fixed to the upper case 10 while the swing plate 38 is inserted through the swing plate 38.
Is swung toward the auxiliary plate 42. The auxiliary plate 42 is fixedly arranged on the upper case 10 substantially in parallel with the swing plate 38, and the swing plate 38 is provided as a main body by interposing a spring body 44 between the opposed projections 43. It is constantly urged toward the outside of the case 12. In addition, the swing plate 38 to the auxiliary plate 42
While the pressing shaft 45 is projected toward, and a guide hole 46 through which the pressing shaft 45 passes is provided at a corresponding position of the auxiliary plate 42,
The push switch 31 is arranged on the circuit board 15 so as to approach the front surface of the guide hole 46. In the operation switch 13 having the above-mentioned configuration, when the timer unit 2 is housed in the doll 3, the flange portion 37 at the tip of the operation unit 13 works as a slip-out member. Also,
When the "navel" portion 5 is pressed against the spring body 44, the pressing shaft 45 advances, but the transition direction of the pressing shaft 45 is corrected by the guide hole 46 of the auxiliary plate 42 and the push switch 31 is pressed accurately. The part 32 can be turned on. FIG. 4 is a block diagram showing an outline of an electric circuit used in the timer unit 2, in which a central processing unit (CPU) which operates by a program is used as the center of control, the central processing unit 50 and the RAM 51, ROM5
The control unit 56 is configured by connecting the storage device 53 and the input / output device 54 such as two via various buses 55. Further, the input / output device 54 includes a voice generator 57, a display unit 60 including a melody generator 58, or a controller 5.
By connecting the switch unit 61 that allows the operator to directly access the unit 6, various timer operations such as various reservation settings or sound generation by the display unit 60 at the reserved time are enabled. FIG. 5 shows an example of a more specific electric circuit. A microprocessor (for example, μPD7507SC) in which a 4-bit CPU 50 that operates as a central processing unit, a RAM 51 that functions as a work area, a ROM 52 that stores an execution program in advance, and an input / output device 54 that exchanges data with an external circuit are integrated in one chip Used as the control unit 56,
When a reset signal is input to the reset terminal RESET from the differentiating circuit 63 at the same time when the battery 20 is set in the battery storage unit 17, the program in the ROM 52 is executed according to a predetermined procedure to perform data processing, and input / output is performed. Data is transferred between the switch unit 61, the voice generation device 57, and the melody generation device 58 via the ports P 00 to P 53 provided in the device 54. As described above, the switch portion 61 is composed of one operation switch 13 operated from the front surface 8 side of the main body case 12 accommodating the timer unit 2 and four setting switches 34 operated from the lower surface 16 side of the main body case 12. To be done. A normally open on / off switch 31 is used for each of the switches 13 and 34.
4 and the other end is grounded by a resistor 65 to control unit 5
By individually connecting to the input ports of 6, the "H" signal is applied to the control unit 56 when each of the switches 13 and 34 is turned on to notify the operation status of the switches. As the voice generation device 57, for example, LC8100 which is a PARCOR type voice synthesis IC is used. START
In conjunction with the start signal from the controller 56 to the terminal is input, is identified by a four-digit binary signal applied from the control unit 56 with respect to the word selection terminal C 0 -C 4, "good morning" A series of words such as "good night" is output from the output terminal DA. A so-called melody IC such as SVM7793 is used for the melody generator 58. When a 3-digit binary signal is applied from the control unit 56 to the melody selection terminals MS1 to MS3, the melody specified by the value of the binary signal is linked to the application of the start signal to the start terminal MT. Is output,
Forced stop is possible by applying a stop signal to the STP terminal. The output signals from the voice generating device 57 and the melody generating device 58 are input to the amplifying device 59, amplified to a predetermined size, and then sounded by the speaker 14 attached to the upper case 10. The power supply terminal V cc of the amplifier 59 is connected to a switching unit 62 equipped with a switching transistor 66 that can be turned on and off under the control of the control unit 56, and a changeover switch 69 that is turned on and off in conjunction with the plugging and unplugging of a jack 67. The power source 64 is connected to the power source 64, and normally the transistor 66 of the switching unit 62 is turned on only during the period when the voice generator 57 or the melody generator 58 is in an operating state to prevent extra power consumption in the amplifier 59. However, when the plug is inserted into the jack 67 and the input side of the amplifying device 59 and the audio output terminal of a television or the like are connected, the amplifying device 59 is forcibly irrelevant regardless of the operation of the control unit 56. It turns on and operates as a normal amplifier. A large-capacity smoothing capacitor 70 and a separating diode 71 are connected to the power supply unit 64 in order to prevent the applied voltage to the control unit 56 from changing due to the ON / OFF operation of the amplifier 59. FIG. 6 and FIG. 7 show the flow of control of the entire electric circuit by the program stored in the ROM 52 of the control unit 56. FIG. 6 (a) shows the outline of the overall control flow, and the program is started (step 80).
Then, after the work area or stack area in the RAM 51 is initialized, a standby state in which an input from the switch unit 61 can be accepted (step 8)
3). When the reserved time is reached in this standby state (step 84), alarm processing A according to preset reservation contents is performed, and word selection, weekly reservation provided in the timer setting section 18 provided on the lower surface 16 side of the timer unit 2, When it is determined that the setting switch 34 for daily reservation and the reservation cancellation or the operation switch 13 projecting to the front of the character doll 3 is turned on, the data processing (B) corresponding to each switch operation (steps 84 to 89) is performed. ~ E) is performed, the process returns to the standby state of step 83. FIG. 6 (b) shows the flow of an interrupt subroutine for performing the above switch operation, updating various counters, and checking the reserved time. In the present embodiment, the interrupt process is forcibly performed every unit time of 0.25 seconds except in the interrupt disabled state. When entering a subroutine (step 101), step 1
After subtracting 1 from the value of the minute counter in 02, it is determined in step 103 whether or not the value of the counter has become 0. In this embodiment, at the time of initial setting (step 81) and step 104 in FIG. 6 (a), the value of 239 is set in advance in the minute counter, and interrupt processing is performed every 0.25 seconds to subtract 1 from the set value. If the determination in step 103 is NO, the process proceeds directly to step 111. If the determination in step 103 is YES, it is determined that one minute has passed since the previous counting time.
After advancing the current time by 1 minute in the next step 105, the presence or absence of an alarm request at that time is determined in steps 106 to 110. That is, the reference time and the reserved time are compared every one minute of the reference time (step 10
7) If it is determined in step 108 that the two match, the start address of the reserved area storing the reservation content is set in the alarm area (step 109). In the present embodiment, up to three sets of alarm requests can be set in the alarm area, and reservations for three sets including different alarm requests at the same time or requests that are not the same time but have timed up during alarm processing are reserved. The control unit 56
Therefore, it is possible to reserve all the time. Therefore, the alarm area becomes full at the judgment of step 106, and further reservation cannot be made, but when all the reserved times have been inspected at step 110, the process proceeds to the next step 111. . Steps 111 to 115 are processing steps of various timer counters set and used in the program. In step 111, it is determined that the 20 second or 3 minute timer is operating because the timer flag is set. For example, set the value of the timer counter to 1
Is subtracted (step 112). Then step 113
If it is determined that the value of the timer counter has reached 0 and has counted up, the timer flag is cleared to return to the initial state (step 114), and then the count value of the 2-second or 5-second timer is reset. The timer processing is ended by subtracting 1 (step 115). Steps 116 to 118 are steps relating to the switch operation status inspection processing. That is, the switches 13 and 34 are read and checked in step 116, and the switch flag is set (step 118) only when it is determined in step 117 that the switch has changed from the off state to the on state, and the subroutine is called. Exit (step 119). Therefore, the on / off state of the switch is sampled at every 0.25 seconds, which is the interrupt processing rate by the subroutine, and even if the same switch is continuously pressed or switch chattering occurs, the switch operation is judged once by the control section. And prevent malfunctions. FIG. 7 (a) shows a flow of the alarm processing A when the alarm request data is set in the alarm area due to the reservation time and the current time being coincident with each other in the interrupt subroutine in FIG. 6 (b). . When the processing is started (step 140), 2 is executed in step 141.
If it is determined that the second or 5 second timer is already operating, wait for the timer to time out, and after a certain interval is provided between the timer and the preceding process, clear the switch area (step 142). The input from the switch unit 61 can be accepted, the word selection and the alarm end flag are cleared (step 143), the power of the amplification device 59 is turned on (step 144), and the preparation for the alarm processing is completed. 145-1
The process moves to the alarm display cycle indicated by 67. In step 145, first, the number of times the alarm is repeated is set corresponding to the alarm content to be displayed. In this embodiment, a light and short chime sound is produced in step 146, a voice consisting of a series of words corresponding to the notification content is provided in step 151, and a known melody arranged for a predetermined time is arranged in step 159. Sequentially pronounce each and step 147.1 between each pronunciation
2 by activating the 2 second timer at 52.163
One display cycle has a time interval of seconds. Then, for the wake-up call with the selected word "Good morning" and the good-night call with "Good night", the above cycle was repeated 3 times, and when the other words were selected, the display cycle was executed only once. After that, the process goes out of the alarm display cycle in step 165 and goes to step 168. If it is determined in step 155 that the reserved code has the code number 1 or 2 of "Good morning" or "Good night", the melody corresponding to the word is selected in step 158, but in the case of other words. , Step 156
And 157, the value of the melody counter is sequentially shifted so that the tune is changed every alarm processing. Furthermore, when there is no sound for 2 seconds between each pronunciation (steps 149 and 15
4.167) and when the melody is pronounced (step 161)
As long as the signal input by pressing the operation switch 13 projecting to the front of the character doll 3 is accepted, even if it is in the middle of the alarm display cycle, the process exits from the cycle and moves to step 168, even if the melody is being sounded. In step 168 to step 172, the START signal applied to the melody generator 58 is stopped, and at the same time, the STOP signal is sent to forcefully stop the melody being displayed. When the display cycle is completed as described above, first, the timer for 5 seconds is started (step 173), the switch area is cleared (step 174), and the switch input can be accepted. Further, in step 175, the alarm display cycle is executed. The head address of the reserved contents saved is saved, and the number of alarm request data is set to -1 in step 176.
After that, in step 177, it is judged whether or not the requested data remains in the alarm area. This judgment is Y
If it is ES, it is understood that all the alarms that need to be processed at this moment have been processed, so the amplification device 59 is stopped (step 178), the alarm end flag is set (step 179), and a further 3 minute timer is set. By starting (step 180) and clearing the switch area (step 181), the cancellation of the reservation can be accepted and the alarm processing B is ended (step 182). If the determination in step 177 is conversely NO, it can be known that a plurality of reservations have been made for the same time, or there are other reservations that have timed up during the alarm processing.
At step 183, the alarm request data is shifted by one stage and the next data is taken out. In this embodiment, the input of the cancel switch is accepted until the 5-second timer started in step 173 expires in step 189 without immediately processing the retrieved data (step 18).
4) When the cancel switch is turned on, the reservation of the executed alarm saved in step 175 is cleared (step 185) to cancel the reservation, and then the melody of the processing success image is output (step 186). The switch area is cleared (step 187) and the 2-second timer is started (step 188) to proceed to step 1
A time interval of 2 seconds is compulsorily set after the 86 melody output. If it is determined in step 189 that the timer for 2 seconds or 5 seconds has timed up, step 190
After clearing the switch area with, step 1 again
Returning to 45, the alarm display cycle for the next alarm is executed. FIG. 7 (b) shows the flow of the word selection process B in FIG. 6 (a). When the process starts (step 191), the transistor switch 66 is controlled by the control unit 56 in step 192.
After sending the ON signal from the device to activate the amplifier 59,
In step 193, it is determined whether the word selection switch is turned on while the 20-second timer is counting. If this determination is YES, it is determined that the word selection switch has already been turned on within 20 seconds and the word selection processing C has been performed, and the display of the next word is requested.
After advancing the number of the word selection code by 1 (step 194), the 20-second timer and flag are set (step 19).
5) Then, other processing commands such as reservation and cancellation are accepted, and a word output request is issued to the voice generator 57 (step 196) to output the word specified by the word selection code number. Let After that, the operation of the amplifying device 59 is stopped (step 197) and the switch area is further cleared (step 198) so that the next switch pressing operation can be accepted (step 199). FIG. 7 (c) shows the flow of the reservation process C in FIG. 6 (a). When the reservation process starts (step 200), first, at step 201, it is judged if the 20-second timer is counting. If the determination is NO,
Immediately, the switch area is cleared (step 208) and the reservation process is not performed and the process ends. However, if the determination in step 201 is YES, it is determined that the word to be processed next is voluntarily selected by pressing the word selection switch and performing the word selection processing B described above, and the processing proceeds to the following reservation processing. . First, after resetting the counting timer for 20 seconds and the flag in step 202, the amplifying device 59 is operated (step 203) and the reserved area is checked (step 204). If it is determined in step 205 that the reserved area is not empty, more reservations have already been made and further reservations cannot be made. Therefore, the melody of the unsuccessful image is output from the melody generator 58 (step After 206), the amplification device 59 is stopped (step 207) and the process ends. On the other hand, if the determination in step 205 is YES, interrupts are prohibited between steps 210 and 212 and the current time and week number are fetched (step 21).
1) Then, the time and week number are set in the reservation area (step 213). The current time and the week number may correspond to the Japanese standard time, but in the present embodiment, the time when the battery 20 is set is used as a reference, and each day thereafter is in a minute unit from 0 to 1439. In addition to the current time, the day of the week is specified and displayed by associating each day of the week from the reference time with the week number from 1 to 7. Next, at step 214, it is judged whether or not the word selected prior to the reservation processing is a special word representing "start" such as "beginning". If the determination is NO, the process directly proceeds to the next step 216, but if the determination is YES, the timer is operated by forcibly moving back the reserved time set in the reserved area for 5 minutes and resetting. At the time of alarm processing, it is possible to notify the television program 5 minutes before the actual start of the program, so that the program recording can be sufficiently prepared. Next, at step 216, whether the reservation content is a reservation content to be made every day such as wake-up call, that is, the sixth
It is determined from the contents of the switch area whether the weekly switch is turned on in step 86 of the figure (a) or the daily switch is turned on in step 87. If the determination is YES, the week number set in step 213 is set to 0. Then, it is displayed that the reservation is made every day (step 217).
Further, in step 218, the code number corresponding to the word displayed during the word selection process shown in FIG. 7 (b) is set in the reserved area and one group of reservations is completed. The melody output request is issued (step 219) to inform the operator that the reservation has been made normally. After that, the power supply to the amplification device 59 is stopped (step 220), the switch area is cleared (step 221), and the series of reservation processing is ended (step 222). FIG. 7 (d) shows a flow of the cancellation process D in FIG. 6 (a), and the process is started (step 23).
0), the drive voltage is first applied to the amplifying device 59 to operate it (step 231), and it is further determined in step 232 whether the 3 minute timer is counting. The 3-minute timer is set at the end of the alarm processing A described above, and if the determination is YES, it is understood that it is within 3 minutes from the end of the alarm processing A. Therefore, in such a case, after moving to step 233 and resetting the three-minute timer and the flag (step 233), the execution address for alarm processing saved in step 175 of FIG. Step 234),
Further, the reserved area corresponding to the execution address is cleared (step 235), and the reserved content after the alarm processing is erased. On the other hand, if the determination in step 232 is NO and the cancel switch is pressed regardless of the alarm processing, it is further determined in step 236 whether the 20-second timer is counting. The 20-second timer is set only when a predetermined word is selected in the word selection process in step 195 of FIG. 9 (b), and if the determination in step 236 is NO, it is determined that it is an erroneous operation, and amplification is performed. Although the device 59 is stopped and terminated (step 239), if the determination is YES, it can be determined that the canceling process is positively desired, so the process proceeds to the following step 240 to perform the canceling operation. First, in step 240, after resetting the 20-second timer and flag to return to the initial state, the OK flag for discriminating and displaying whether or not the processing is successful is reset (step 241). Next, in step 242, the leading address in the reserved area is set, and it is determined in step 2 whether or not it matches the word selected in the word selection processing prior to the cancellation processing.
Done at 43. If the determination is NO, the process proceeds to step 246 to set the address of the next reserved area,
The judgment in step 243 is continued until the entire reserved area is checked in step 247. If the judgment in step 243 is YES, the reserved area is cleared (step 244) and the OK flag is set (step 245). By sequentially performing the cancellation process by using the same word, all the contents reserved by the same word are deleted. Next, in step 248, it is determined whether or not the OK flag is 1, and if the determination is YES, it is determined in step 244 that at least one reservation cancellation has been executed.
In step 250, the melody of the successful image is output from the melody generator 58. On the contrary, if NO, it is determined that the corresponding reservation was not found and the reservation was not canceled at all. Therefore, the melody of the unsuccessful image is output. Is requested to the melody generator (step 249). Then, a 2-second timer is started to set a time interval between the next display operation (step 251), the amplification device 59 is stopped (step 252), and the switch area is cleared (step 253). The cancellation process D is ended (step 254). FIG. 7 (e) shows the flow of the play processing E in FIG. 6 (a), except when the operation switch 13 of the timer unit 2 is pressed during a specific period during alarm processing. The process is started, and a melody or a word can be randomly output in association with the pressing operation of the operation switch 13. That is, the process starts (step 260)
Then, the amplification device 59 is started (step 261) and then the current time is taken in (step 262). Here, in the data table, data such as chord numbers for specifying the melody and words to be output or the display contents are randomly set in advance, and step 262 is performed.
The address in the data table is calculated in step 263 using the numerical value of the current time obtained in step 263, and the data in the data table is extracted from the address (step 264).
If it is determined in step 265 that the extracted data is a word, an output request is issued to the voice generating device 57 (step 2
66) If it is a melody, an output request is issued to the melody generator 58 (step 267), then the energization of the amplifier 59 is stopped (step 268), the switch area is cleared (step 269), and the process is ended. (Step 270). The sound is continuously generated every time the operation switch 13 is pressed, and the display content is randomly selected from a plurality of reserved words or melody groups, which is surprising. The acoustic display is made by combining the words or the melody. EFFECTS OF THE INVENTION Since the present invention has made it possible to accept and execute duplicate reservations as described above, there is an advantage that alarm processing can be performed in which the number of repetitions is changed depending on the importance.

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

第1図は本発明の概略を示すブロック図である。 第2図および第3図は本発明を実施したタイマー装置の
一例を示し、第2図は全体的な組み立て状態を示す斜視
図、第3図はタイマーユニットの組み立て状態を示す分
解斜視図である。 第4図および第5図は電気回路の一例を示し、第4図は
全体の概略を示すブロック図、第5図は第4図の具体的
な電気回路図である。 第6図および第7図は電気回路の制御の手順を説明する
流れ図であって、第6図(a)および(b)は全体的な流れ
を、第7図(a)ないし(e)は個別の機能の流れを示す。 2……タイマーユニット、 13……操作スイッチ、 34……設定スイッチ、 56……制御部、 57……音声発生装置、 58……メロディ発生装置、 59……増幅装置。
FIG. 1 is a block diagram showing the outline of the present invention. 2 and 3 show an example of a timer device embodying the present invention, FIG. 2 is a perspective view showing the whole assembled state, and FIG. 3 is an exploded perspective view showing the assembled state of the timer unit. . 4 and 5 show an example of an electric circuit, FIG. 4 is a block diagram showing an outline of the whole, and FIG. 5 is a concrete electric circuit diagram of FIG. 6 and 7 are flow charts for explaining the procedure of controlling the electric circuit. FIGS. 6 (a) and 6 (b) show the overall flow, and FIGS. 7 (a) to 7 (e) show The flow of individual functions is shown. 2 ... Timer unit, 13 ... Operation switch, 34 ... Setting switch, 56 ... Control unit, 57 ... Voice generating device, 58 ... Melody generating device, 59 ... Amplifying device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】任意の時刻と該時刻における言葉による表
示要求を1組の予約データとして、複数組の予約データ
を記憶可能な予約設定手段と、 該予約設定手段で記憶された全予約データの予約時刻と
基準時刻とを、設定単位時間毎に比較する手段と、 該比較手段で予約時刻と基準時刻の一致が検出される
と、対応する表示要求を記憶する手段と、 該記憶手段に蓄えられた表示要求を順次に取り出し、各
表示要求に対応する言葉とメロディとを1組として一連
に表示する手段とを備え、 上記した予約設定手段が、略同一時刻に対して略同一内
容の表示要求を重複設定可能とする一方、 上記した表示手段が、各表示要求毎に組み合わせるメロ
ディの曲目を自動的に変更することを特徴とするタイマ
ー装置。
1. Reservation setting means capable of storing a plurality of sets of reservation data with arbitrary time and a display request in words at that time as one set of reservation data, and all reservation data stored by the reservation setting means. A means for comparing the reservation time and the reference time for each set unit time, a means for storing the corresponding display request when the comparison means detects a match between the reservation time and the reference time, and a storage means for storing the display request. The display request is sequentially taken out, and means for sequentially displaying the words and the melody corresponding to each display request as a set is provided, and the reservation setting means described above displays substantially the same content at substantially the same time. A timer device characterized in that while the requests can be set to be duplicated, the above-mentioned display means automatically changes the tune of the melody to be combined for each display request.
JP61012862A 1986-01-23 1986-01-23 Timer-device Expired - Lifetime JPH067177B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61012862A JPH067177B2 (en) 1986-01-23 1986-01-23 Timer-device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61012862A JPH067177B2 (en) 1986-01-23 1986-01-23 Timer-device

Publications (2)

Publication Number Publication Date
JPS62170879A JPS62170879A (en) 1987-07-27
JPH067177B2 true JPH067177B2 (en) 1994-01-26

Family

ID=11817221

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61012862A Expired - Lifetime JPH067177B2 (en) 1986-01-23 1986-01-23 Timer-device

Country Status (1)

Country Link
JP (1) JPH067177B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS581757B2 (en) * 1978-11-09 1983-01-12 松下電器産業株式会社 program timer

Also Published As

Publication number Publication date
JPS62170879A (en) 1987-07-27

Similar Documents

Publication Publication Date Title
US4375666A (en) Electronic guessing game
US4615681A (en) Programmable, user interactive cigarette dispenser and method therefor
KR970000432B1 (en) Electrical educational toy
US5389031A (en) Toy assembly
JPS62281986A (en) Sound game apparatus
US4285151A (en) Personal hygiene apparatus
CA1221843A (en) Time keeping and recording device
JPH067177B2 (en) Timer-device
JPH0648301B2 (en) Sound generator
JP3295051B2 (en) Rhythm practice device
JPH0640135B2 (en) Timer-device
JPH06101321B2 (en) Small electrical equipment
JPS62170878A (en) Compact electrical equipment
JPS62171022A (en) Data input method
JPS62170877A (en) Timer device
JPS62170875A (en) Timer device
US20030020614A1 (en) Moment of impulse anti-smoking message system
JPS645274Y2 (en)
KR940002975Y1 (en) Recording circuit for pronounciation reform
JPS63233409A (en) Home controller
JPH0714956Y2 (en) Game clock with earphones
JPH07175567A (en) Input device
KR960007799B1 (en) Cigarette receptacles for controlling smoking
JPH0112509B2 (en)
KR930011253B1 (en) Remote recorder control method of vtr