JP2008261158A - Alarm for door - Google Patents

Alarm for door Download PDF

Info

Publication number
JP2008261158A
JP2008261158A JP2007105042A JP2007105042A JP2008261158A JP 2008261158 A JP2008261158 A JP 2008261158A JP 2007105042 A JP2007105042 A JP 2007105042A JP 2007105042 A JP2007105042 A JP 2007105042A JP 2008261158 A JP2008261158 A JP 2008261158A
Authority
JP
Japan
Prior art keywords
door
alarm
sound
alarm device
microcomputer
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
JP2007105042A
Other languages
Japanese (ja)
Inventor
Soichiro Inoue
宗一郎 井上
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.)
DX Antenna Co Ltd
Original Assignee
DX Antenna Co 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 DX Antenna Co Ltd filed Critical DX Antenna Co Ltd
Priority to JP2007105042A priority Critical patent/JP2008261158A/en
Publication of JP2008261158A publication Critical patent/JP2008261158A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Burglar Alarm Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an alarm for a door capable of improving a warning function, in particular, at nighttime by changing the type of alarm sound between daytime and nighttime automatically, and being inexpensively manufactured and having a simple configuration. <P>SOLUTION: This alarm 1 for door for making an alarm sound when detecting opening of the door A is constituted to give at least two types of alarm sounds having different qualities and ranges of sound such as an alarm sound and a chime sound. This alarm 1 for door is provided with a light and shade sensor 4 to change type of alarm sound in accordance with a bright or dark condition around the door automatically. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、一般にドアチャイムやドアアラームやドアセンサと呼ばれているドア用警報器に関するもので、本明細書においてドアには開閉扉以外に引戸なども含まれる。   The present invention relates to a door alarm generally called a door chime, a door alarm, or a door sensor. In this specification, a door includes a sliding door in addition to an open / close door.

この種のドア用警報器は、ドアの開放時にonになり閉鎖時にoffになるドアの開閉検知用スイッチと、onになると警報音を発する警報器を収納した本体部分とで構成されており、本体部分に電源としての乾電池を収納するタイプのものが多く、通常は本体部分と開閉スイッチのうちの一方をドア側に他方をドア枠側に取り付けて使用されている。また、開閉スイッチが例えば磁石と磁気センサ(マグネットセンサ)との一対の部材で構成されるものでは、一方をドア側に他方をドア枠側に取り付け、警報器本体をドア枠側の部材とケーブルで接続したうえで壁面等に取り付けるタイプのものがあるが、このタイプのドア用警報器では電源に主にAC100Vを使用している。開閉スイッチには、上記のマグネット式や機械(バネ)式のものが一般的に使用されている。   This type of door alarm is composed of a door open / close detection switch that is turned on when the door is opened and turned off when the door is closed, and a main body that houses an alarm that emits an alarm sound when turned on. In many cases, the main body portion stores a dry battery as a power source, and usually one of the main body portion and the open / close switch is attached to the door side and the other is attached to the door frame side. In addition, in the case where the open / close switch is composed of a pair of members, for example, a magnet and a magnetic sensor (magnet sensor), one is attached to the door side and the other is attached to the door frame side. Although there is a type that is attached to a wall surface etc. after being connected in the case of this type, this type of door alarm device mainly uses AC100V as a power source. As the open / close switch, the above-mentioned magnet type or mechanical (spring) type is generally used.

上記のドア用警報器に関する製品として、本体部分にチャイム音とアラーム音とを切り替える手動スイッチを設け、スイッチを切り替えることにより、「ピンポン」というチャイム音と「ピーポー」というアラーム音とを選択して使用できるドア用警報器が販売されている(例えば、非特許文献1参照)。   As a product related to the above door alarm, a manual switch that switches between chime sound and alarm sound is provided in the main body part, and by switching the switch, you can select the chime sound “Ping Pong” and the alarm sound “Peep” Door alarms that can be used are on the market (for example, see Non-Patent Document 1).

上記の開閉スイッチに関する先行技術として、磁気センサが磁石により発生する磁界を検出し、出力信号が変化することによって、ドアが閉止状態または開放状態にあることを検出する装置が提案されている(例えば、特許文献1参照)。
松下電工株式会社製EC911WP 特開平6−124630号公報
As a prior art related to the above open / close switch, a device has been proposed in which a magnetic sensor detects a magnetic field generated by a magnet and detects that a door is in a closed state or an open state by changing an output signal (for example, , See Patent Document 1).
EC911WP manufactured by Matsushita Electric Works, Ltd. JP-A-6-124630

