You are on page 1of 8

HT6230

Infrared Remote Encoder


Features
· Operating voltage: 2.4V~5.2V (1/2 system frequency and 1/4 duty cycle)
· 32 system codes, each system with · Single pin oscillator
64 command codes · 429kHz resonator system clock
· Programmable transmission codes · Test pins available
· Biphase transmission method · 28-pin SOP package
· Generated modulation output data

Applications
· Televisions and video cassette recorder · Car door controllers
controllers · Security systems
· Garage door controllers · Other remote control systems

General Description
The HT6230 is designed as infrared remote en- keys and to each key is assigned one program-
coder, usually applied to TV systems. A total of mable code. The code is programmable by mask
2048 different commands can be generated and option. Legal and illegal key operation can be
arranged into 32 systems where each system distinguished.
contains 64 different commands. There are 96

Block Diagram

P a r a lle l
R C 1 3
O S C O S C 3 ´ 2 1 2 D iv id e r T o S e r ia l
C o n v e rte r

T T 1 R e s e t
T e s t
A c tio n O u tp u t
M o d e G e n e ra to r S ta g e C O D E
T T 2

M o d e
M S M o d u la tio n
S e le c tio n C o n tro l
O u tp u t M C O D E
U n it S ta g e

Z IN 3
Z -k e y Z -k e y
E n c o d e r P A L
Z IN 0
D R S 7
Z -D R S K e y S c a n
X IN 7 C o m m a n d D r iv e r
P A L
X -k e y A n d D e c o d e r
X -k e y
E n c o d e r S y s te m X -D R S D R S 0
P A L C o d e L a tc h
X IN 0 P A L

V S S V D D

1 April 19, 2000


HT6230

Pin Assignment Pad Assignment

X IN 7

X IN 6
X IN 5
V D D

X IN 4
Z IN 0

X IN 3
Z IN 1

M S
X IN 7 1 2 8 V D D
M S 2 2 7 X IN 6
1 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1
Z IN 0 3 2 6 X IN 5
Z IN 1 4 2 5 X IN 4
Z IN 2 5 2 4 X IN 3 2 0 X IN 2
Z IN 3 6 2 3 X IN 2 Z IN 2 2 1 9 X IN 1
M C O D E 7 2 2 X IN 1
Z IN 3 3
C O D E 8 2 1 X IN 0 X IN 0
1 8
D R S 7 9 2 0 T T 1 M C O D E 4
(0 ,0 ) 1 7 T T 1
D R S 6 1 0 1 9 T T 2
D R S 5 1 1 1 8 O S C 1 6 T T 2
D R S 4 1 2 1 7 D R S 0 C O D E 5
D R S 3 1 3 1 6 D R S 1
V S S 1 4 1 5 D R S 2 D R S 7 6

H T 6 2 3 0 D R S 6 7
2 8 S O P
D R S 5 8 9 1 0 1 1 1 2 1 3 1 4 1 5

D R S 4

D R S 3

V S S

D R S 2

D R S 1

D R S 0

O S C
2
Chip size: 1605 ´ 1910 (mm)
* The IC substrate should be connected to VDD in the
layout artwork.

Pad Coordinates Unit: mm

Pad No. X Y Pad No. X Y


1 -570.19 817.68 15 605.12 -817.68
2 -662.85 442.16 16 653.07 -75.59
3 -662.85 300.74 17 653.07 65.84
4 -662.85 120.29 18 653.07 207.26
5 -662.85 -147.93 19 653.07 437.29
6 -662.85 -395.02 20 653.07 578.71
7 -662.85 -536.45 21 561.23 817.68
8 -644.16 -817.68 22 419.80 817.68
9 -429.58 -817.68 23 278.37 817.68
10 -288.15 -817.68 24 136.94 817.68
11 -98.77 -817.68 25 -4.48 817.68
12 107.68 -817.68 26 -145.91 817.68
13 249.11 -817.68 27 -287.34 817.68
14 463.69 -817.68 28 -428.76 817.68

2 April 19, 2000


HT6230

Pad Description
Internal
Pad No. Pad Name I/O Description
Connection
1~3 ZIN1~ZIN3 CMOS with
I Detect inputs from Z-key matrix
28 ZIN0 PMOS Pull-high
Tri-state Generate modulation output data code with
4 MCODE O
CMOS 1/12 system frequency and 1/4 duty cycle
Tri-state
5 CODE O Generates output data code
CMOS
Open Drain
6~10 DRS7~DRS3 O Drive for key scanning
NMOS
11 VSS ¾ ¾ Negative power supply, ground
Open Drain
12~14 DRS2~DRS0 O Drive for key scanning
NMOS
15 OSC I CMOS Oscillator input
Switch to four operating modes:
0 0 normal mode
16~17 TT2~TT1 I CMOS 0 1 test mode 1
1 0 test mode 2
1 1 Reset
CMOS with
18~24 XIN0~XIN6 I Detect inputs from X-key matrix
PMOS Pull-high
25 VDD ¾ ¾ Positive power supply
CMOS with
26 XIN7 I Detect input from X-key matrix
PMOS Pull-high
Select system mode (Two modes provided:
27 MS I CMOS One-key system mode and Two-key system
mode)

