TW396311B - Power control and timing device of learning infrared remote control - Google Patents

Power control and timing device of learning infrared remote control Download PDF

Info

Publication number
TW396311B
TW396311B TW87101038A TW87101038A TW396311B TW 396311 B TW396311 B TW 396311B TW 87101038 A TW87101038 A TW 87101038A TW 87101038 A TW87101038 A TW 87101038A TW 396311 B TW396311 B TW 396311B
Authority
TW
Taiwan
Prior art keywords
control
infrared
power
timing
infrared remote
Prior art date
Application number
TW87101038A
Other languages
Chinese (zh)
Inventor
Wu-Jeng Li
Original Assignee
Li Wu Jeng
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 Li Wu Jeng filed Critical Li Wu Jeng
Priority to TW87101038A priority Critical patent/TW396311B/en
Application granted granted Critical
Publication of TW396311B publication Critical patent/TW396311B/en

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The present invention relates to a power control and timing device of multi-channel infrared remote control, and more particularly, to a device capable of recognizing and memorizing new infrared control signal, and being controlled by the infrared remote control of any home electric appliance. The device includes: a hardware controller having a single-chip microprocessor, an infrared receiving model, a zero crossover detection means, an alternating current phase control means, a clock display and a power supply; and a software program burned in the single chip for learning the infrared control code, showing timing, and performing phase control and timing control toward multiple sets of switching in conjunction with the hardware. Thus, the present invention can be a timing switch attached with an electronic clock, or a power supply controller, which utilizes the infrared remote controller. Through learning and memorizing, it can control the on-and-off of the switching of this device. Also, it can adjust output power and timing by segment and preset the automatically connecting and blackout timing.

Description