上記のような従来のドア用警報器では、チャイム音やアラーム音など種類の異なる複数の警報音から選択できるものが一般的であるが、その選択作業は、手動でのスイッチの切り替えによるものが大半で、例えば昼間はチャイム音が鳴り、夜間はアラーム音が鳴るように自動的に切り替わるものは見当たらない。また、警報音には言葉を喋る音声タイプもあるが、いずれの場合でも、あらかじめ設定されている警報音から選択する必要があり、例えば極めて多数の曲からユーザーが任意に選択し、その選択した曲を警報音として使用するものも見当たらない。   Conventional door alarms as described above can generally be selected from a plurality of different types of alarm sounds, such as chime sounds and alarm sounds. For the most part, for example, no chime sound can be heard during the day and no alarm sound can be heard during the night. In addition, there is an audio type that speaks words, but in any case, it is necessary to select from preset alarm sounds. For example, the user can arbitrarily select from a large number of songs and select I don't see anything that uses the song as an alarm sound.

本発明は上述の点に鑑みなされたもので、昼間と夜間で警報音の種類を自動的に変更できるようにして、特に夜間における警報機能を向上し、しかも構成が簡単で、低価格で製造可能なドア用警報器を提供することを第1の目的としている。   The present invention has been made in view of the above points, and can automatically change the type of alarm sound between daytime and nighttime to improve the alarm function especially at nighttime, and is simple in structure and manufactured at low cost. The first object is to provide a possible door alarm.

また、例えば、インターネットやCDなどからパーソナルコンピュータにダウンロードした曲を、簡単に本体内のメモリーに記憶させて警報音として使用することができるドア用警報器を提供することを第2の目的としている。   Further, for example, a second object is to provide a door alarm device that can easily store a song downloaded to the personal computer from the Internet or a CD in a memory in the main body and use it as an alarm sound. .

上記の目的(第1)を達成するために本発明(請求項1)に係るドア用警報器は、ドアの開放を検出して警報音を発するドア用警報器において、アラーム音やチャイム音など音質や音域などの異なる少なくとも2種類の警報音を発生可能に構成し、明暗センサ(照度センサともいう)を設けて周辺の照度に応じて警報音の種類を自動的に変更するようにしたことを特徴とする。   In order to achieve the above object (first), a door alarm device according to the present invention (Claim 1) is a door alarm device that generates an alarm sound by detecting the opening of the door. Configured to be able to generate at least two types of alarm sounds with different sound quality and range, and provided a light / dark sensor (also called illuminance sensor) to automatically change the type of alarm sound according to the ambient illuminance It is characterized by.

上記の目的(第2)を達成するために本発明(請求項2)に係るドア用警報器は、ドアの開放を検出して警報音を発する請求項1記載のドア用警報器において、マイクロコンピュータ、音声データ用メモリおよびUSB端子を設け、転送する音声データを選択する機能、選択した音声データを前記ドア用警報器に内蔵のアンプおよびスピーカで再生可能な形式に変換する機能および変換した機能をUSB経由で転送する機能を有するプログラムソフトを前記マイクロコンピュータに読み込ませたことを特徴とする。   In order to achieve the above object (second), the door alarm device according to the present invention (Claim 2) detects the opening of the door and emits an alarm sound. A function of selecting a voice data to be transferred by providing a computer, a voice data memory and a USB terminal, a function of converting the selected voice data into a format reproducible by an amplifier and a speaker built in the door alarm device, and a converted function The microcomputer is loaded with program software having a function of transferring the program via USB.

上記の構成を有する本発明に係るドア用警報器には、次のような優れた効果がある。   The door alarm device according to the present invention having the above configuration has the following excellent effects.

請求項1に係るドア用警報器は、明暗センサが周辺の明るさ(照度)を検出して異なる警報音を発するようにしたので、夜間にドアが開放されると、例えば大音響のアラーム音を発生して警報する一方、昼間にドアが開放されると、例えば優しいチャイム音を鳴らして警報するので、従来と違って使用者がスイッチを切り替えて警報音を変更する必要がなく、非常に便利である。   In the door alarm device according to claim 1, since the brightness sensor detects the ambient brightness (illuminance) and emits a different alarm sound, when the door is opened at night, for example, a loud acoustic alarm sound When the door is opened during the daytime, for example, a gentle chime sound is emitted to alert the user, so unlike the conventional case, there is no need for the user to change the alarm sound by switching the switch. Convenient.

