Silan Semiconductors
REMOTE CONTROL ENCODER
DESCRIPTION
The SC5262 is a remote control encoder paired with SC5272 utilizing CMOS technology. It encodes data and address pins into a serial coded waveform suitable for RF or IR modulation. SC5262 has a maximum of 12-bits of tri-state address pins providing up to 531,441(or 312) address codes; thereby, drastically reducing any code collision and unauthorized code scanning possibilities.
SC5262
DIP-18
FEATURES
* Low power consumption and very high noise immunity * Up to 12 tri-state code address pins or 6 data pins * Wide operating voltage range(Vcc=3V ~ 15V) * Single resistor oscillator * Latch or Momentary output type
SOP-20
APPLICATION
* Home/automation security system * Remote control toys or for industrial use * Remote control fan * Garage door controller
DIP-20
ORDERING INFORMATION
SC5262X-XX
RF: RF Applicatant, normally omitted IR: IR Applicatant S: SOP-20 Package D: DIP-20 Package Omitted: DIP-18 Package
PIN CONFIGURATION
A0 A1 A2 A3 18 Pin Package 20 Pin Package A4 A5 A6/D5 A7/D4 Vss NC
1
Vcc Dout OSC1 OSC2
SC5262
TE A11/D0 A10/D1 A9/D2 A8/D3 NC
HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD
Rev: 1.0 2000.12.31
1
Silan Semiconductors
BLOCK DIAGRAM
OSC2 OSC1 TE Dout
SC5262
14 17
15
16
18 Vcc OSC
System Timing
Control Logic
Code Generation
9 Vss
Address
1
A0
2
A1
3
A2
4
A3
5
A4
6
A5
7
A6/ D5
8
A7/ D4
10
A8/ D3
11
A9/ D2
12
13
A10/ A11/ D1 D0
The block diagram is for DIP-18(hereinafter is the same)
ABSOLUTE MAXIMUM RATINGS(Ta=25°C )
Characteristic
Supply Voltage Input Voltage Output Voltage Maximum Power Dissipation(Vcc=12V) Operating Temperature Storage Temperature
Symbol
Vcc Vi Vo Pa Topr Tstg
Value
-0.3 ~ 16.0 -0.3 ~ Vcc+0.3 -0.3 ~ Vcc+0.3 300 -20 ~ +70 -40 ~ +125
Unit
V V V mW °C °C
ELECTRICAL CHARACTERISTICS
(Ta=25°C,Vcc=12V,unless otherwise specified)
Characteristic
Supply Voltage Supply Current
Symbol
Vcc Icc
Test Condition
Vcc=12V,OSC stops A0~ A11 Open Vcc=5V,VOH=3V Vcc=8V,VOH=4V Vcc=12V,VOH=6V Vcc=5V,VOL=3V Vcc=8V,VOL=4V Vcc=12V,VOL=6V
Min
3
Typ.
0.02
Max
15 0.3
Unit
V µA mA mA mA mA mA mA
Dout Output driving Current
IOH
Dout Output sinking Current
IOL
-3 -6 -10 2 5 9
HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD
Rev: 1.0 2000.12.31
2
Silan Semiconductors
PIN DESCRIPTION
Pin No. 18 PIN 20 PIN
1~6 1~6
SC5262
I/O
I
Pin Name
A0~A5
Description
Code Address pins No. 0~5. These six tri-state pins are detected by SC5262 to determine the encoded waveform bit 0 ~bit 5. Each pin can be set to “0”,”1”,”f”(floating). Code Address pinsNo.6~11/data pins No.5~0. These six tri-state pins are detected by SC5262 to determine the encoded waveform bit 6 ~bit 11.When these pins are used as address pins, they can be set to “0”,”1”,”f”.When they are used as data pins ,they can be set only to “0”,”1”. Transmission Enable. Active Low Signal.SC5262 outputs the encoded waveform to DOUT when this pins is pulled to LOW. A resistor connected between Oscillator Pin No.1 these two pins determine the Oscillator Pin No.2 fundamental frequency of SC5262. Data Output Pin. The encoded waveform is serially outputted to this pin. When SC5262 is not transmitting, DOUT outputs low(Vss) voltage. Positive Power Supply Negative Power Supply Not Connected
7~8 10~13
7~8 12~15
A6/D5~A11/D0
I
14 15 16 17 18 9 --
16 17 18 19 20 9 10~11
TE
I O I O ----
OSC1 OSC2 DOUT Vcc Vss NC
FUNCTIONAL DESCRIPTION
The SC5262 encodes the code address and data set at A0~ A5 and A6/D5 ~ A11/D0 into a special waveform and outputs it to the Dout when TE is pulled to “0” (Low state). This waveform is fed to either the RF modulator or the IR transmitter for transmission. The Transmitted radio frequency or infrared ray is received by the RF demodulator or IR receiver and reshaped to the special waveform. SC5272 is then used to decode the waveform and set the corresponding output pins. Thus completing a remote control encoding and decoding function.
1. RF OPERATION Code Bits
A code bit is the basic component of the encoded waveform, and can be classified as either an AD(Address/Data) Bit or a SYNC(Synchronous) Bit. An AD bit can be designated as bit “ 0 ”, “ 1 ” or “ f ” if it is in low, high or floating state respectively. One bit waveform consists of two pulse cycles. Each pulse cycle has 16 oscillating time periods. For further details, please refer to the diagram below: The Synchronous bit waveform is 4 bits long with 1/8 bit width pulse. Please refer to the diagram below:
1/8 bit width=4a
4 bit width=128a Note: 1bit =32a
HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD
Rev: 1.0 2000.12.31
3
Silan Semiconductors
Code word
SC5262
A group of Code Bits is called a Code Word. A Code Word consists of 12 AD bits followed by one Sync. Bit. The 12 AD bits are determined by the corresponding states of A0~A5 and A6/D5 ~ A11/D0 pins at the time of transmission. When Data Type of SC5262 is used , the address bits will decrease accordingly. For example, in the 3 Data Type where the address has 9 bits, the transmitting format is: 9 address bits 3 Data bits Sync. Bit
SC5262/SC5272 has a maximum of 12 Address Bits including the 6 Address/Data bits. The following diagram shows the code bits with their corresponding pins. A0 A1 A2 A3 A4 A5 A6 /D5 A6 A6 A6 A6 A6 A6 D5 A7 /D4 A7 A7 A7 A7 A7 D4 D4 A8 /D3 A8 A8 A8 A8 D3 D3 D3 A9 /D2 A9 A9 A9 D2 D2 D2 D2 A10 /D1 A10 A10 D1 D1 D1 D1 D1 A11 /D0 A11 D0 D0 D0 D0 D0 D0 Sync Sync Sync Sync Sync Sync Sync
0 Data 1 Data 2 Data 3 Data 4 Data 5 Data 6 Data
A0 A0 A0 A0 A0 A0 A0
A1 A1 A1 A1 A1 A1 A1
A2 A2 A2 A2 A2 A2 A2
A3 A3 A3 A3 A3 A3 A3
A4 A4 A4 A4 A4 A4 A4
A5 A5 A5 A5 A5 A5 A5
The Code Bits A0~A5 and A6/D5 ~ A11/D0 are determined by the states of A0 ~ A5 and A6/D5 ~A11/D0 pins. For example, when the A0(pin 1) is set to “ 1 ”(Vcc), the code bit A0 is synthesized as “ 1 ” bit. In the same manner, when it (A0 pin) is set to “ 0 ”( Vss) or left floating, the Code Bit A0 is synthesized as a “ 0 ” or “ f ” bit respectively.
Code Frame
A Code Frame consists of 4 continuous code Words. When SC5262 detects “0” on the TE (meaning , the TE is active “low”), it outputs a Code frame at Dout. If TE is still active at the time the Code Frame transmission ends. SC5262 outputs another Code Frame. It should be noted that the Code Frame is synthesized at the time of transmission.
TE
1 frame(=4 word) 1 frame 1 frame
Dout
Single Resistor Oscillator
The Build-in oscillator circuitry of SC5262 allows a precision oscillator to be constructed by connecting an external resistor between OSC1 and OSC2 pins. For SC5272 to decode correctly the received waveform, the oscillator frequency of SC5272 must be 2.5 ~8 times that of transmitting SC5262. The typical oscillator frequency with various resistor values for both SC5262 and SC5272 are shown below:
HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD
Rev: 1.0 2000.12.31
4
Silan Semiconductors
Encoder OSC Frequency
100 1000
SC5262
Decoder OSC Frequency
R=100k R=240k
R=510k R=1M
Frequency (kHz)
R=2M R=3.3M
10
Frequency (kHz)
100
R=510k R=1M R=2M
R=4.7M
10
1 0 3 6 9 12 15
1 0 3 6 9 12 15
Supply Voltage (V)
Supply Voltage (V)
Suggested Oscillator resistor values are shown below:
SC5262 4.7M 3.3M 1.2M SC5272 820k 680k 200k
2. IR OPERATION
In the IR Type of operation, the functions are similar to the above descriptions except for the output waveform that has a carrier frequency of 38kHz. Details are as follow.
Code Bits
The Code Bits are further modulated with a 38kHz carrier frequency and can be”0”,”1” or “ f ” bit. Their waveform are shown below:
OSC "0" "1" "f" Sync
620λ 20λ 60λ 160λ
Note:λ=2 clock lengths
Code Word
A Code Word is made up of code bits and the format is the same as that of the RF Code Word.
Code Frame
Likewise, a Code Frame is made up of Code Words and the format is the same as that of RF type of operation.
HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD
Rev: 1.0 2000.12.31
5
Silan Semiconductors
Oscillator
SC5262
The oscillator frequency for the IR type of operation is twice the carrier frequency. Thus, the oscillator frequency should be kept at 76kHz. A 430k~470kΩ oscillator resistor between OSC1 and OSC2 pins is recommended. It should be noted that the carrier is a 50% duty cycle frequency.
OPERATION FLOW CHART
Power ON
Stand-by Mode
No
TE Enable? Yes 4 Words of Address/Data transmitted
No
TE Enable? Yes
HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD
Rev: 1.0 2000.12.31
6
Silan Semiconductors
TYPICAL APPLICATION CIRCUIT
SW0 LED SW1 SW2 10µH 1N4148×4 2.7k ×4 SW3
SC5262
+12V
25pF
5pF 4.7M
MPSH10
4.7k 10k ×4
18
17
16
15
14
13
12
11
10
SC5262
1 2 3 4 5 6 7 8 9
UHF Band 4 Data Transmitter Circuit is recommended.
LED 10µH
25pF
+12V
5pF 4.7M SW
MPSH10
4.7k
18
17
16
15
14
13
12
11
10
SC5262
1 2 3 4 5 6 7 8 9
UHF Band Address-only(o data) Transmitter Circuit is recommended.
HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD
Rev: 1.0 2000.12.31
7
Silan Semiconductors
LED 10µH SW
SC5262
+12V
25pF 5pF 4.7M
MPSH10
4.7k
18
17
16
15
14
13
12
11
10
SC5262
1 2 3 4 5 6 7 8 9
UHF Band Address-only(o data) Zero-stand-by Transmitter Circuit is recommended.
SW0 SW1 SW2 SW3 1N4148×4 4.7 IR 47µF
+4.5V
Rosc
2SC1815×2
430k
~ 470k
18
17
16
15
14
13
12
11
10
2.7k ×4
SC5262-IR
1
1N4148 1N4148 SW4 SW5 2.7k
2
3
4
5
6
7
8
9
2.7k
Infrared Ray 6-data circuit. Adjust Rosc to get 38kHz carrier pulse at Dout pin is recommended.
HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD
Rev: 1.0 2000.12.31
8
Silan Semiconductors
PACKAGE OUTLINE
SC5262
UNIT: mm
2.54
DIP-18-300-2.54
6.40
1.50 22.95
7.62
15 degree
3.51
0.46
DIP-20-300-2.54
2.54
3.30
5.08
0.25
UNIT: mm
6.40
1.50 22.95
7.62
15 degree
3.51
0.46
HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD
Rev: 1.0 2000.12.31
9
3.30
5.08
0.25
Silan Semiconductors
SOP-20-225-1.27
SC5262
UNIT: mm
10.45
7.70
1.27 18.02 17.62
0.41
HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD
Rev: 1.0 2000.12.31
10
1.95
9.53