五、發明説明(/ ) 本創作係一種多通道紅外線遙控功率控制及定時之裝置, 特別係指一種用任意家電紅外線遙控器,經過記憶學習即能控 制的裝置,其平時是附有電子時鐘的定時開關,遙控時可分段 調節裝置上開關的輸出功率,本創作是針對物品之軟硬體結構, 首先創作而合於實用之設計者。 經濟部中央梂準局貝工消費合作社印装 按’電子科技的進展帶動民生用品走向使用方便及有智慧 的潮流,遙控功能成爲電器用品的必備啤能之一,習見的紅外 線遙控器都有訊號發射及訊號接收兩部份,訊號發射的部份發 出紅外線控制訊號,該訊號經過編碼及調變的處理,以區別不 同遙控器不同控制訊號及避免雜訊干擾,而訊號接收的部份接 收到紅外線訊號後,將其解調及解碼,得到控制指令,而後進 行後續的控制動作,如此的設計再加上家電用品普遍都有其專 屬的遙控器發射器,使得家庭中充斥各種的遙控器發射器,本 創作即是一種只有訊號接收部份的紅外線遙控器,可用一般任 意的紅外線遙控器的發射器來控制本裝置,另外,本創作整合 紅外線遙控、定時開關、功率控制、多通道控制等功能,使舊 式的家電用品有新的功能,如舊式的風扇插上本裝置之後’即 爲遙控式風扇,可遙控風量大小,如台燈插上本裝置後’即爲 遙控台燈,可遙控燈的亮度,加上本裝置的定時功能’可預設 家電用品的自動開啓時間和自動關閉時間’而爲一種智慧型的 控制器。 本倉!J作由制板硬體及其板上單晶片徴處理器裡的程式軟 體構成,符合如下的使用要求:有多個通道,可同時遙控多個 電器;可分別遙控各通道的輸出功率;有電子鐘’並可設定目 前時刻;可分別設定各通道的自動開啓時刻、開啓功率及自動 本紙張尺度遑用中國國家標準(CNS) A4規格(210x297公釐) 3 A7 _B7_ 五、發明説明(2 ) 關斷時刻;可學習辨識一般家電遙控器的紅外線控制訊號;有 訊息顯示部分,平時顯示目前時刻,遙控時顯示控制訊息。 本創作之詳細構造、應用原理、作用與功效,參照下列依 圖所作之說明即可得到完全的了解。 圖一是本創作之學.習型紅外線遙經功率^制及定時裝置的 硬體設計圖,裝置的核心是8051單晶片,另外有:1是電源供 應部^2是訊息顯示部、3是紅外線接收部、4是零交越檢測部、 5.是交流電®位»培H,_其申—C1—是穩壓晶片」C2是TRIM:, ^RIAC C3 ° 圖二是一般紅外線訊號編碼格式。 圖三是本創作軟體部份的T0計時中斷副程式流程圖。. 圖四是本創作趑體部纖XL肚除中斷副程式流程趾。 圖五是本創隹軟體部份的中銜Μ醒式流程圖。 圖六是本創作軟體部份的ΙΝΊΓ1外部中斷副程式流程圖。 •眉七是本創作軟體部玢的主程式流程圖。 本創作的硬體設計如圖一所示,零交越偵測電路(圖一 4) 的訊號引起8051的外部中斷ΙΝΤ1,而紅外線接收模組(圖一 3)的輸出訊號弓丨起外部中斷INTO,各部構造簡述i下: 經濟部中央梯準局負工消费合作社印製 (請先閲讀背面之注意事項再填寫本頁) ⑴電源部: IK) Volts的交流電經過降壓至9 Volts後,整流爲直流 電,再經過穩壓器C1,調節爲穩定的5 Volts直流電源,供電 路板上的積體電鲧所需; (2) LCD顯示模組: . 20字X 2列的字元型LCD顯示模組,內建HD44780A 控制晶片,係用’8〇51輸出埠P1以四位元介面控制,其中讀 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) ' 4 A7 B7 五、發明説明(3 ) 寫線直接接地,表示僅對LCD做寫入動作; (3) 紅外線接收模組: 紅外線接收模組接收外面的紅外線信號,加以放大、整形、 後,對38 KHz的調變波檢波(解調),還原爲調變前的編碼串 歹[J訊號; (4) 零交越檢測部: 用以檢測出所控制的110 Volts電源,其電壓爲零的瞬間, 以這瞬間信號,對8051產生中斷,做爲交流電相位控制時, 計算觸發角的基進信號; (5 )交流電相位控制部: 四組的交流電挺制單元,控制四個通道的通斷,每一組交 流電的導通與切斷由C2的TRIAC控制,其控制信號來自8051 單晶片的p3.4、p3.5、p3.6、p3.7腳,其中光耦合的TRIAC C3 用來隔離直流電和交流電並傳遞控制信號; 圖示8051微處理器的portO、port2沒有被用到,可用來外接 程式記憶體及資料記憶體,改以8031來控制本裝置,以降低成 本。 經濟部中央標準局貝工消費合作社印製 (請先閲讀背面之注意事項再填寫本頁) 本創作實施例的操作需要一般紅外線遙控器發1射器上的五 個按鍵,其操作模式有三種; 1.學習模式: 辨識並記憶紅外線遙控器上的五個按鍵;在第一次接收到紅 '外線訊號時,本裝置即進入學習模式,依序辨識並記憶五個按 鍵碼,習得五個按鍵後,自動進入電子鐘顯示模式,另外,如 果某一按鍵被按太久(約30秒),則表示要重新學習,再度進入 學習模式;_ 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 經濟部中央棣率局負工消費合作杜印製 A7 ___B7 _ 五、發明説明(4* ) 2. 設定模式: 設定電子鐘目前時刻和四個通道的唐動開啓時刻、開馳 率、及自動關斷時刻’在設定模式時,第4鍵用來切換LCD上 的顯示頁,第1頁爲目前時刻設定,第2至5頁爲第1至4通 道的自動開啓時刻、開啓功率、及自動關斷時刻的設定,第2 按鍵用來改變設定項,LCD上的游標隨之移到下一項,第1按 鍵用來增量目前設定項的値,第3按鍵沒有作用,第5按鍵用 來切換到電子鐘顯示模式 3. 電子鐘顯示模式: 顯示目前時刻及各通道功率,並可遙控四個通道的輸出功 率,在此模式中時,第1至4鍵分別用來控制第1至4通道的 輸出功率,輸出功率分爲8段,LCD面板上以數字來表示目前 功率的大小,第1按鍵被按時,第1通道的輸出功率增加1段, 全功率(8)後轉爲關斷(0),第5按鍵用來切換到設定模式; 若要換另一個紅外線控制器發射器來控制本創作或更改控制按 鍵,按住任一鍵達約30秒之久,即迫使本創作重新進入學習模 瓦。 經過圖一 3的紅外線接收模組檢波後的訊號串¥各式類似圖 . 二(1)中所示,引導碼後接著習慣碼和資料碼構成訊號串,訊號 串與訊號串之間有一段寂靜期,稱之爲間斷時距,而位元資訊 的碼信號係以低準位的時間距離長短來區分;有的廠牌的碼信 號是以高準位的時間距離長短來區分,如圖二(2)中所示;有些 ’簡單的遙控器如機車防盜和遙控門鎖的遙控器,其編碼後的訊 號格式沒有引導碼和習慣碼,碼信號的格式亦不同,如圖二(3) 中所示,不同的遙控器,即使格式相似,資料碼位元數與"0M、"Γ 用中咖家標準(CNS ) ( 210 X 297公釐) (〇 ---------1裝-- (請先閲讀背面之注意事項再填寫本頁) 訂 經濟部中央揉準局员工消費合作社印製 A7 B7 五、發明説明(5) 訊號時間距離長短亦多不相同,基於以上的認識,本創作提出 如下的辨識學習方法:V. Description of the Invention (/) This creation is a multi-channel infrared remote control power control and timing device, especially a device that can be controlled after learning through memory using an infrared remote control of any household appliance. It is usually equipped with an electronic clock. Timing switch, the output power of the switch on the device can be adjusted in sections when remotely controlled. This creation is aimed at the hardware and software structure of the article. According to the progress of electronic technology, the printing of shellfish consumer cooperatives by the Central Government Bureau of the Ministry of Economic Affairs has driven the trend of convenient and intelligent consumer goods. The remote control function has become one of the essential beer energy for electrical appliances. Transmitting and signal receiving two parts, the signal transmitting part emits infrared control signal, the signal is processed by encoding and modulation to distinguish different control signals of different remote controllers and avoid noise interference, while the signal receiving part receives After the infrared signal, it is demodulated and decoded to obtain the control instructions, and then the subsequent control actions are performed. This design coupled with household appliances generally has its own remote control transmitter, which makes the home flooded with various remote control transmitters. Device, this creation is an infrared remote control with only the signal receiving part, which can be controlled by the transmitter of any arbitrary infrared remote control. In addition, this creation integrates infrared remote control, timing switch, power control, multi-channel control, etc. Function, so that old appliances have new functions, such as the old style After plugging in this device, 'is a remote control fan, which can remotely control the amount of air volume. For example, when a desk lamp is plugged in, it is a remote desk lamp, which can control the brightness of the remote control lamp, plus the timing function of this device,' which can preset household appliances. 'Auto On Time and Auto Off Time' is a smart controller. Honkura! The J-work consists of the board-making hardware and the program software in the single-chip processor on the board, which meets the following requirements: There are multiple channels, and multiple electrical appliances can be remotely controlled at the same time; the output power of each channel can be remotely controlled; Electronic clock 'can set the current time; can set the automatic start time, power and automatic paper size of each channel, using Chinese National Standard (CNS) A4 specifications (210x297 mm) 3 A7 _B7_ V. Description of the invention (2 ) Turn off time; learn to recognize the infrared control signal of the remote control of general home appliances; there is a message display part, which usually displays the current time, and displays control messages during remote control. The detailed structure, application principle, function and effect of this creation can be fully understood by referring to the following description according to the figure. Figure 1 is the hardware design diagram of this creative study. The infrared infrared remote power system and timing device. The core of the device is an 8051 single chip. In addition, 1 is the power supply unit, 2 is the information display unit, and 3 is Infrared receiver, 4 is the zero-crossing detection unit, 5. It is the AC power bit »H, _its application — C1 — is the voltage regulator chip” C2 is TRIM :, ^ RIAC C3 ° Figure 2 is the general infrared signal coding format . Figure 3 is the T0 timing interrupt subroutine flow chart of the authoring software part. Figure 4 shows the toe of the body in addition to the interruption of the subroutine flow. Figure 5 is the middle-level wake-up flow chart of the software part of this innovation. Figure 6 is a flowchart of the INNΊΓ1 external interrupt subroutine of this authoring software part. • Meiqi is the main flow chart of the creative software department. The hardware design of this creation is shown in Figure 1. The signal of the zero-crossing detection circuit (Figure 1 4) caused an external interruption 8051 of the 8051, and the output signal of the infrared receiving module (Figure 1 3) caused an external interruption. INTO, a brief description of the structure of each department i: Printed by the Consumers Cooperative of the Central Elevator Bureau of the Ministry of Economic Affairs (please read the precautions on the back before filling out this page) ⑴Power Department: IK) After the AC power of Volts is reduced to 9 Volts , Rectified to direct current, and then adjusted to a stable 5 Volts DC power supply through regulator C1, which is needed by the integrated circuit on the circuit board; (2) LCD display module:. 20 characters X 2 columns of characters Type LCD display module, built-in HD44780A control chip, is controlled by '8051 output port P1 with a four-bit interface, of which the paper size is in accordance with the Chinese National Standard (CNS) A4 specification (210X297 mm)' 4 A7 B7 V. Description of the invention (3) The write wire is directly grounded, which means that only the LCD is written. (3) Infrared receiver module: The infrared receiver module receives the infrared signal from the outside, amplifies, reshapes it, and then sends it to 38 KHz. Modulation wave detection (demodulation), Revert to the encoding string before modulation [J signal; (4) Zero-crossing detection unit: used to detect the moment when the voltage of the controlled 110 Volts power supply is zero. With this momentary signal, interrupt 8051, and do For AC power phase control, the basic signal of the trigger angle is calculated; (5) AC power phase control unit: Four groups of AC power control units, which control the on and off of the four channels, and the on and off of each group of AC power is controlled by C2. TRIAC control. Its control signals come from p3.4, p3.5, p3.6, and p3.7 pins of the 8051 single chip. The optically coupled TRIAC C3 is used to isolate DC and AC power and transmit control signals. Figure 8051 microprocessing The portO and port2 of the controller are not used. They can be used for external program memory and data memory. Use 8031 to control the device to reduce costs. Printed by the Central Standards Bureau of the Ministry of Economic Affairs, Shellfish Consumer Cooperative (please read the precautions on the back before filling out this page) The operation of this creative embodiment requires five buttons on the transmitter of a general infrared remote control. There are three modes of operation. ; 1. Learning mode: identify and memorize the five keys on the infrared remote control; when the first red 'outline' signal is received, the device enters the learning mode, sequentially recognizes and memorizes the five key codes, and learns five After pressing the key, it automatically enters the electronic clock display mode. In addition, if a key is pressed for too long (about 30 seconds), it means to learn again and enter the learning mode again. _ This paper size applies the Chinese National Standard (CNS) A4 specification. (210X297 mm) Duty printing of A7 ___B7 _ by the Central Government's Bureau of the Ministry of Economic Affairs. 5. Description of the invention (4 *) 2. Setting mode: Set the current time of the electronic clock and the opening time of the Tang channel of the four channels. Speed and auto-off time 'In setting mode, the 4th key is used to switch the display page on the LCD, the first page is the current time setting, and the second to fifth pages are the first to fourth channels Set the start time, power on, and automatic shutdown time. The second button is used to change the setting item, and the cursor on the LCD moves to the next item. The first button is used to increase the current setting item. The key has no effect. The fifth key is used to switch to the electronic clock display mode. 3. The electronic clock display mode: displays the current time and the power of each channel, and can remotely control the output power of the four channels. In this mode, the first to the fourth The keys are used to control the output power of channels 1 to 4, respectively. The output power is divided into 8 segments. The current power is represented by a number on the LCD panel. When the first key is pressed, the output power of channel 1 is increased by 1 segment. After full power (8), it turns off (0). The fifth button is used to switch to the setting mode. To change another infrared controller transmitter to control the creation or change the control button, press and hold any button for about 30 seconds. For a long time, it forced this creation to re-enter the learning tile. The signal string ¥ after detection by the infrared receiving module in Fig. 3 is similar to the figure. As shown in two (1), the guide code is followed by the custom code and the data code to form a signal string. There is a section between the signal string and the signal string. The quiet period is called the intermittent time interval, and the bit signal of the bit information is distinguished by the time distance of the low level; some brand code signals are distinguished by the time distance of the high level, as shown in the figure As shown in two (2); some 'simple remote controls, such as the remote control of locomotive anti-theft and remote control door locks, do not have a guide code and a custom code in the encoded signal format, and the format of the code signal is also different, as shown in Figure 2 (3 ) As shown in different remote controllers, even if the format is similar, the number of data code bits is the same as " 0M, " Γ using the Chinese standard (CNS) (210 X 297 mm) (〇 ------ --- 1 pack-(Please read the precautions on the back before filling this page) Order printed by the Central Consumers Bureau of the Ministry of Economic Affairs, printed by the Consumer Cooperative of the A7 B7 V. Description of the invention (5) The time length of the signal is also different, Based on the above knowledge, this author proposes the following recognition learning methods:

I 1. 先找出訊號串間的間斷時距: 紅外線信號的正緣會觸發8051的中斷,中斷處理副程式 記錄每二次中斷的間隔時間,經過數十次中斷後,取其最大値 者,即爲訊號串間的間斷時距,爲免雜訊干擾所造成的誤判, 取多次重複出現的最大値爲間斷時距;. 2. 找出紅外線信號的特性時距: 記錄二次中斷間高準位的時距(或低準位的時距),經數十 次中斷後,取重複出現者,得到數個時距値,取其時距較短的 兩個,當作是和"Γ的時距長; 3. 記憶紅外線信號的按鍵碼: 得到紅外線信號的間斷時距和特性時距之後,以間斷時距 來檢測信號串的開頭,以”〇"和"Γ的時距長來判斷信號的位元資 料,完成一串信號的判讀後,收集得到的位元値,組成按鍵碼, 同一按鍵,經判讀數次,所得的按鍵碼相同者,始視爲正確的 碼, 4. 信號學習時,先以高準位時距來判讀,若不成功再以低準位 時距判讀。 本創作的軟體設計由5部分構成:主程式(見圖七)、二個 計時中斷副程式(見圖三及圖匹I)、和二個外部中斷副程式(見 圖五及圖六);T0計時器規畫成每0.05秒產生一次中斷,其中 斷副程式執行電子時鐘時間的更新,時間的記錄分爲秒、分、 時、天,以一星期(7天)爲循環,另外,T0中斷副程式亦檢查 各通道自動開啓時刻及自動關斷時刻是否已到,如®三的流程 本紙張尺度適用中國國家揉準(CNS ) A4規格(210X297公釐) ---------^裝-- (請先閲讀背面之注意事項再填寫本頁) 訂 經濟部中央橾準局負工消費合作社印裂 A7 ---一 B7 --------—- 五、發明説明(6 ) 圖所示;T1計時器規畫成每〇.2 ms產生一次中斷’其中斷副 程式用來計算觸發角和紅外線的時距,觸發角的計算用來做四 逋道交流電的功率控制,輸出功率分爲八段,換算成八個觸發 角的値,每次中斷觸發角計數增一,當達到下一個功率段時, 開啓各通道中設爲該功率段者,丁1計時中斷並用來量測紅外線 的間斷時距及特性時距,並用來判斷訊號串的結束和紅外線信 號的結束,其流程圖如圖四所示;INTO .外部中斷是紅外線信號 中斷,其中斷副程式如圖五流程圖所示’進入學習模式後’本 中斷副程式在第90次中斷時’決定紅外線的間斷時距’有了間 斷時距後,即可判定訊號串的開始,計算訊號串數,在第4訊 號串時,決定紅外線訊號的特性時距,若特|生時距取得失敗,· 改變學習方法,特性時距由高準位時距改爲以低準位時距測定, 取得特性時距後,即可判斷訊號串內的資料並記憶之,待按鍵 碼收集完整或40位元的按鍵碼暫存器已滿後,留待主程式做按 鍵處理,另外,副程式亦檢查是否按鍵太久,以重新進入學習 模式;ΙΝΤ1外部中斷是零交越訊號中斷,其中斷副程式重置觸 發角的計時,並打開全功率的通道,如阈六啦程圖所示;主程 式首先設定中斷模式,中斷權位由高而低依次爲INTO、Τ1、 INTI、TO,接著主程式設定計時器模式並啓動計時器,TO採 模式1,爲16位元計時器,T1採模式2 ’爲8位元計時器’有 , 自動載入功能,8051單晶片內部只有I28個位元組的資料記 憶體,在本程式中用來儲存四通道的通斷時刻與功率:五個按 鍵碼、電子鐘時間、中斷時距、特性時距、信號串計數、位元 數計數、及其它工作變數等’主程式啓動計時器後,重置這些 變數,然後啓動LCD的顯示並設爲電子鐘顯示模式,之後, 本紙張尺度適用中國困家標準(CNS ) A4規格(210 X 297公釐) 8 ---------1裝-- (請先聞讀背面之注意事項再填寫本頁) .ΤΓ 五、發明説明(7 )I 1. First find the discontinuous time interval between the signal strings: The positive edge of the infrared signal will trigger the interruption of 8051. The interruption processing subroutine records the interval between each interruption. After dozens of interruptions, whichever is the largest, It is the discontinuous time interval between signal strings. In order to avoid misjudgment caused by noise interference, the maximum time interval between repeated occurrences is the discontinuous time interval. 2. Find the characteristic time interval of the infrared signal: Record the height of the second interruption interval Level time interval (or low level time interval), after dozens of interruptions, take repeaters to get a number of time intervals 取, take the shorter two, as and " The time interval of Γ is long; 3. The key code for memorizing the infrared signal: After obtaining the discontinuous time interval and characteristic time interval of the infrared signal, use the discontinuous time interval to detect the beginning of the signal string, and the time of "〇 " and " Γ The bit data of the signal is judged by the distance. After reading a series of signals, the bit digits are collected to form a key code. The same key is read for several times. The same key code is regarded as the correct code. 4. For signal learning, first use Micro Motion The time interval is used to judge, if it is unsuccessful, then the low-level time interval is used to interpret. The software design of this creation is composed of 5 parts: the main program (see Figure 7), two timing interruption subroutines (see Figure 3 and Figure I) , And two external interrupt subroutines (see Figures 5 and 6); the T0 timer is programmed to generate an interrupt every 0.05 seconds, and its interrupt subroutine performs the update of the electronic clock time. The time record is divided into seconds, minutes, Hours and days, with a week (7 days) as the cycle. In addition, the T0 interruption subroutine also checks whether the automatic opening time and automatic closing time of each channel have arrived. CNS) A4 specification (210X297 mm) --------- ^ equipment-(Please read the precautions on the back before filling out this page) Order the A7 of the Ministry of Economic Affairs, Central Bureau of Work, Consumer Cooperatives- --One B7 ----------- 5. Description of the invention (6) shown in the figure; T1 timer is programmed to generate an interrupt every 0.2 ms' The interrupt subroutine is used to calculate the trigger angle and The calculation of infrared time interval and trigger angle is used for power control and output power of four channels of AC power. It is eight segments, which is converted into 触发 with eight trigger angles, and the trigger angle count is increased by one each time when the next power segment is reached. When the next power segment is reached, those who set the power segment in each channel are turned on. The timing is interrupted and used to measure infrared The intermittent time interval and characteristic time interval are used to judge the end of the signal string and the end of the infrared signal. The flowchart is shown in Figure 4; INTO. The external interrupt is the infrared signal interrupt, and its interrupt subroutine is shown in the flowchart in Figure 5. It shows 'After entering the learning mode', this interruption subroutine 'determines the discontinuous time interval of infrared rays' at the 90th interruption. With the discontinuous time interval, the start of the signal string can be determined, and the number of signal strings can be calculated. Time, determine the characteristic time interval of the infrared signal. If the time interval of the birth time fails, change the learning method. The characteristic time interval is changed from a high level time interval to a low level time interval. After the characteristic time interval is obtained, that is, The data in the signal string can be determined and memorized. After the key code is collected completely or the 40-bit key code register is full, it is left to the main program to perform key processing. In addition, the sub program also checks whether the key has been pressed for too long. In order to re-enter the learning mode; the INT1 external interrupt is a zero-crossing signal interrupt. Its interrupt subroutine resets the timing of the trigger angle and opens the channel of full power, as shown in the threshold six. The main program first sets the interrupt mode. The interrupt right bits are INTO, T1, INTI, TO from high to low, then the main program sets the timer mode and starts the timer. TO adopts mode 1, which is a 16-bit timer, and T1 adopts mode 2 ', which is 8-bit timing. Device's, automatic loading function, the 8051 single chip only has I28 bytes of data memory, used in this program to store the on-off time and power of four channels: five key codes, electronic clock time, interrupt Time interval, characteristic time interval, signal string count, bit count, and other working variables, etc. After the main program starts the timer, reset these variables, then start the LCD display and set to the electronic clock display mode. The paper size is in accordance with the Chinese Standard for Household Standards (CNS) A4 (210 X 297 mm) 8 --------- 1 Pack-(Please read the precautions on the back before filling this page) .ΤΓ 5 Description of the invention (7)

進入一個無休止的迴圈,在這迴圈中,程式做按鍵的處理和LCD 的顯示,按鍵處理中,先是檢查是否已取得―完整的按鍵碼? 若是,貝依操作模式與按鍵碼的不同,改變對應的變數値,否: 則略過,而LCD的顯示,依顯示模式和按鍵碼的不同,改變lcD 的顯示內容。 從上所述可知,本創作之學習型紅外線遙控功率控制及定 時裝置,確實能夠辨識及記憶新的紅外释控制訊號,是可用任 意紅外線遙控器的發射器即能控制的裝置,本創作並未見諸公 開使用,合於專利法之規定’懇請賜准專利,實爲德便。 須陳明者,以上所述者乃是本創作較佳具體的實施例,若 依本創作之構想所作之改變’其產生之功能作用,仍未超出說 明書與圖不所涵盖之精神時’均應在本創作之fe圍內’合予陳 明。 經濟部中央揉準局貝工消费合作社印製 紙 本 家 國 I國 |中 用Enter an endless loop. In this loop, the program performs key processing and LCD display. During key processing, first check whether the “complete key code” is obtained. If it is, the Bey operation mode is different from the key code, change the corresponding variable 値, No: Skip, and the LCD display changes the LCD display content according to the display mode and key code. As can be seen from the above, the learning-type infrared remote control power control and timing device of this creation can indeed recognize and memorize new infrared release control signals. It is a device that can be controlled by the transmitter of any infrared remote control. Seen in public use, in line with the provisions of the Patent Law, "I would like to ask for a quasi-patent, which is a virtue. Those who must be aware of the above are the better and concrete embodiments of this creation. If the changes made according to the concept of this creation 'the resulting functional effects have not exceeded the spirit not covered by the description and drawings', It should be shared with Chen Ming within the scope of this creation. Printed by the Central Government Bureau of the Ministry of Economic Affairs, Shellfish Consumer Cooperative, Paper Country, Country I, China

A4 \1/ S N -祕-29A4 \ 1 / S N -Mystery-29

Claims (1)

A8 B8 C8 D8 六、申請專利範圍 1. 一種多通道紅外線遙控功率控制及定時裝置,係由控芾L 板硬體及其上燒錄的程式構成,其控制板上有微處理器晶片、. 紅外線接收模組、零交越檢測、交流電相位控盡U蹈鐘顯蓮及 電源供應等部份,可用相位控制的方式,控制多通道的輸出功 率’並結合微墨的計時功能而爲定時聞瞄I释別係指能夠^ 辨識及記憶新的紅外線控制訊號,可用仟意紅外線遙控發射器 即能控制的裝置。 2, 如申請專利範衝第1項之一種多通道紅外線遙控功率控 制及定睦其中紅姓線控制訊號的辨識及記憶,係由紅外_ 線接收模組的輸出訊號海微處理器產生中斷,再由程式判取訊 號庠的間斷時距及特性時距』據以取出號串內的按鍵碼。 (請先閲讀背面之注意事項再填寫本頁) -裝. Λ 經濟部中央梯準局員工消費合作社印裝 本紙張尺度適用中國阃家梯準( CNS ) Α4規格(210X297公釐) {〇A8 B8 C8 D8 6. Application scope 1. A multi-channel infrared remote control power control and timing device, which is composed of the control board L board hardware and the program programmed on it. The control board has a microprocessor chip. Infrared receiving module, zero-crossing detection, AC power phase control, U, Zhong Xianlian and power supply, etc. Phase control can be used to control the output power of multiple channels. A farewell refers to a device capable of ^ identifying and memorizing new infrared control signals, which can be controlled by any infrared remote control transmitter. 2. For example, the application of a patent for Fanchong, a multi-channel infrared remote control power control and the identification and memory of the red line control signal, is interrupted by the output signal of the infrared line receiver module. Then the program determines the discontinuous time interval and characteristic time interval of the signal 庠 according to the key code in the number string. (Please read the precautions on the back before filling out this page) -Packing. ΛPrinted by the Consumer Cooperatives of the Central Ladder Standard Bureau of the Ministry of Economic Affairs This paper size is applicable to the Chinese Standard Ladder Standard (CNS) Α4 (210X297 mm) {〇
TW87101038A 1998-01-21 1998-01-21 Power control and timing device of learning infrared remote control TW396311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW87101038A TW396311B (en) 1998-01-21 1998-01-21 Power control and timing device of learning infrared remote control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW87101038A TW396311B (en) 1998-01-21 1998-01-21 Power control and timing device of learning infrared remote control

Publications (1)

Publication Number Publication Date
TW396311B true TW396311B (en) 2000-07-01

Family

ID=21629410

Family Applications (1)

Application Number Title Priority Date Filing Date
TW87101038A TW396311B (en) 1998-01-21 1998-01-21 Power control and timing device of learning infrared remote control

Country Status (1)

Country Link
TW (1) TW396311B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1310116C (en) * 2003-04-16 2007-04-11 松下电器产业株式会社 Microprocessor equipped with power control function, and instruction converting apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1310116C (en) * 2003-04-16 2007-04-11 松下电器产业株式会社 Microprocessor equipped with power control function, and instruction converting apparatus

Similar Documents

Publication Publication Date Title
CN101452290B (en) Intelligent appliance control system based on speech recognition and wireless sensing net
US4623887A (en) Reconfigurable remote control
CN103175286B (en) Be applicable to conditioner and the remote control thereof thereof of operation by blind
CN101498916A (en) Virtual digital switch apparatus, system and method for electric appliance
CN205802697U (en) External elevator interactive system
CN103925548A (en) Acoustic-control energy-saving table lamp
TW396311B (en) Power control and timing device of learning infrared remote control
CN205721140U (en) A kind of voice-operated intelligent panel
CN207718614U (en) A kind of multifunctional man-machine interactive intelligent remote controller
CN107241846A (en) A kind of intelligent desk lamp control device and intelligent identification Method
CN107307696A (en) A kind of Intelligent Recognition pillow and preparation method thereof
CN1774150A (en) Intelligent combined wall switch
CN203868914U (en) Voice-control energy-saving table lamp device
CN103441753A (en) Wireless card plug-in and power-on device for a room
CN205680162U (en) A kind of multifunctional intellectual coded lock
CN114121535A (en) Wall switch applied to clothes airing machine and control method
CN109118894B (en) Special children hardware building block programming device and method
CA2141064A1 (en) Remote switched outlet with learning capability
CN214846290U (en) Intelligent clothes airing machine controller
JP2743260B2 (en) Pulse transformer driving apparatus using RS-232 communication system and driving method thereof
CN207219129U (en) A kind of intelligent desk lamp control device
CN216514719U (en) Wall switch circuit applied to clothes airing machine
CN104533223B (en) Window device intelligent control device
CN214303304U (en) Intelligent lock and intelligent door
CN1649268A (en) Three second rhythm infrared remote control switch

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees