Home
Remote Control DEMO KIT User's Guide
Contents
1. v Reverse TIME FG Key DEBOUNCE Key debounce LED_LINE KEY_ SCAN BUF 0 Set KEY_STATUS v DEBOUNCE CNT 20H Clear KEY_STATUS Clear KEY_PRESS v DEBOUNCE CNT 20H v DEBOUNCE CNT decrease 1 DEBOUNCE_CNT decrease 1 LED MATRIX Scan HOLTEK Remote Control DEMO KIT User s 3 Scan LED matrix Recycle left KEY_SCAN_BUF 1 LED_SCANNING 0 KEY_SCAN_BUF 1 SYNC_CODE MPO increase 1 Set LED_SCANNING Set the pins of LED LINE TEMP 1 decrease1 and the result 0 Guide Clear LED_SCANNING Move the address of DATA 0 to MPO 1 8 Move Data to LED_ROW by RO Move KEY_SCAN_BUF 1 to LED_LINE LED_ROW 0FFH Move KEY_SCAN_BUF 1 to LED_LINE Receive and decode swip HOLTEK Remote Control DEMO KIT User s Guide 4 Receive and decode SWIP JMP HI_COUNT decrease 1 DATA IN FG 0 N Set DIV FG 70 lt LO_COUNT lt 110 DATA_IN_FG 1 32 HI COUNT 60 HI_COUNT lt HI_ MAXDURATION TO_COUNT lt LO_
2. 7 48 x2 103 7 peo 8 pez a er a R18 peo a ng 9 pst o 2 voc pe o 2 vol 100k pe 9 Fe _ PEUBZ 5 3 75 PB1BZ R26 P8 RES PBO BZ RES 2 47K GND 11 44 PC2 GND 11 A4 Pc R19 GND 11 vcc VA vec 12 ES Boe 13 1 pco 12 ES WE 13 PC 10K Pco_ 12 Es R24 PCO NT PCI TMR PCOINT PC1 TMR PCO NT voc an 8050 vec oe 0566 f GND yi 500 LED Ter P1 Log a i 5 01 a D2 D4 a D5 a 06 a 07 08 134148 134148 14148 134148 1N4148 1N4148 1N4148 gt gt P p 0 7 P e 84 S6 57 38 59 S10 A e _ co ce te o 1 100uF 10042 Lect are Battery 010 11
3. KIT HOLTEK Remote Control DEMO KIT User s Guide Flowchart Receiver Part The whole program consists of the main procedure and the TMR interrupt service routines There are 4 interrupt service routines namely Custom Code Display Refreshing Keying Debounce LED Matrix Scanning and Infrared Decoding e Main program of receiver START Initial Call FUNC3_DATAOUT Set TMR Clear FUNC3 OK BIT Start TMR v Call RECEIVER INITIAL Clear LED SCANNING Clear v Initial MPO and TEMP 1 N FUNC3_FG 1 y Call the subroutine of Scan LED Y MATRIX according to the result of Scanning the key matrix e TMRinterrupt subroutine Enter in TMR interrput v Save ACC and status 1 Refurbish displaying CUSTOM CODE v 2 Key DEBOUNCE 3 Scan LED MATRIX 4 Receive and decode SWIP Return HOLTEK Remote Control DEMO KIT User s Guide 2 Key debounce DEBOUNCE_CNT 0 Y v Move KEY SCAN BUF 1 KEY SCAN RES Set KEY_PRESS 1 Refurbish displaying custom code TIME CNT 0 decrease 1 TIME CNT 0 0 N T TIME CNT 0 50 v TIME decrease 1 N TIME CNT 1 0 Y v TIME CNT 0 50 TIME CNT 1 200
4. MAXDURATION HI COUNT LO_ COUNT SAVE 4 BITCOUNTER decrease 1 and the result 0 Clear RECEIVER CODE Clear HI COUNT and LO COUNT OKCOUNTI OKCOUNTIT Clear H COUNT SAVE and LO COUNT SAVE Are CUSTOM CODE and DATA right Clear flags Exit TMR interrupt OKCOUNT O 0AH OKCOUNT 1 0B0H Exit TMR interrupt Remote Control DEMO KIT User s Guide HOLTEK ircuit Diagram C Emitter Part c S PA1 iem pao 24 PA2 Ui PAO 2 ER 23 PA3 PA1 ds NE 24 PA2 H1 BE PAS 20 pas 23 PBS zT PB6 y1 R4 PBO pas 21 PB1 3 bp pag 22 4 7 455K 10MEG PCO 5 Bee s 20 PA6 PBO 4 ES e 21 PA5 3 PA4 5 VDD Gi per pA 119 PA7 vDD PCO pas 22 PA2 4 21 PAS ag x2 ppp 18 PB2 VDD ba L3 PAY a PAG 1 8 PB3 17 PB3 x2 7 OSC2 DES 18 PB2 PAZ 16 4 1 8 17 PB3 PB3 X2 T E pets PBs C9 GND ol 0201 583 ie PB2 14 6 RES 10 15 5 PB1 VDD RE Beso 9104 Par ia PB6 PBO A RES NC2 12 NC PB7 13 PB7 GND
5. then 48 underlined alternately every 1sec Mode 4 Press Key S6 Display the corresponding key DATA CODE lighted 50 is shown in Figure 7 If mode 3 is selected after the first time the valid code is received the DEMO KIT will display the CUSTOM CODE continuously until the display mode is changed and a valid code is received Note that to determine whether a valid code is received or not users can only tell it by the light flash of the DS66 e pt HOLTEK B 18 5 mj mj w wj e o TEK P d w 2 01 18 28 8 8 0 8 18 w w w ww 5 18 8 18 lw w 8 CE w S 89 w 8 054 5 9 18 Figure 6 Display Custom Code HOLTEK wow m A Sj e m i T e Figure 7 Display Data Code HOLTEK Remote Control DEMO KIT User s Guide On the receiver part of the DEMO KIT there are two special LEDs DS65 and DS66 The DS65 LED flashing is controlled by the hardware circuit whenever there is Infrared signal detected at the sensor Refer to the circuit diagram of the receiver part The DS66 LED illumination is controlled by the MCU if the code is valid otherwise the DS66 LED remains off see Figure 8 below DS66 11 avg R27 5 910 A DS65 Figure 8 Two special LEDs After the receiver display mode setting is completed user can start to use the DEMO
6. HOLTEK f Remote Control DEMO KIT User s Guide Remote Control DEMO KIT User s Guide Introduction This DEMO KIT is a set of Infrared transmitter and receiver wherein NEC Infrared format code is implemented refer to Figure 1 below The receiver part receives and decodes the keypad com mands and changes the display mode per function keys This User s Guide describes mainly the receiver functions MCUs The HT48RA0 1 is used in the transmitter part and the HT48R10A 1 is used in the receiver part Code Format This DEMO KIT employs the NEC format code fr 108ms i fr 108ms i gt X NEC Format Code n 9ms 4 5ms bb Lead Code Custom Code 8 Data Code 8 Data Code i 2 5ms Repeat Code Bit 0 Bit 1 0 56ms 1 0 56ms 1 4 k i 4 i 2 25ms Figure 1 NEC Format Code HOLTEK Remote Control DEMO KIT User s Guide DEMO KIT Outline The DEMO KIT consists of a remote control transmitter part left and a receiver part right as shown in the figure below Figure 2 DEMO KIT Outline Usage Power Supply The power supply to both the transmitter and receiver part could come from any of the three sources 3 battery cells a 9 volt battery or a 9 volt DC power supply Choose the power supply and the corre
7. ct switch settings on the DEMO KIT see Figure 3 below Main Power Switch mo rag 1 e UN R23 Power Selection Switch D 9V Battery Supply 9V Power Jack Figure 3 Power Supply Switches HOLTEK Remote Control DEMO KIT User s Guide Note Valid Selection Key DS66 Valid De code Indicator Power Selection Switch 3 Battery Cells 4 5V 9 volt Battery 5V 9 volt DC Power Supply Not valid Getting Started Turn on the main switch first and then select the receiver display mode by pressing the S3 S6 while the S7 S10 are reserved for future use see Figure 4 below Figure 4 Display Mode Selection Keys Display Modes The display area is an 8x8 LED array see Figure 5 below lt 051 052 053 054 1 0510 0511 0512 uw osis 0519 0520 B 0526 27 0528 pev 53 0536 ur 0544 Figure 5 LED Display Array HOLTEK Remote Control DEMO KIT User s Guide Note The available display modes are Mode 1 Press Key 3 The LED corresponding to the emitter key position will light up as shown in Fig ure 5 when the S21 switch of the emitter is pressed Mode 2 Press Key S4 The LED with the mirror position to the emitter key array will light up Mode 3 Press Key S5 Display the CUSTOM CODE alternately at a 1sec rate with the lower byte code underlined In this DEMO KIT the CUSTOM CODE is 2C48H so it will display 2C first and
8. ny d Remote MCU PCO EN GND a H24 DICE Writer face amp ext face Reset Pull high Resister n VDD VDD 092990 T 01019019190 GND GND DD SSeces 099999 099009 0 S E es D E EE PB7 10 Remote Control DEMO KIT User s Guide HOLTEK Receiver Part ug WRITER FACE ppe 24 P6 poz 23 pag 22 21 PAS po pas R17 Yi 10 4M PAT 2 x OSC2 PC4 17 oscupcs 77 ve ee Rees RES c2 p TE ps p 5 81 5 IT VCC 45V a 104 82 c BI Battery vec c5 VCC VCC VCC GND o R20 1K 104 Rai HT48R10A 1 DIP u1 HT48R10A 1 DICE R22 Se ee DS65 pes 1 124 PB 1 24 Pel 1 181 57 LED m Do diem m n Zee P5 23 ES Do PBS 1 Y os pas 3 2 PA 3 22 Pag 3 7 N pao PM pt P ot pas pao ENDS Des 00 zd PAS tbo pas 0 pas Siam ae N Q0 E m e Se Dm e P zx vec zm n 8050 gt par 9 PB3 7 18 x pes
Download Pdf Manuals
Related Search
Related Contents
中継ボックス(AE-101A) none 28F Instructions / Assembly 1) attestation d examen de type Manual - RayBiotech, Inc. USB Protocol Suite™ 3.80 Build 800 Samsung SPD-400 decoder CDA CI230SI washing machine DOC TECHNIQUE ( 704 Ko) DryGuy THERMANATOR DG2 User's Manual Copyright © All rights reserved.
Failed to retrieve file