三合微科股份有限公司 SM5162 SAMHOP Microelectronics Corp. 312 RF ENCODER GENERAL DESCRIPTION FEATURES The SM5162 is a RF remote control encoder paired with SM5172. It utilizes CMOS technology. The chip has 12 bits of 3-state address pins that provides 312 codes. SM5162/ SM5172 pair is suitable for use on remote controller. * CMOS technology * Low power consumption * 12 tri-state pins * Wide range operating voltage, Vcc = 3- 12V * Up to six data bits * High noise immunity APPLICATIONS * Car Security * Garage Door * Ceiling Fan * Home Security/Automatic * Toys PIN ASSIGNMENTS A0 A1 A2 A3 A4 A5 A6/D5 A7/D4 Vss 1 2 3 4 5 6 7 8 9 18 17 16 15 14 13 12 11 10 VDD Dout OSC1 OSC2 TE A11/D0 A10/D1 A9/D2 A8/D3 A0 A1 A2 A3 A4 A5 A6/D5 A7/D4 Vss NC SM5162 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 VDD Dout OSC1 OSC2 TE A11/D0 A10/D1 A9/D2 A8/D3 NC SM5162S Page 1 OCT. 2001 A0 A1 A2 A3 A4 A5 A6/D5 A7/D4 Vss 三合微科股份有限公司 SM5162 SAMHOP Microelectronics Corp. 312 RF ENCODER 1 2 3 4 5 6 7 8 9 VDD Dout OSC1 OSC2 LED A11/D0 A10/D1 A9/D2 A8/D3 18 17 16 15 14 13 12 11 10 A0 A1 A2 A3 A4 A5 A6/D5 A7/D4 Vss NC SM5162-DX 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 VDD Dout OSC1 OSC2 LED A11/D0 A10/D1 A9/D2 A8/D3 NC SM5162S-DX BLOCK DIAGRAM Vss VDD OSC2 System Timing Generator OSC OSC1 A0 A1 A2 A3 A4 A5 A6/D5 A7/D4 A8/D3 A9/D2 A10/D1 A11/D0 TE LED Control Logic Address Code Generator Page 2 Output Driver Dout OCT. 2001 三合微科股份有限公司 SM5162 SAMHOP Microelectronics Corp. 312 RF ENCODER PIN FUNCTION No. Pin Name I/O 1 A0 I 2 A1 I 3 A2 I 4 A3 I 5 A4 I 6 A5 I 7 A6/D5 I/O Function Operation Address input, each pin can be set to "0", "1" , or floating. Address input or data output. 8 A7/D4 I/O 9 VSS POWER 10 A8/D3 I/O 11 A9/D2 I/O Negative power supply. Address input or data output. 12 A10/D1 I/O 13 A11/D0 I/O TE I Enables transmission. LED O LED Output. 15 OSC1 I 16 OSC2 O 17 Dout O 18 VDD POWER 14 Resistor connected between these two pins determine the system clock. Serial output of encoded signals. Positive power supply. Page 3 OCT. 2001 三合微科股份有限公司 SM5162 SAMHOP Microelectronics Corp. 312 RF ENCODER FUNCTION DESCRIPTION 1. Data Format OSC BIT "0" *a BIT "1" 3a a BIT "F" *a is 4 OSC Clock TE Dout 12 bits address Sync. Synchronisation Bit waveform is : a 32a Page 4 OCT. 2001 三合微科股份有限公司 SM5162 SAMHOP Microelectronics Corp. 312 RF ENCODER 2. Frame Format When SM5162 is used for no data, transmitting format is : 12 bits address Sync. Synchronisation Bit waveform is : a 32a When data type of SM5162 is used, address bits will decrease accordingly. For example, in 3 data type where address is 9 bits, transmitting format is : 9 address bits 3 data bits Sync. SM5162/SM5172 has 12 bits including a maximum of 6 data bits. first transmission bit in real signal A0 will be receive first. A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 Sync. According to A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 Sync. SM5172 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 D1 D0 Sync. SM5172-M2/L2 A0 A1 A2 A3 A4 A5 A6 A7 A8 D2 D1 D0 Sync. SM5172-M3/L3 A0 A1 A2 A3 A4 A5 A6 A7 D3 D2 D1 D0 Sync. SM5172-M4/L4 A0 A1 A2 A3 A4 A5 A6 D4 D3 D2 D1 D0 Sync. SM5172-M5/L5 A0 A1 A2 A3 A4 A5 D5 D4 D3 D2 D1 D0 Sync. SM5172-M6/L6 Page 5 OCT. 2001 三合微科股份有限公司 SM5162 SAMHOP Microelectronics Corp. 312 RF ENCODER Single Resistor Oscillator SM5162's oscillator be constructed by connecting a resistor between OSC1 and OSC2 pin. SM5172's OSC frequency must be 1.8 to 5.8 times more than SM5162. Encoder OSC Frequency 100 90 80 R = 510K 70 60 KHz 50 40 R = 1.2 M 30 20 R = 2.7 M R = 3.0 M R = 3.3 M R = 4.3 M 10 0 3 6 9 12 15 VOLTAGE Dncoder OSC Frequency 300 R = 100 K 250 200 110 KHz 100 R = 300 K R = 620 K R = 680 K R = 820 K R = 1.0 M 50 0 3 6 9 12 15 VOLTAGE Suggested oscillator resistor of SM5162/ SM5172: SM5162 4.7M OHM 3.0M OHM 2.2M OHM 1.2M OHM SM5172 820K OHM 620K OHM 300K OHM 180K OHM Page 6 OCT. 2001 三合微科股份有限公司 SM5162 SAMHOP Microelectronics Corp. 312 RF ENCODER ABSOLUTE MAXIMUM RATINGS Parameter Ratings Unit VDD - Vss -0.3 ~ 16 V Input Voltage VI - Vss Vss - 0.3 ~ VDD +0.3 V Output Voltage VO - Vss Vss - 0.3 ~ VDD +0.3 V 500 mW Supply Voltage Maximum power dissipation Symbol Pa Conditions VDD - Vss = 12 V Operating Temperature Topr -20 ~ 70 ℃ Storage Temperature Tstg -40 ~ 125 ℃ Limit Min. Typ. Max. Unit DC ELECTRICAL CHARACTERISTICS Parameter Symbol Conditions Supply Voltage VCC 3 Standby Current ISTB VDD=12V OSC stop AO - A11 open Output Drive Current (Dout) IOH VDD = 5V VOH = 4V VDD = 8V VOH = 6.4V VDD = 12V VOH = 9.6V - 2 - 6 -14 mA Output Sinking Current (Dout) IOL VDD = 5V VOL = 1V VDD = 8V VOL = 1.6V VDD = 12V VOL = 2.4V 5 13 23 mA Page 7 0.02 12 V 0.3 μA OCT. 2001 三合微科股份有限公司 SM5162 SAMHOP Microelectronics Corp. 312 RF ENCODER APPLICATION CIRCUIT VDD A0 A1 A2 A3 A4 A5 A6 A7 Vss VDD Dout OSC1 OSC2 TE A11 A10 A9 A8 VDD DI ROSC ANT RF GND TEB SM5162 VDD A0 A1 A2 A3 A4 A5 A6 A7 Vss VDD Dout OSC1 OSC2 TE A11 A10 A9 A8 VDD DI ROSC RF GND ANT TEB SM5162 RF : Module reference to Page11 Page8 OCT. 2001 三合微科股份有限公司 SM5162 SAMHOP Microelectronics Corp. 312 RF ENCODER APPLICATION CIRCUIT VDD D5 D4 D3 D2 D1 D0 VD D DI ANT RF GND To SM5162 D5 D4 D3 D2 D1 D0 10KΩ*6 A0 A1 A2 A3 A4 A5 D5 D4 Vss VDD Dout OSC1 OSC2 TE D0 D1 D2 D3 ROSC SM5162 Page 9 OCT. 2001 三合微科股份有限公司 SM5162 SAMHOP Microelectronics Corp. 312 RF ENCODER APPLICATION CIRCUIT VDD D5 D4 D3 D2 D1 D0 VDD DI To SM5162 ANT RF GND D0 D1 D2 D3 D4 D5 A0 A1 A2 A3 A4 A5 D5 D4 Vss VDD Dout OSC1 OSC2 LED D0 D1 D2 D3 ROSC SM5162 - DX Page 10 OCT. 2001 三合微科股份有限公司 SM5162 SAMHOP Microelectronics Corp. 312 RF ENCODER APPLICATION CIRCIUT VDD 10μH 25P MPSH10 47K From Encoder's O/P 5P Page 11 OCT. 2001 三合微科股份有限公司 SM5162 SAMHOP Microelectronics Corp. 312 RF ENCODER ORDERING INFORMATION Part No. Package Part No. Package SM5162 18 Pin DIP SM5162S 20 Pin SOP Logo Product No. Empty: DIP TYPE S: SO Package - General Type D2: Two data output type D3: Three data output type D4: Four data output type SM5162 S - DX xxx xx Serial Number Date Code ESD Protection Mark Page 12 OCT. 2001