また、請求項2に係るドア用警報器は、マイクロコンピュータ、音声データ用メモリおよびUSB端子を設け、PC等にダウンロードした曲などを転送してメモリに記憶させ、警報音や呼び出し音として使用できるようにしているので、あらかじめ設定されているチャイム音やアラーム音に限らず、使用者の好みにあった曲を自由に警報音として使用できる。また、音声データのドア用警報器への取り込みは、USB経由で内蔵のプログラムソフトを使って簡単に行える。   Further, the door alarm device according to claim 2 is provided with a microcomputer, a voice data memory and a USB terminal, and can be used as an alarm sound or a ringing tone by transferring a song downloaded to a PC or the like and storing it in the memory. Therefore, not only the chime sound and alarm sound set in advance, but also a song that suits the user's preference can be freely used as the alarm sound. Also, audio data can be easily imported into the door alarm device using the built-in program software via USB.

以下、本発明に係るドア用警報器について実施の形態を図面に基づいて説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments of a door alarm device according to the present invention will be described with reference to the drawings.

図1は本発明の実施例に係るドア用警報器の使用態様を示す斜視図、図2は本発明の実施例に係るドア用警報器について警報回路の構成を示すブロック回路図、図3はPCを使用したチャイム音のデータの転送態様を示す説明図、図4は本発明の実施例に係るドア用警報器の警報処理の手順を示すフローチャートである。   FIG. 1 is a perspective view showing a usage mode of a door alarm device according to an embodiment of the present invention, FIG. 2 is a block circuit diagram showing a configuration of an alarm circuit for the door alarm device according to an embodiment of the present invention, and FIG. FIG. 4 is a flowchart showing the procedure of alarm processing of the door alarm device according to the embodiment of the present invention.

図1に示すように、本実施例に係るドア用警報器1は開閉扉Aの一側縁の上端部に貼着される磁石11を備えており、ドア用警報器1の本体2は磁石11に対応する位置のドア枠もしくはドア枠に隣接する壁面Bに両面テープ(図示せず)等で貼着することにより取り付けられる。本体2内には、図2に示すように磁気センサ(マグネットセンサ)3が設けられており、この磁気センサ3を磁石11に対向させた状態で使用される。また、本体2の正面の隅角部に明暗センサ(照度センサ)4が配備されている。磁気センサ3は、制御部としてのマイクロコンピュータ(以下、マイコンという)5に直接に、また明暗センサ4はA/Dコンバータ6を介してマイコン5に接続されている。磁気センサ3はマイコン5に対し、磁石11との距離でLow(スイッチ切)/High(スイッチ入)を検出できるように接続している。明暗センサ4は周囲の明るさに応じて出力電圧が変化するが、その出力電圧がA/Dコンバータ6により数値化される。   As shown in FIG. 1, the door alarm device 1 according to the present embodiment includes a magnet 11 attached to the upper end of one side edge of the door A, and the main body 2 of the door alarm device 1 is a magnet. 11 is attached by adhering to a door frame at a position corresponding to 11 or a wall surface B adjacent to the door frame with a double-sided tape (not shown) or the like. As shown in FIG. 2, a magnetic sensor (magnet sensor) 3 is provided in the main body 2, and the magnetic sensor 3 is used in a state of facing the magnet 11. In addition, a brightness / darkness sensor (illuminance sensor) 4 is provided at a corner portion on the front surface of the main body 2. The magnetic sensor 3 is directly connected to a microcomputer (hereinafter referred to as a microcomputer) 5 as a control unit, and the light / dark sensor 4 is connected to the microcomputer 5 via an A / D converter 6. The magnetic sensor 3 is connected to the microcomputer 5 so that Low (switched off) / High (switched on) can be detected by the distance from the magnet 11. The output voltage of the light / dark sensor 4 changes according to the ambient brightness, and the output voltage is digitized by the A / D converter 6.

このマイコン5には、記憶装置としてRAMと音声データ用メモリとしての不揮発性メモリ(例えばフラッシュメモリ)とが配備されている。また、マイコン5の動作用電源として、本例ではAC100V電源を用いているが、本体2内に収納可能な乾電池を用いることもできる。さらに、マイコン5には、オーディオアンプ7を介してスピーカ8が接続されており、マイコン5からは本例の場合、チャイム音またはアラーム音がPWM信号で出力される。さらにまた、マイコン5には、USB機器を接続するためのUSB端子9が接続されている。これにより、図3に示すようにパーソナルコンピュータ(以下、PCという)12をUSBケーブル13を介して本体2に接続し、PC12にダウンロードした曲などを転送して不揮発性メモリに記憶させることができる。   The microcomputer 5 is provided with a RAM as a storage device and a nonvolatile memory (for example, a flash memory) as an audio data memory. Moreover, as an operating power source for the microcomputer 5, an AC 100V power source is used in this example, but a dry battery that can be stored in the main body 2 can also be used. Further, a speaker 8 is connected to the microcomputer 5 via an audio amplifier 7. In this example, a chime sound or an alarm sound is output from the microcomputer 5 as a PWM signal. Further, the microcomputer 5 is connected to a USB terminal 9 for connecting a USB device. Thereby, as shown in FIG. 3, a personal computer (hereinafter referred to as a PC) 12 can be connected to the main body 2 via the USB cable 13, and the music downloaded to the PC 12 can be transferred and stored in the nonvolatile memory. .

ここで、上記マイコン5による動作処理の手順を図4のフローチャートに基づいて説明する。この警報処理は、予め用意したプログラムを本体2内のマイコン5が遂行することで実行される。また、図4に示されるフローチャートの処理は所定周期で繰り返し実行される。   Here, the procedure of the operation process by the microcomputer 5 will be described based on the flowchart of FIG. This alarm processing is executed by the microcomputer 5 in the main body 2 executing a program prepared in advance. Further, the process of the flowchart shown in FIG. 4 is repeatedly executed at a predetermined cycle.

図4に示すように、待機状態において動作をスタートする(ステップS1)と、PC12をUSB端子9に接続しているか否かが判断される(ステップS2)。YESであれば、PC12からの音声データをマイコン5が受信し(ステップS3)、不揮発性メモリに転送して記憶する(ステップS4)。そして、ステップS4が終了すると、ステップS1のスタート(待機状態)に戻る。   As shown in FIG. 4, when the operation is started in the standby state (step S1), it is determined whether or not the PC 12 is connected to the USB terminal 9 (step S2). If YES, the microcomputer 5 receives the audio data from the PC 12 (step S3), and transfers and stores it in the nonvolatile memory (step S4). When step S4 ends, the process returns to the start (standby state) of step S1.

一方、Noの場合には、通常の警戒モードになるので、磁気センサ3を介してHigh(スイッチ入)か否かを検出する(ステップS5)。そして、例えば開閉扉A(図1参照)が開放されると、Yesになって次のステップS6へ移り、このステップS6で明暗センサ4から電圧値がマイコン5へ入力され、マイコン5により照度つまり明(例えば、数値化された電圧値を設定値より高いかどうか比較し、高いとき)か暗かを判断する(ステップS7)。明(YES)の場合には、不揮発性メモリのチャイム音用エリアから音声データを読み出し、PWM信号を出力する(ステップS8)。暗(NO)の場合には、不揮発性メモリのアラーム音用エリアから音声データを読み出し、PWM信号を出力する(ステップS9)。そして、ステップS8またはステップS9が終了すると、ステップS1のスタート(待機状態)へ戻る。   On the other hand, in the case of No, since the normal alert mode is set, it is detected through the magnetic sensor 3 whether it is High (switched on) (step S5). For example, when the opening / closing door A (see FIG. 1) is opened, the result is Yes and the process proceeds to the next step S6. In this step S6, the voltage value is input from the light / dark sensor 4 to the microcomputer 5, and the microcomputer 5 It is determined whether it is bright (for example, whether the digitized voltage value is higher than a set value and is higher) or dark (step S7). In the case of bright (YES), audio data is read from the chime sound area of the nonvolatile memory and a PWM signal is output (step S8). If it is dark (NO), the audio data is read from the alarm sound area of the non-volatile memory and a PWM signal is output (step S9). When step S8 or step S9 ends, the process returns to the start (standby state) of step S1.

なお、上記のフローチャートでは、磁気センサ3を介してHigh(スイッチ入)を検出した場合(ステップS5の判断結果がYESの場合)、チャイム音またはアラーム音を本体2に内蔵したタイマー(図示せず)によって一定時間連続して出力するように構成しているが、チャイム音またはアラーム音を1回だけ出力するように構成することもできる。また、上記実施例では、明暗センサ4による明/暗の判断に使用する電圧値をマイコン5に設定しているが、この代わりに不揮発性メモリに格納エリアを設けることにより、PC12からUSBケーブル13およびUSB端子9の経由で、逐次記憶させるようにしてもよい。   In the above flow chart, when High (switch-on) is detected via the magnetic sensor 3 (when the determination result in Step S5 is YES), a timer (not shown) with a chime sound or an alarm sound built into the main body 2 is shown. ), The chime sound or the alarm sound can be output only once. In the above embodiment, the voltage value used for the light / dark judgment by the light / dark sensor 4 is set in the microcomputer 5, but instead of providing a storage area in the non-volatile memory, the PC 12 and the USB cable 13 are provided. Alternatively, the data may be stored sequentially via the USB terminal 9.

