【正文】
139。轉(zhuǎn)讓任何許可證,暗中或以其他方式,在任何知識(shí)產(chǎn)權(quán)。代碼保護(hù)并不意味著我們保證產(chǎn)品是“牢不可破”的。注意下面的詳細(xì)代碼在PICmicro MCUs保護(hù)特性。 Alpha步驟7:創(chuàng)建一個(gè)按鈕代碼交叉參考表。延遲計(jì)數(shù)的選項(xiàng)是這個(gè)原因。這些差距和陣陣的長(zhǎng)度定義的和為零。這些都可以從夏普或精簡(jiǎn)版上。通過(guò)記憶的脈沖持續(xù)時(shí)間使用的跳線開關(guān)PIC16C57將存儲(chǔ)在內(nèi)存中。步驟1:選擇一個(gè)遠(yuǎn)程控制取決于您的應(yīng)用程序,您可能會(huì)選擇選擇一個(gè)遙控器,擁有自己的設(shè)計(jì)或現(xiàn)成的。的格式和一個(gè)‘0’格式。編寫一個(gè)算法來(lái)解碼紅外遙控器的說(shuō)明,它使用一個(gè)紅外遙控器,第一步是選擇一個(gè)遙控器。“連字符”啟動(dòng)后將被顯示在左邊的數(shù)字空間,直到紅外線輸入,黑暗的圖示表明準(zhǔn)備接收紅外線信號(hào)作為一個(gè)紅外信號(hào)出現(xiàn)時(shí),長(zhǎng)度的爆發(fā)的紅外和長(zhǎng)度的差距破裂存儲(chǔ)在連續(xù)文件位置,直到PIC16C57所有的內(nèi)存文件都充滿。固件上包括三個(gè)應(yīng)用程序,其將幫助設(shè)計(jì)一個(gè)紅外控制系統(tǒng)。三個(gè)八進(jìn)制開關(guān)最為輸入來(lái)控制選項(xiàng)顯示,哪些文件注冊(cè)。PIC16C57的選擇并不表示這些處理操作需要解碼。串行數(shù)據(jù)層的信息包含一個(gè)命令。雖然你不能看到紅外光束,但它是光的一種形式,所以如果你不能看到目標(biāo)設(shè)備,你就不能用紅外信號(hào)控制它。此處描述了三種PIC16C5X應(yīng)用程序,說(shuō)明了如何用它們來(lái)創(chuàng)建一個(gè)算法使其能夠破譯任何遙控信號(hào)??梢酝ㄟ^(guò)PIC16C5X譯解大多數(shù)的紅外信號(hào)。這份說(shuō)明書是描述如何破解的。每種PIC16C5X應(yīng)用程序表示在映射出一個(gè)預(yù)先存在的紅外格式的一個(gè)步驟。控制繞過(guò)拐角,通過(guò)不透明的材料、RF,通常使用超高頻信號(hào)。這是典型的編碼在長(zhǎng)度的紅外脈沖或長(zhǎng)度的差距紅外脈沖。典型的紅外接收器的代碼可以放入不到一半的可用PIC16C54 ROM空間中,并使用四個(gè)內(nèi)存位置。整個(gè)電路得出其權(quán)力從9v,200米墻安裝供應(yīng)。IRMAIN. ASM讀取跳轉(zhuǎn)2和程序流重置。如果一個(gè)跳線已經(jīng)在1,程序扔掉的前32脈沖間隙長(zhǎng)度,開始儲(chǔ)存脈沖和間隙長(zhǎng)度的第33脈沖長(zhǎng)度。擁有自己的設(shè)計(jì)或現(xiàn)成的,調(diào)制或未調(diào)制的是主要的技術(shù)決策。這可能是差距計(jì)數(shù),脈沖計(jì)數(shù),或兩者的結(jié)合。通常他們?cè)谒麄兊男?比特微控制器上設(shè)定為一個(gè)串行格式。如果所有的輸出(第一個(gè)除外)均低于40小時(shí),紅外的格式是一個(gè)調(diào)制的。38千赫,39千赫,40千赫,48千赫。它們的順序?qū)⑷Q于哪個(gè)按鈕被按下。插入跳線1和小節(jié)。計(jì)數(shù)器最高時(shí),可以按下按鈕,然后抬起頭,比對(duì)收到的代碼。?Microchip的滿足Microchip數(shù)據(jù)手冊(cè)中包含的規(guī)格。?代碼保護(hù)是不斷變化的。商標(biāo)權(quán)微芯片的名稱和商標(biāo),微芯片標(biāo)志,FilterLab KEELOQ microID MPLAB,PICMASTER PICmicro PIC,PICSTART,PRO伴侶,SEEVAL和嵌入式控制解決方案公司是注冊(cè)商標(biāo)的微芯片技術(shù)納入美國(guó)和其他國(guó)家。, and what, in the format, defines a 39。.HARDWARE DESCRIPTIONThe schematic in Figure 1 shows a tool that can be made to aid development of infrared receiver code. The schematic consists of a PIC16C57 connected to one of two available infrared receivers. One receiver is for nonmodulated signals, the other for modulated signals. Modulated receivers are available from Sharp and Lite On, part numbers GP1U521Y and LT1060 respectively. The nonmodulated type is available from Quality Technologies part number QSE157QT.The choice of the PIC16C57 is not indicative of the processing power required for decoding. Typical IR receiver code can ?t into less than half the ROM space available in a PIC16C54, and uses four RAM choice of a PIC16C57 in this case was driven by the need to store a lot of signal lengths for later reading.A ceramic resonator clocks the PIC16C57. It will give adequate frequency accuracy to determine pulse and gap lengths. A RC network does not usually have adequate accuracy. A button is available for resetting the PIC16C57, and four jumpers are provided to control the application startup. The two digit display is multiplexed and driven through Q1 and Q2.Three octal switches are used as inputs to control the OPTION register and which ?le is displayed. The whole circuit derives its power from a 9V, 200 m A wall mounted supply. U1 regulates the 9V down to 5V for the PIC16C57 and associated circuitry.DESCRIPTION OF SOFTWARE TO AID DEVELOPMENTThis application uses four different firmware files. IRMAIN. ASM controls the selection of the three application files. The first file is MEASURE. ASM which stores the infrared burst and gap lengths into memory and allows playback of that decodes NEC6121 infrared format and displays the received codes on the LED display. The final file, , shows the final firmware for decoding the infrared format for a Teknika Television. The firmware listed includes three applications that will aid in designing an infrared control system. IRMAIN. ASM reads jumpers 1 and 2 and directs program flow after reset to one of the three applications. Having no jumper in 2 will direct program flow to jumper in 2 only will direct program flow to in both 1 and 2 will direct program flow to TEKNIKA. ASM. Jumpers 3 and 4 are not used.This is the most basic and most useful of the three applications. This program stores the infrared burst and gap lengths into memory, allowing playback of the measure ments through the two digit display. It allows external control of the OPTION register also, through setting of SW1 is read directly into the OPTION register prescaler value for SW1 is changed during program operation, the PIC16C57 resets.Upon startup a “hyphen”will be displayed in the left digit space until the infrared input settles to the dark logic indicating that the unit is ready to receive an infrared signal.As an infrared signal e