Approximate internal connection circuits


· Input terminal

P in : X IN 0 ~ X IN 7 , Z IN 0 ~ Z IN 3
P in : M S , T T 1 , T T 2 , O S C
( w ith p u ll- h ig h r e s is to r )
V D D V D D
V D D

3 April 19, 2000


HT6230

· Output terminal

P in : D R S 0 ~ D R S 7 P in : C O D E , M C O D E
V D D

E N B
D A T A IN

Absolute Maximum Ratings


Supply Voltage..............................-0.3V to 5.5V Storage Temperature.................-50°C to 125°C
Input Voltage .................VSS-0.3V to VDD+0.3V Operating Temperature ..............-25°C to 75°C

Note: These are stress ratings only. Stresses exceeding the range specified under ²Absolute Maxi-
mum Ratings² may cause substantial damage to the device. Functional operation of this de-
vice at other conditions beyond those listed in the specification is not implied and prolonged
exposure to extreme conditions may affect device reliability.

Electrical Characteristics Ta=25°C

Test Conditions
Symbol Parameter Min. Typ. Max. Unit
VDD Conditions
VDD Supply Voltage ¾ ¾ 2.4 ¾ 5.2 V

VOL1 DRS0~DRS7 Output IOL1=0.3mA


3V ¾ ¾ 0.3 V
Voltage Low

VOL2 CODE, MCODE Output IOL2=0.6mA


3V ¾ ¾ 0.3 V
Voltage Low

VOH CODE, MCODE Output


3V IOH=-0.4mA VDD-0.3 ¾ ¾ V
Voltage High

RPH XIN0~XIN7 and TT1=TT2=MS=Low


3V ¾ 27 ¾ kW
ZIN0~ZIN3 Pull-high VI=0V
Oscillator Frequency
¾ ¾ 429 ¾ kHz
Operational
fOSC 3V
Free-running ¾ 30 50 100 kHz

4 April 19, 2000


HT6230

Functional Description
cent state both CODE and MCODE are high
Key operation
impedance.
When MS is low, the legal key operation is that
only one ZIN or XIN can be connected to one Key scan drivers
DRS driver and if more than one XIN, ZIN or
The key scan drivers DRS0 to DRS7 are open
both are pressed at the same time then the key
drain NMOS and the outputs of these are all
operation is recognized as illegal; hence, the os-
low in quiescent state. When a legal key opera-
cillator will not start. When MS is high, the le-
tion is detected, the debounce cycle starts and
gal key operation is that exactly one ZIN and
at the end of the debounce cycle, the DRS out-
one XIN are connected to two DRS drivers and
puts are high impedance. Furthermore, the
other cases of key operation are all considered
scanning cycle starts and DRS outputs take
as illegal.
turns to switch to low state.
However, when one XIN or ZIN is connected to
more than one DRS, the last key scan driver is Programmable output data code
to generate output data code.
The output data code corresponding to each key
is programmable by hardware mask option.
Format of transmission code
The PAL circuit is necessary for this purpose.
The output pin CODE transmits the data code
as a code format, as shown at the bottom figure. Operation mode
The method of transmitting one code bit is called · One-key system mode
biphase transmission and is represented by the
The device enters this mode by switching the
following fig:
MS input pin to low state. The pull-high resis-
tors are connected to all XIN and ZIN inputs
so that all sense inputs are at high state, until
pulled to low state by key operation. In this
mode the legal key operation is that only one
lo g ic 0 lo g ic 1 ZIN or XIN can be connected to one DRS.
When a sense input detects a low level, an en-
8 able signal is generated to latch the system or
Where one code bit time is 3´2 ´TOSC. The out-
put signal of the MCODE pin is the signal of the command latches. If the sense input belongs
generated output code modulated by 1/12 of the to ZIN, the corresponding system code is gen-
system frequency with 1/4 duty cycle. In quies- erated and the command code is defined as all

o n e c o d e

1 1 M S B L S B M S B L S B

