Silan Semiconductors SC5262 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. 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 DIP-20 * Home/automation security system * Remote control toys or for industrial use * Remote control fan * Garage door controller 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 1 Vcc Dout A1 OSC1 A3 OSC2 SC5262 18 Pin Package 20 Pin Package A2 A4 A5 TE A11/D0 A6/D5 A10/D1 A7/D4 A9/D2 Vss A8/D3 NC NC HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 1 2000.12.31 Silan Semiconductors SC5262 BLOCK DIAGRAM OSC2 OSC1 15 16 TE Dout 14 17 18 Vcc OSC System Timing Control Logic 9 Vss Code Generation Address 1 2 3 4 5 6 7 8 10 11 12 13 A0 A1 A2 A3 A4 A5 A6/ D5 A7/ D4 A8/ D3 A9/ D2 A10/ A11/ D1 D0 The block diagram is for DIP-18(hereinafter is the same) ABSOLUTE MAXIMUM RATINGS(Ta=25°C ) Characteristic Symbol Value Unit Supply Voltage Input Voltage Output Voltage Maximum Power Dissipation(Vcc=12V) Operating Temperature Storage Temperature Vcc Vi Vo Pa Topr Tstg -0.3 ~ 16.0 -0.3 ~ Vcc+0.3 -0.3 ~ Vcc+0.3 300 -20 ~ +70 -40 ~ +125 V V V mW °C °C ELECTRICAL CHARACTERISTICS (Ta=25°C,Vcc=12V,unless otherwise specified) Characteristic Symbol Supply Voltage Supply Current Vcc Dout Output driving Current IOH Dout Output sinking Current IOL Icc Test Condition Min Typ. 3 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 0.02 Max Unit 15 V 0.3 µA -3 -6 -10 2 5 9 mA mA mA mA mA mA HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 2 2000.12.31 Silan Semiconductors SC5262 PIN DESCRIPTION Pin No. 18 PIN 20 PIN Pin Name I/O 1~6 1~6 A0~A5 I 7~8 10~13 7~8 12~15 A6/D5~A11/D0 I 14 16 TE I 15 17 OSC1 O 16 18 OSC2 I 17 19 DOUT O 18 9 -- 20 9 10~11 Vcc Vss NC ---- 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 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 3 2000.12.31 Silan Semiconductors SC5262 Code word 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 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 A1 A2 A2 A2 A2 A2 A2 A2 A2 A3 A3 A3 A3 A3 A3 A3 A3 A4 A4 A4 A4 A4 A4 A4 A4 A5 A6 /D5 A7 /D4 A8 /D3 A5 A5 A5 A5 A5 A5 A5 A6 A6 A6 A6 A6 A6 D5 A7 A7 A7 A7 A7 D4 D4 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 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 4 2000.12.31 Silan Semiconductors SC5262 Encoder OSC Frequency Decoder OSC Frequency 100 1000 R=510kΩ R=100kΩ R=240kΩ Frequency (kHz) Frequency (kHz) R=1MΩ R=2MΩ R=3.3MΩ 10 R=4.7MΩ 1 100 R=510kΩ R=1MΩ R=2MΩ 10 1 0 3 6 9 12 15 0 3 Supply Voltage (V) 6 9 12 15 Supply Voltage (V) Suggested Oscillator resistor values are shown below: SC5262 SC5272 4.7MΩ 820kΩ 3.3MΩ 680kΩ 1.2MΩ 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: 160λ OSC 20λ "0" 60λ "1" "f" 620λ Sync 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 5 2000.12.31 Silan Semiconductors SC5262 Oscillator 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 6 2000.12.31 Silan Semiconductors SC5262 TYPICAL APPLICATION CIRCUIT SW0 LED SW1 SW2 10µH 2.7kΩ×4 SW3 1N4148×4 25pF +12V 5pF 4.7MΩ MPSH10 4.7kΩ 18 17 16 15 14 13 12 11 10 7 8 9 10kΩ×4 SC5262 1 2 3 4 5 6 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 7 8 9 SC5262 1 2 3 4 5 6 UHF Band Address-only(o data) Transmitter Circuit is recommended. HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 7 2000.12.31 Silan Semiconductors SC5262 LED SW 10µH +12V 25pF 4.7MΩ 5pF 4.7kΩ MPSH10 18 17 16 15 14 13 12 11 10 7 8 9 SC5262 1 2 3 4 5 6 UHF Band Address-only(o data) Zero-stand-by Transmitter Circuit is recommended. SW0 SW1 SW2 SW3 1N4148×4 +4.5V 4.7Ω 47µF IR Rosc 2SC1815×2 430kΩ ~ 470kΩ 18 17 16 15 14 13 12 11 10 7 8 9 2.7kΩ×4 SC5262-IR 1 2 3 4 5 6 1N4148 2.7kΩ 1N4148 SW4 2.7kΩ SW5 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 8 2000.12.31 Silan Semiconductors SC5262 PACKAGE OUTLINE DIP-18-300-2.54 UNIT: mm 6.40 7.62 0.25 2.54 1.50 15 degree 3.30 5.08 3.51 22.95 0.46 DIP-20-300-2.54 UNIT: mm 6.40 7.62 0.25 2.54 1.50 15 degree 3.30 5.08 3.51 22.95 0.46 HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 9 2000.12.31 Silan Semiconductors SC5262 1.27 9.53 7.70 UNIT: mm 10.45 SOP-20-225-1.27 0.41 18.02 1.95 17.62 HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 10 2000.12.31