JPH10241867A - Port signal setting device - Google Patents

Port signal setting device

Info

Publication number
JPH10241867A
JPH10241867A JP9053880A JP5388097A JPH10241867A JP H10241867 A JPH10241867 A JP H10241867A JP 9053880 A JP9053880 A JP 9053880A JP 5388097 A JP5388097 A JP 5388097A JP H10241867 A JPH10241867 A JP H10241867A
Authority
JP
Japan
Prior art keywords
shaft
setting device
rotational positions
microcomputer
signal
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
JP9053880A
Other languages
Japanese (ja)
Inventor
Naotake Katayama
尚武 片山
Katsunobu Fujimoto
勝信 藤本
Kuniaki Tanaka
邦明 田中
Akiyoshi Goshima
章好 五島
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.)
Panasonic Life Solutions Asahi Co Ltd
Original Assignee
Asahi National Lighting 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 Asahi National Lighting Co Ltd filed Critical Asahi National Lighting Co Ltd
Priority to JP9053880A priority Critical patent/JPH10241867A/en
Publication of JPH10241867A publication Critical patent/JPH10241867A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a reasonable port signal setting device by using a rotary dip switch with a number of rotational positions. SOLUTION: For a part signal setting device, H/L signals are given to plural ports D1-D4 in a microcomputer 14 via a rotary dip switch 13 (simply called a switch thereafter) with a diameter-directional cut groove formed on the front face of a shaft and a panel with a hole which the shaft faces is provided. The shaft has at least four rotational positions in even number (ten rotational positions as indicated) and the microcomputer 14 has a reading means to read input signals to the ports D1-D4 corresponding to the opposite rotational positions of the shaft as the same signal. Indication codes (1-5 as shown) in half (5 as indicated) of the number of the positional positions of the shaft (10 as indicated) are shown on a panel. The indication codes can be shown in the same number as the number of the rotational positions of the shaft. That is, the same indication codes can be shown even on the opposite sides of the indication codes so that the indication codes can be shown all over the periphery.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、マイコンのポート
信号設定装置に関する。
The present invention relates to a port signal setting device for a microcomputer.

【0002】[0002]

【従来の技術】照明器具用の赤外線リモコン送信器で
は、照明器具側で設定したチャンネルに対応するチャン
ネルを送信器側で設定可能にしてあり、そのチャンネル
設定がマッチして始めてリモコン制御が可能となる。そ
して、例えば既成のロータリーディップスイッチを介し
てH/L信号をマイコンの複数のポートに与えてチャン
ネル設定に供する場合、その回転軸の各回転位置に対応
して互いに異なる信号組が前記ポートに入力されるもの
となる。
2. Description of the Related Art In an infrared remote control transmitter for lighting equipment, a channel corresponding to a channel set on the lighting equipment can be set on the transmitter, and the remote control can be performed only when the channel settings match. Become. When, for example, an H / L signal is supplied to a plurality of ports of the microcomputer via an existing rotary dip switch and used for channel setting, different signal sets corresponding to the respective rotational positions of the rotating shaft are input to the ports. Will be done.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、それ程
多くのチャンネル数を必要としない場合は、空チャンネ
ル位置が生じてユーザーに混乱を生じる。本発明はこの
ような解決すべき課題を鑑み、多数の回転位置を備えた
ロータリーディップスイッチを使用して合理的なポート
信号設定装置を提供することを目的とする。
However, if not a large number of channels is required, empty channel positions will be created, causing confusion for the user. SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has as its object to provide a reasonable port signal setting device using a rotary DIP switch having a large number of rotational positions.

【0004】[0004]

【課題を解決するための手段】本発明を要約すると、回
転軸の前面に直径方向の切溝を形成したロータリーディ
ップスイッチを介してH/L信号をマイコンの複数のポ
ートに与えるとともに、前記回転軸が臨む孔を形成した
パネルを備えたポート信号設定装置であって、前記回転
軸は4個以上の偶数の回転位置を備え、前記マイコンは
前記回転軸の正反対の回転位置にそれぞれ対応する前記
ポートへの入力信号を同一信号として読み取る手段を備
え、前記パネルには前記回転軸の回転位置数の半数の表
示符号又は回転位置数と同数の表示符号を表示したポー
ト信号設定装置である。
SUMMARY OF THE INVENTION In summary, the present invention provides an H / L signal to a plurality of ports of a microcomputer via a rotary dip switch having a diametrically cut groove formed on the front surface of a rotating shaft, and further comprises the steps of: A port signal setting device including a panel having a hole facing an axis, wherein the rotation axis has four or more even rotation positions, and the microcomputer corresponds to rotation positions opposite to the rotation axis. A port signal setting device comprising means for reading an input signal to a port as the same signal, wherein the panel displays a display code of a half of the number of rotation positions of the rotating shaft or a display code of the same number as the number of rotation positions.

【0005】[0005]

【発明の実施の形態】次に、本発明の実施形態を説明す
るが、それはあくまで本発明に基づいて採択された例示
的な実施形態であり、本発明をその実施形態のみに特有
な事項に基づいて限定解釈してはならず、本発明の技術
的範囲は、請求項に示した事項あるいはその事項と実質
的に等価である事項に基づいて定めなければならない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described. However, these are merely exemplary embodiments adopted based on the present invention, and the present invention is limited to matters unique to only the embodiments. The technical scope of the present invention must be determined based on the matters stated in the claims or matters that are substantially equivalent thereto.

【0006】図示の実施形態は、回転軸11の前面に直
径方向の切溝12を形成したロータリーディップスイッ
チ(以下、単にスイッチと称する)13を介してH/L
信号をマイコン14の複数のポートD1〜D4に与える
とともに、前記回転軸11が臨む孔15を形成したパネ
ル16を備えたポート信号設定装置である。前記回転軸
11は4個以上の偶数の回転位置(10個の回転位置の
ものを例示)を備え、前記マイコン14は前記回転軸1
1の正反対の回転位置にそれぞれ対応する前記ポートD
1〜D4への入力信号を同一信号として読み取る手段を
備え、前記パネル16には前記回転軸11の回転位置数
(図示例では10)の半数(図示例では5)の表示符号
(1〜5と表示)を表示している。又、前記回転軸11
の回転位置数と同数の表示符号を表示してもよい。すな
わち、図1,2における各表示符号と正反対側にも同一
の表示符号を表示して、全周に渡って表示符号を表示す
ることも可である。
In the illustrated embodiment, a rotary dip switch (hereinafter simply referred to as a switch) 13 having a diametrically cut groove 12 formed on the front surface of a rotating shaft 11 is used for H / L.
This is a port signal setting device that provides a signal to a plurality of ports D1 to D4 of a microcomputer 14 and includes a panel 16 in which a hole 15 facing the rotating shaft 11 is formed. The rotation shaft 11 has four or more even rotation positions (10 rotation positions are illustrated), and the microcomputer 14 controls the rotation shaft 1
The ports D respectively corresponding to diametrically opposite rotational positions
The panel 16 is provided with means for reading the input signals to 1 to D4 as the same signal. Is displayed). Also, the rotating shaft 11
May be displayed as many display codes as the number of rotation positions of. That is, it is also possible to display the same display code on the opposite side of each display code in FIGS. 1 and 2 and display the display code over the entire circumference.

【0007】図1に示す装置全体は廊下・階段などの壁
に取付けられ、人体センサー17により人体の接近を検
出するとこれを赤外線リモコン信号に変換して透光カバ
ー18から図示しない照明器具に送信して、その照明器
具を点灯するものである。その照明器具で設定されたチ
ャンネルに対応するチャンネルは回転軸11を回転して
設定する。例えば、図1ではチャンネル2に設定されて
いる。
The entire apparatus shown in FIG. 1 is mounted on a wall such as a corridor or stairs. When an approach of a human body is detected by a human body sensor 17, it is converted into an infrared remote control signal and transmitted from a light transmitting cover 18 to a lighting fixture (not shown). Then, the lighting equipment is turned on. The channel corresponding to the channel set by the lighting fixture is set by rotating the rotating shaft 11. For example, in FIG. 1, channel 2 is set.

【0008】スイッチ13の回転位置数は合計10あ
り、マイコン14の信号端子D0からLレベル信号がス
イッチ13に与えられ、図3(B)のとおり、スイッチ
回転位置0〜9のそれぞれに対応して、スイッチ13内
部のスイッチ切替状態が2進数で変化し、ポートD1〜
D4に互いに異なる信号組が与えられる。例えば、図
1,2に示した回転軸11のパネル表示位置2(スイッ
チ回転位置1に対応)では、ポートD1=H,D2=
H,D3=H,D4=Lとなる。ところで、回転軸11
を図1,2とは正反対の回転位置に回転すると、切溝1
2の方向は表面上変わらずに、スイッチ回転位置6に対
応した信号がポートD1〜D4に入力され、ポートD1
=H,D2=L,D3=L,D4=Hとなる。これは、
ポートD1=H,D2=H,D3=H,D4=Lとは当
然異なる信号組であるが、マイコン14においてその二
組を同一信号として読み取れば、スイッチ回転位置6に
対応した信号はスイッチ回転位置1に対応した信号と同
一となる。この同一信号解釈はソフトウェアにより容易
に設定できる。これにより、回転軸11の正反対の回転
位置に対応する各ポート信号を同一信号として読み取
れ、合理的なポート信号設定装置を提供できる。さら
に、パネル16には回転軸11の回転位置数の半数の表
示符号(1〜5)を表示すると、表示面からもすっきり
としたポート信号設定装置を提供できる。なお、マイコ
ン14には前記人体センサー17からの信号が入力さ
れ、変換された信号によりマイコン14の出力OUTか
ら図示されない赤外線発光素子が駆動される。
The switch 13 has 10 rotational positions in total, and an L level signal is supplied to the switch 13 from the signal terminal D0 of the microcomputer 14, and as shown in FIG. The switch switching state inside the switch 13 changes in a binary number, and
Different signal sets are provided to D4. For example, at the panel display position 2 (corresponding to the switch rotation position 1) of the rotating shaft 11 shown in FIGS.
H, D3 = H, and D4 = L. By the way, the rotating shaft 11
Is rotated to a rotational position opposite to that shown in FIGS.
The direction corresponding to the switch rotation position 6 is input to the ports D1 to D4 without changing the direction of the switch 2 on the surface.
= H, D2 = L, D3 = L, D4 = H. this is,
The ports D1 = H, D2 = H, D3 = H, and D4 = L are of course different signal sets, but if the microcomputer 14 reads the two sets as the same signal, the signal corresponding to the switch rotation position 6 will be the switch rotation. This is the same as the signal corresponding to position 1. This same signal interpretation can be easily set by software. As a result, each port signal corresponding to the opposite rotation position of the rotation shaft 11 can be read as the same signal, and a reasonable port signal setting device can be provided. Further, when the display codes (1 to 5) of the half of the number of rotation positions of the rotating shaft 11 are displayed on the panel 16, a port signal setting device which is clear from the display surface can be provided. Note that a signal from the human body sensor 17 is input to the microcomputer 14, and an infrared light emitting element (not shown) is driven from the output OUT of the microcomputer 14 by the converted signal.

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

【図1】本発明の実施形態を示す正面図FIG. 1 is a front view showing an embodiment of the present invention.

【図2】(A)同要部分解斜視図 (B)同組立正面図FIG. 2A is an exploded perspective view of the same main part, and FIG.

【図3】(A)同回路ブロック図 (B)同論理チャートFIG. 3A is a block diagram of the circuit, and FIG.

【符号の説明】[Explanation of symbols]

11 回転軸 12 切溝 13 ロータリーディップスイッチ 14 マイコン D1〜D4 ポート 15 孔 16 パネル DESCRIPTION OF SYMBOLS 11 Rotation axis 12 Groove 13 Rotary DIP switch 14 Microcomputer D1-D4 Port 15 Hole 16 Panel

───────────────────────────────────────────────────── フロントページの続き (72)発明者 五島 章好 大阪府東大阪市吉田下島1番55号 朝日ナ ショナル照明株式会社内 ──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Akiyoshi Goto 1-55 Yoshida Shimojima, Higashiosaka-shi, Osaka Asahi National Lighting Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 回転軸の前面に直径方向の切溝を形成し
たロータリーディップスイッチを介してH/L信号をマ
イコンの複数のポートに与えるとともに、前記回転軸が
臨む孔を形成したパネルを備えたポート信号設定装置で
あって、前記回転軸は4個以上の偶数の回転位置を備
え、前記マイコンは前記回転軸の正反対の回転位置にそ
れぞれ対応する前記ポートへの入力信号を同一信号とし
て読み取る手段を備え、前記パネルには前記回転軸の回
転位置数の半数の表示符号又は回転位置数と同数の表示
符号を表示したポート信号設定装置。
An H / L signal is supplied to a plurality of ports of a microcomputer via a rotary dip switch having a diametrically cut groove formed on a front surface of a rotary shaft, and a panel having a hole facing the rotary shaft is provided. A port signal setting device, wherein the rotation shaft has four or more even rotation positions, and the microcomputer reads input signals to the ports respectively corresponding to diametrically opposite rotation positions of the rotation shaft as the same signal. A port signal setting device comprising: means for displaying, on the panel, a display code of a half of the number of rotation positions of the rotary shaft or a display code of the same number as the number of rotation positions.
JP9053880A 1997-02-20 1997-02-20 Port signal setting device Pending JPH10241867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9053880A JPH10241867A (en) 1997-02-20 1997-02-20 Port signal setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9053880A JPH10241867A (en) 1997-02-20 1997-02-20 Port signal setting device

Publications (1)

Publication Number Publication Date
JPH10241867A true JPH10241867A (en) 1998-09-11

Family

ID=12955070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9053880A Pending JPH10241867A (en) 1997-02-20 1997-02-20 Port signal setting device

Country Status (1)

Country Link
JP (1) JPH10241867A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009010518A (en) * 2007-06-26 2009-01-15 Goyo Electronics Co Ltd Input device using rotary dip switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009010518A (en) * 2007-06-26 2009-01-15 Goyo Electronics Co Ltd Input device using rotary dip switch

Similar Documents

Publication Publication Date Title
US6438241B1 (en) Multiple driver rotary control for audio processors or other uses
US20060207867A1 (en) Rotary controls
EP0282817B1 (en) Dial device
US4807091A (en) Illuminating device for an electric part
US20060017586A1 (en) Light sculpture system and method
US20100095035A1 (en) Polyhedral assembly, master-slave based electronic system using the same and addressing method thereof
JPH09123741A (en) On-vehicle rotation detector
JPH10241867A (en) Port signal setting device
US6933964B2 (en) Surveillance system
KR100453359B1 (en) TV receiver
US20150097816A1 (en) Wireless handheld controller
US3992872A (en) Display device
US5513083A (en) Rotary device of a projector
JPS5846501A (en) Projector with color screen on disc
US20150262769A1 (en) Rotary Control Device
KR20170000821U (en) Rotary type temperature control device for heating device
JP3203880B2 (en) Operation button display device
US6731333B2 (en) Surveillance system
KR101567092B1 (en) Lighting apparatus
KR970011123B1 (en) Multi-function digital alarm watch
JP2002179226A (en) Photoelectric switch for picking
JPH10188733A (en) Knob
JPS6117680Y2 (en)
JP2002170689A (en) Illumination system
JPH0522679A (en) Rotational device for television receiver