D e b o u n c e c y c le S c a n S ta rt
( 1 6 b it- tim e ) c y c le b its 5 s y s te m b its 6 c o m m a n d b its
s ta rt C o n tro l
b it

C o d e 1 C o d e 2

1 6 b it- tim e 4 8 b it- tim e 1 6 b it- tim e


s ta rt
R e p e titio n tim e ( 6 4 b it- tim e )

Transmission code format

5 April 19, 2000


HT6230

logic 1. If the sense input comes from XIN, the · During Tsep and debounce time, the device
corresponding command code together with will reset immediately if a key is released.
the system code stored in the system latches · During Scan cycle in Tcode, a reset will occur
are generated.
if a key is released in three cases described be-
· Two-key system mode low:
The device goes into this mode by switching ¨ When one of the key scan drivers is in the
the MS input pin to high state. The pull-high low state
resistors are only connected to XIN inputs ex- ¨ Before that key has been detected
cept the first scan cycle. In the first scan cycle, ¨ When MS is high and there is no wired con-
there only exists pull-high resistors in ZIN in- nection in Z-key matrix
puts. In this mode, the legal key operation is
that exactly one XIN and one ZIN are con- Test pins (TT1 and TT2)
nected to two DRS drivers. In the first scan
duration, it detects which key in Z-key matrix There are four modes by the combination of TT1
is pressed and generates an enable signal to and TT2.
latch the system latches. While in the second TT1 TT2 Mode
scan duration, it detects which key in the
X-key matrix is pressed and generates an en- 0 0 Normal mode
abled signal to latch the command latches. Af- 1 1 Reset
ter being latched, the system and command
codes are transmitted. 1 0 Test mode 1
0 1 Test mode 2
Control bit
A control bit is added after two start bits and
will be complemented if one key is released. The
decoder can decide whether the next code is a
new command or not.

Oscillator
The embedded part of the oscillator is an
RC-oscillation circuit. The OSC pin is the input
terminal of the RC-oscillation circuit and is con-
nected to an external ceramic resonator (429kHz).
A resistor of 6.8kW must be in series with the
resonator. The resonator and resistor are
grounded at one side.

Reset (after key release)


In a complete code repetition time, as shown in
the figure below, the following situation of key
release results in a reset action.

D e b o u n c e
C o d e 1 tim e C o d e 2

T c o d e T s e p T c o d e

R e p e titio n tim e

6 April 19, 2000


HT6230

Application Circuits

V D D

1 2 8
X IN 7 V D D
2 2 7
M S X IN 6
3 2 6
V D D Z IN 0 X IN 5
4 2 5
Z IN 1 X IN 4
In fra -R e d
5 2 4
Z IN 2 X IN 3
6 2 3
4 7 9 Z IN 3 X IN 2
7 2 2
1 k 9 M C O D E X IN 1
8 2 1
C O D E X IN 0
9 2 0
D R S 7 T T 1
1 0 1 9
D R S 6 T T 2
1 1 1 8
D R S 5 O S C
1 2 1 7
D R S 4 D R S 0
1 3 1 6
D R S 3 D R S 1
1 4 1 5
V S S D R S 2
R e s o n a to r (4 2 9 k H z )
H T 6 2 3 0
2 8 S O P 6 .8 k 9

w h e re p u s h - b u tto n s w itc h

7 April 19, 2000


HT6230

Holtek Semiconductor Inc. (Headquarters)


No.3 Creation Rd. II, Science-based Industrial Park, Hsinchu, Taiwan, R.O.C.
Tel: 886-3-563-1999
Fax: 886-3-563-1189
Holtek Semiconductor Inc. (Taipei Office)
5F, No.576, Sec.7 Chung Hsiao E. Rd., Taipei, Taiwan, R.O.C.
Tel: 886-2-2782-9635
Fax: 886-2-2782-9636
Fax: 886-2-2782-7128 (International sales hotline)
Holtek Semiconductor (Hong Kong) Ltd.
RM.711, Tower 2, Cheung Sha Wan Plaza, 833 Cheung Sha Wan Rd., Kowloon, Hong Kong
Tel: 852-2-745-8288
Fax: 852-2-742-8657

Copyright Ó 2000 by HOLTEK SEMICONDUCTOR INC.


The information appearing in this Data Sheet is believed to be accurate at the time of publication. However, Holtek
assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are
used solely for the purpose of illustration and Holtek makes no warranty or representation that such applications
will be suitable without further modification, nor recommends the use of its products for application that may pres-
ent a risk to human life due to malfunction or otherwise. Holtek reserves the right to alter its products without prior
notification. For the most up-to-date information, please visit our web site at http://www.holtek.com.tw.

8 April 19, 2000

You might also like