ところで、上記実施例に係るドア用警報器1によれば、チャイム音およびアラーム音としてあらかじめマイコン5に設定した固定の音声データとは別に、PC12にダウンロードした曲などの所望の音声データを、図3に示すようにUSB経由でドア用警報器1の本体2に転送して自由に使用することができる。このため、本体2内のマイコン5には、音声データを受信するためのプログラムソフトがインストールされている。また、PC12にもプログラムソフトがインストールされているが、このプログラムソフトには、転送する音声データ(例えばWAVEファイル)を選択する機能、選択した音声データをドア用警報器1で再生可能な形式に変換する機能および変換した機能をドア用警報器1にUSB経由で転送する機能が含まれている。さらに、明暗センサ4による明と暗とを判定するための電圧値を設定する機能も含まれている。   By the way, according to the door alarm device 1 according to the above-described embodiment, desired audio data such as a song downloaded to the PC 12 can be displayed separately from the fixed audio data previously set in the microcomputer 5 as a chime sound and an alarm sound. As shown in FIG. 3, it can be transferred to the main body 2 of the door alarm 1 via USB and used freely. Therefore, program software for receiving audio data is installed in the microcomputer 5 in the main body 2. The program software is also installed in the PC 12. The program software has a function of selecting voice data to be transferred (for example, WAVE file) and a format in which the selected voice data can be reproduced by the door alarm device 1. The function to convert and the function to transfer the converted function to the door alarm device 1 via USB are included. Furthermore, a function for setting a voltage value for determining light and dark by the light and dark sensor 4 is also included.

続いて、ドア用警報器1への音声データの書き込みについて動作の手順を図5〜図8に基づいて説明する。   Next, the operation procedure for writing audio data to the door alarm device 1 will be described with reference to FIGS.

図5は本実施例のドア用警報器の制御部(マイコン)におけるメモリアップの一例を示す説明図である。同図に示すように、アドレス0000H番地から7FFFH番地までをプログラムエリアとし、8000H番地からFFFF番地までを音声データエリアとする。また、この音声データエリアにおいて、8000H番地からBFFFH番地までをチャイム用とし、C000H番地からFFFFH番地までをアラーム用とする。   FIG. 5 is an explanatory diagram showing an example of memory increase in the control unit (microcomputer) of the door alarm device of the present embodiment. As shown in the figure, the address from address 0000H to address 7FFFH is the program area, and the address from address 8000H to address FFFF is the audio data area. In this audio data area, addresses 8000H to BFFFH are used for chimes, and addresses C000H to FFFFH are used for alarms.

図6はPC12からドア用警報器1への音声データの書き込みシーケンスの一例を示す説明図、図7は図6における音声データの書き込みシーケンスのコマンドの一例を示す説明図、図8は音声データ転送用プログラムソフトの、PCにおける操作画面の一例を示す概念図である。ドア用警報器1への音声データの書き込みは、上記したようにPC12をUSBケーブル13を介して本体2に接続した状態で、音声データの転送用ソフトウェア(図8参照)を起動する。PC12側ソフトウェアでは、Graphical User Interface(グラフィカルインターフェース)の操作で、図8の音声データファイル名入力エリア14に音声データファイル名を入力する。右隣の参照ボタン15をクリックすることにより、ファイルを選択するウィンドウが表示されるので、そのウィンドウでファイル名を入力できるようにしている。   6 is an explanatory diagram showing an example of a voice data writing sequence from the PC 12 to the door alarm device 1, FIG. 7 is an explanatory diagram showing an example of the voice data writing sequence command in FIG. 6, and FIG. It is a conceptual diagram which shows an example of the operation screen in PC of the program software for PC. The voice data is written to the door alarm device 1 by starting the voice data transfer software (see FIG. 8) in a state where the PC 12 is connected to the main body 2 via the USB cable 13 as described above. In the PC 12 side software, an audio data file name is input to the audio data file name input area 14 of FIG. 8 by operation of Graphical User Interface (graphical interface). By clicking the reference button 15 on the right side, a window for selecting a file is displayed. In this window, a file name can be input.

このようにしてファイル名を入力後、音声転送ボタン16をクリックすることにより、PC12からUSB経由で音声データがドア用警報器1へ転送される。PC12からドア用警報器1へは、シリアルデータで音声データを転送する。図8の音声転送ボタン16をクリックすると、図6のシーケンス例に示すように、1)音声データ書き込み開始命令が送信される。音声データ書き込み開始命令は図7の(a)に示すとおりで、書き込みに際し「音声データエリア」を指定しておく。一方、ドア用警報器1側では、図6の(1)に示すように書き込み開始命令を受信し、マイコン5の内部変数の初期化を行い、音声データを受信する準備を行う。この準備が完了すると、図6の(2)に示すようにOK信号をPC12へ送信する。ただし、受信した信号にエラーがある場合(チェックサムにより判定)は、NG信号をPC12に対し送信する。また、NG信号をPC12が受信した場合は、エラーが発生した旨、ウィンドウに表示し、PC側ソフトを終了する。なお、図示は省略するが,NGの処理は次のコマンドでも同様に行われるものとする。   After inputting the file name in this way, the audio data is transferred from the PC 12 to the door alarm device 1 via the USB by clicking the audio transfer button 16. The voice data is transferred from the PC 12 to the door alarm device 1 as serial data. When the voice transfer button 16 in FIG. 8 is clicked, as shown in the sequence example in FIG. 6, 1) a voice data write start command is transmitted. The voice data write start command is as shown in FIG. 7A, and the “voice data area” is designated at the time of writing. On the other hand, the door alarm device 1 side receives a write start command as shown in (1) of FIG. 6, initializes internal variables of the microcomputer 5, and prepares to receive voice data. When this preparation is completed, an OK signal is transmitted to the PC 12 as shown in (2) of FIG. However, if there is an error in the received signal (determined by checksum), an NG signal is transmitted to the PC 12. If the PC 12 receives the NG signal, it displays on the window that an error has occurred and terminates the PC side software. Although illustration is omitted, it is assumed that the NG process is performed similarly for the next command.

次に、PC12から図6の(3)(図7の(b))に示す音声データエリア消去命令を送信する。ドア用警報器1側で図6の(3)(図7の(b))の命令を受信し、不揮発性メモリ内のデータを消去する。つまり、図7の(b)の命令で指定した音声データエリアを消去する。ドア用警報器1側で不揮発性メモリ内のデータの消去が完了すれば、PC12に対しOK信号を送信する(図6の(4))。続いて、PC12側から音声データ書き込み命令(図7の(c))を送信する(図6の(5))。音声データ書き込み命令(図7の(c))には、音声データエリア、データサイズおよびシーケンス番号を含めておく。シーケンス番号は0から始まりデータを送信するたびに1ずつ加算される。ドア用警報器1側で音声データ書き込み命令(図7の(c))を受信すると、一旦RAMへ音声データを転送し、音声データエリアおよびシーケンス番号の確認を行い、チェックサムが一致していれば、不揮発性メモリへの書き込みを行う。   Next, the audio data area deletion command shown in (3) of FIG. 6 ((b) of FIG. 7) is transmitted from the PC 12. The door alarm 1 side receives the command (3) in FIG. 6 ((b) in FIG. 7) and erases the data in the nonvolatile memory. That is, the audio data area designated by the command in FIG. When erasure of data in the nonvolatile memory is completed on the door alarm 1 side, an OK signal is transmitted to the PC 12 ((4) in FIG. 6). Subsequently, a voice data write command ((c) in FIG. 7) is transmitted from the PC 12 side ((5) in FIG. 6). The audio data write command ((c) in FIG. 7) includes an audio data area, a data size, and a sequence number. The sequence number starts from 0 and is incremented by 1 each time data is transmitted. When the voice data write command ((c) in Fig. 7) is received on the door alarm 1 side, the voice data is once transferred to the RAM, the voice data area and the sequence number are confirmed, and the checksums match. For example, writing to the nonvolatile memory is performed.

これらの動作に対応してドア用警報器1のマイコン5では、音声データエリア、シーケンス番号およびデータサイズから不揮発性メモリへの書き込みアドレスを計算する。そして、書き込み作業が完了すれば、OK信号をPC12へ送信する。なお、データエラーが発生している場合はNG信号をPC12へ送信する。   Corresponding to these operations, the microcomputer 5 of the door alarm device 1 calculates a write address to the nonvolatile memory from the voice data area, sequence number, and data size. When the writing operation is completed, an OK signal is transmitted to the PC 12. If a data error has occurred, an NG signal is transmitted to the PC 12.

PC12はOK信号を受信すると、シーケンス番号に1を加算し、1加算のシーケンス番号の音声データ書き込み命令を送信する(図6の(5))。一方、NG信号を受信すると、同じ(1を加算する前の)シーケンス番号の音声データ書き込み命令を送信する(図6の(5))。このようにして音声データの送信が全て終了するまで、繰り返し送信する。   When receiving the OK signal, the PC 12 adds 1 to the sequence number and transmits a voice data write command having the sequence number of 1 addition ((5) in FIG. 6). On the other hand, when an NG signal is received, an audio data write command having the same sequence number (before 1 is added) is transmitted ((5) in FIG. 6). In this way, the transmission is repeated until the transmission of all the audio data is completed.

そして、PC12からの音声データの送信が終了すると、書き込み終了命令(図7の(d))を送信する(図6の(7))。これに対応して、ドア用警報器1が書き込み終了命令(図7の(d))を受信する(図6の(7))と、終了処理を行い、OK信号をPC12へ送信し(図6の(8))、一連の音声データ転送作業が終了する。   When the transmission of audio data from the PC 12 is completed, a write end command ((d) in FIG. 7) is transmitted ((7) in FIG. 6). Corresponding to this, when the door alarm device 1 receives the write end command ((d) in FIG. 7) ((7) in FIG. 6), it performs the end processing and transmits an OK signal to the PC 12 (FIG. 7). 6 (8)), a series of audio data transfer work is completed.

以上に、本発明の実施例に係るドア用警報器1について通常の警報態様および音声データの転送態様について一連の動作手順を説明したが、それらは一例であり、適宜変更して実施できる。   In the above, a series of operation procedures have been described for the normal alarm mode and the voice data transfer mode for the door alarm device 1 according to the embodiment of the present invention. However, these are merely examples, and can be implemented with appropriate modifications.

本発明の実施例に係るドア用警報器の使用態様を示す斜視図である。It is a perspective view which shows the usage condition of the alarm device for doors based on the Example of this invention. 本発明の実施例に係るドア用警報器について警報回路の構成を示すブロック回路図である。It is a block circuit diagram which shows the structure of an alarm circuit about the alarm device for doors which concerns on the Example of this invention. PCを使用したチャイム音のデータの転送態様を示す説明図である。It is explanatory drawing which shows the transfer aspect of the data of the chime sound using PC. 本発明の実施例に係るドア用警報器の警報処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the alarm process of the alarm device for doors which concerns on the Example of this invention. 本発明の実施例に係るドア用警報器の制御部(マイコン)におけるメモリアップの一例を示す説明図である。It is explanatory drawing which shows an example of the memory increase in the control part (microcomputer) of the alarm device for doors concerning the Example of this invention. PCからドア用警報器への音声データの書き込みシーケンスの一例を示す説明図である。It is explanatory drawing which shows an example of the write-in sequence of the audio | voice data from PC to the door alarm device. 図6における音声データの書き込みシーケンスのコマンドの一例を示す説明図である。FIG. 7 is an explanatory diagram illustrating an example of a command for writing audio data in FIG. 6. 本発明の実施例に係るドア用警報器における音声データ転送用プログラムソフトの、PCにおける操作画面の一例を示す概念図である。It is a conceptual diagram which shows an example of the operation screen in PC of the audio | voice data transfer program software in the door alarm device which concerns on the Example of this invention.

符号の説明Explanation of symbols

1 ドア用警報器
2 本体
3 磁気センサ(マグネットセンサ)
4 明暗センサ(照度センサ)
5 マイクロコンピュータ(マイコン)
6 A/Dコンバータ
7 オーディオアンプ
8 スピーカ
9 USB端子
11 磁石
12 PC(パーソナルコンピュータ)
13 USBケーブル
1 Door Alarm 2 Body 3 Magnetic Sensor (Magnet Sensor)
4 Light / dark sensor (illuminance sensor)
5 Microcomputer
6 A / D converter 7 Audio amplifier 8 Speaker 9 USB terminal 11 Magnet 12 PC (personal computer)
13 USB cable

Claims (2)

ドアの開放を検出して警報音を発するドア用警報器において、
アラーム音やチャイム音など音質や音域などの異なる少なくとも2種類の警報音を発生可能に構成し、明暗センサを設けて周辺の照度に応じて警報音の種類を自動的に変更するようにしたことを特徴とするドア用警報器。
In the door alarm that detects the door opening and emits an alarm sound,
It is configured to generate at least two types of alarm sounds with different sound quality and range such as alarm sound and chime sound, and a light and dark sensor is provided to automatically change the type of alarm sound according to the surrounding illuminance An alarm for doors.
ドアの開放を検出して警報音を発する請求項1記載のドア用警報器において、
マイクロコンピュータ、音声データ用メモリおよびUSB端子を設け、転送する音声データを選択する機能、選択した音声データを前記ドア用警報器に内蔵のアンプおよびスピーカで再生可能な形式に変換する機能および変換した機能をUSB経由で転送する機能を有するプログラムソフトを前記マイクロコンピュータに読み込ませたことを特徴とするドア用警報器。
The door alarm device according to claim 1, wherein an alarm sound is generated by detecting opening of the door.
Provided with a microcomputer, a memory for audio data and a USB terminal, a function for selecting audio data to be transferred, a function for converting the selected audio data into a format that can be reproduced by an amplifier and a speaker built in the door alarm device, and conversion A door alarm device, wherein the microcomputer is loaded with program software having a function of transferring functions via USB.
JP2007105042A 2007-04-12 2007-04-12 Alarm for door Pending JP2008261158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007105042A JP2008261158A (en) 2007-04-12 2007-04-12 Alarm for door

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007105042A JP2008261158A (en) 2007-04-12 2007-04-12 Alarm for door

Publications (1)

Publication Number Publication Date
JP2008261158A true JP2008261158A (en) 2008-10-30

Family

ID=39983836

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007105042A Pending JP2008261158A (en) 2007-04-12 2007-04-12 Alarm for door

Country Status (1)

Country Link
JP (1) JP2008261158A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016084692A (en) * 2014-10-24 2016-05-19 サムソン エスディーエス カンパニー リミテッド Door opening and closing state detector
WO2017010153A1 (en) * 2015-07-10 2017-01-19 村田機械株式会社 Press machine
CN108561048A (en) * 2018-04-02 2018-09-21 陈俊翰 A kind of music door

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60109186U (en) * 1983-12-24 1985-07-24 大起総業株式会社 Notification equipment
JP2002135637A (en) * 2000-10-25 2002-05-10 Fuji Photo Film Co Ltd Camera provided with crime-prevention function
JP2005304002A (en) * 2004-03-17 2005-10-27 Office Misumi Co Ltd Security system and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60109186U (en) * 1983-12-24 1985-07-24 大起総業株式会社 Notification equipment
JP2002135637A (en) * 2000-10-25 2002-05-10 Fuji Photo Film Co Ltd Camera provided with crime-prevention function
JP2005304002A (en) * 2004-03-17 2005-10-27 Office Misumi Co Ltd Security system and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016084692A (en) * 2014-10-24 2016-05-19 サムソン エスディーエス カンパニー リミテッド Door opening and closing state detector
WO2017010153A1 (en) * 2015-07-10 2017-01-19 村田機械株式会社 Press machine
CN107848235A (en) * 2015-07-10 2018-03-27 村田机械株式会社 Forcing press
JPWO2017010153A1 (en) * 2015-07-10 2018-04-26 村田機械株式会社 Press machine
US11052627B2 (en) 2015-07-10 2021-07-06 Murata Machinery, Ltd. Press machine
CN108561048A (en) * 2018-04-02 2018-09-21 陈俊翰 A kind of music door

Similar Documents

Publication Publication Date Title
US10321222B1 (en) Earphone, earphone control method and device
CN105204357A (en) Contextual model regulating method and device for intelligent household equipment
TW200901805A (en) Computer controlled amplifier and speaker system with power conservation feature
WO2014086238A1 (en) Method for controlling background through voice and mobile terminal
WO2016006424A1 (en) Recording device and control method for recording device
WO2018202073A1 (en) Method and apparatus for voice control over intelligent device, and intelligent device
JP7406874B2 (en) Electronic devices, their control methods, and their programs
JP2008261158A (en) Alarm for door
JP4305971B2 (en) Information processing apparatus and method, and recording medium
KR102161237B1 (en) Method for outputting sound and apparatus for the same
CN102737467A (en) Multifunctional sound system and fire alarm monitoring method thereof
KR20100086161A (en) Apparatus and method for controlling operation using cognition of wind
WO2023138344A1 (en) Battery cover color changing method and electronic device
US20210335158A1 (en) Image playing system and image playing method
US20240056522A1 (en) Systems, devices, and methods for enhancing user privacy and/or user control over audio-activated devices
KR100797030B1 (en) Remote controller able to link macro function to control button
CN205448448U (en) Integrated touch intelligent refrigerator
JP2007072977A5 (en)
CN205536746U (en) Embedded touch-control intelligence refrigerator
CN110989964B (en) Audio playback method and device based on android system and electronic equipment
JP2008252283A (en) Remote controller
JP2007025140A (en) Robot apparatus and information presenting method of robot apparatus
KR101976091B1 (en) Decision method for activity mode of hearing device and the auditory device
JP2005100131A (en) Parameter setting device and parameter setting program
CN211237227U (en) Electronic book with touch and voice functions

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100409

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110816

A131 Notification of reasons for refusal

Effective date: 20111011

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120306