Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 DESCRIPTION PT2241 is a tri-state programmable encoder utilizing CMOS Technology specially designed for remote control applications. It encodes address and data codes into a coded waveform suitable for RF modulation and can provide up to 311 Address which may be designed by a one-time programmable process. PT2241 can support up to 4 Data Bits, thereby reducing inventory pressures. It is housed in 8 or 16-pin DIP or SOP Package. The pin assignments and application circuit are optimized for easy PCB Layout and cost saving advantage. FEATURES • • • • • • • • • • • CMOS technology Low power consumption Least external components High noise immunity Single resistor oscillator Operating voltage: 1.8~15V Up to 4 data pins Up to 311 address codes One-time programmable process Available in SOP or DIP package Reduction of inventory pressures APPLICATIONS • • • • • Burglar alarm system Car security system Car/Garage door controller Home/Office security system Personal alarm system PT2241 V1.5 -1- March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 BLOCK DIAGRAM OSC OSC S yste m Tim in g V SS V DD PGM Co n tr o l Lo g i c D0 D1 D2 D3 Da ta Fu se D a ta / A d dr e ss Co d e G e n er a ti o n DO U T S 0 S 1 V PG PT2241 V1.5 -2- March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 PIN CONFIGURATION 8 PINS VS S 1 8 VDD VP G 2 7 DOUT PG M 3 6 O SC N0/CO DE 4 5 D0 /CLK P T 2 24 1 P 16 PINS VS S 1 16 S0 S1 2 15 VD D VP G 3 14 DOUT N3 4 13 O SC D3 5 12 D0/CLK N2 6 11 N0/CO DE D2 7 10 D1 PG M 8 9 N1 P T 2 24 1 P - 1 6 PT2241 V1.5 -3- March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 PIN DESCRIPTION Pin Name VSS I/O - S1, S0 I VPG I D0/CLK I D1, D2, D3 I N0/CODE I N1, N2, N3 I PGM I OSC I DOUT O VDD - PT2241 V1.5 Description Negative power supply Select pin Normal=”High” When these pins are set to “Low”, they are used to select the number of data pins Voltage program pin Normal=”Floating” When this pin is set to “Low”, the programmed “Low” bits can be burnt-out Data/Clock input pin Normal=”Low” (Internal pull-low resistor) When PGM=”High”, this pin functions as a Clock input terminal When the PGM=”Low”, this pin functions as a Data input terminal Data pins (Internal pull-low resistor) These pins are determined by the state of S1 and S0 Normal=”Low” (Internal pull-low resistor) When PGM=”High”, this pin functions as a Code input terminal Normally connected to D1~D3 (Internal pull-low resistor) Program pin Normal=”Low” (Internal pull-low resistor) When this pin is set to “High”, PT2241 can be programmed Oscillator pin Data output pin Normal=”Low” When PGM is “High”, this pin shows the programming status of PT2241 Positive power supply -4- Pin No. 8 pins 16 pins 1 1 - 16, 2 2 3 5 12 - 10, 7, 5 4 11 - 9, 6, 4 3 8 6 13 7 14 8 15 March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 FUNCTION DESCRIPTION PT2241 encodes the address code (which are one-time programmable) and data into a special waveform and outputs it to the DOUT. This waveform is fed to the RF modulator for transmission. The transmitted radio frequency is received by the RF demodulator and reshaped into the special waveform. PT2270 is then used to decode the waveform and set the corresponding output pin(s). Thus, completing a remote control encoding and decoding function. CODE BITS A Code Bit is the basic component of the encoded waveform, and can be classified as either an (Address/Data) Bit or a SYNC (Synchronous) Bit. DATA BIT WAVEFORM Data Bit can be designated as either Bit “0”, “1” or “f” if it is in “Low”, “High” or “Floating” State respectively. One bit waveform consists of two pulse cycles and each pulse cycle has 128 oscillating time periods. For further details, please refer to the diagram below: α OSC B IT "0" 32 α B IT "1" B IT " f" 96 α 96 α 32 α 32 α 32 α 96 α 96 α 96 α 32 α 96 α 32 α where: the oscillating time period, α=1/f and (f is the oscillation frequency) As you can see in the diagram above, Bit “0” consists of 2 pulse cycles. Each Bit “0” pulse cycle goes “High“ for 32α(where α= oscillating time period) then changes to “Low” for 96α. Likewise, Bit “1” has 2 pulse cycles and each Bit “1” pulse cycle consists of a “High” pulse for 96αis followed by “Low” Pulse for 32α. For simplicity, let us designate one Bit “0” pulse cycle as a “Short Pulse” and one Bit “1” Pulse Cycle as a “Long Pulse”. Then, we can say that a Bit “F” or a floating bit consists of a “Short Pulse” followed by a “Long Pulse”. PT2241 V1.5 -5- March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 SYNCHRONOUS (SYNC.) BIT WAVEFORM The Synchronous Bit Waveform is 4 bits long. It exhibits a high pulse for 32αfollowed by a low pulse for 992α. Please refer to the diagram below: 99 2α 32 α CODE WORD A group of Code Bits is called a Code Word. A Code Word consists of 11 Address, 1 Data Bit followed by one Sync Bit. Please refer to the diagram below: A0 A1 ………… A7 D3/A8 D2/A9 S1/A10 D0 Sync. bit First bit transmitted Notes: 1. AN=Address Bits 2. DN=Data Bits PT2241 provides (four) data selections, namely: 1/2/3/4 Data Type which may be defined by the S0 and S1 Pins. Up to 4 data bits may be selected. Please refer to the diagram below: 1 Data Type: S0=”1” and S1=”1” A0 A1 ………… A7 A8 A9 A10 D0 Sync. bit 2 Data Type: S0=”1” and S1=”0” A0 A1 ………… A7 A8 A9 D1 D0 Sync. bit 3 Data Type: S0=”0” and S1=”1” A0 A1 ………… A7 A8 D2 D1 D0 Sync. bit 4 Data Type: S0=”0” and S1=”0” A0 A1 ………… A7 D3 D2 D1 D0 Sync. bit PT2241 V1.5 -6- March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 PROGRAMMING Address Bits of PT2241 are programmable only once and the Output Code Word contains 11 Address Bits, one Data Bit, and one Sync Bit. WRITE When PGM is set to “High” Level, the WRITE is activated and DOUT changes from “Low” to “High”. The PT2241 is now ready to be programmed. It must be noted that the first to receive programming instruction is A0 followed by A1 and so forth. In the WRITE Mode, N0 signal determines the value of the Address Bit. When N0 is “HIGH”, the corresponding Address Bit is set to “1”. Conversely, when N0 is “Low” (or floating), the corresponding Address Bit is set to “0”. After the 11th clock (1 clock consist of 2 pulses), DOUT changes from “High” to “Low” indicating that the address programming has been completed. DATA PROGRAMMING IN PT2241 When VPG is “Low”, at least 80ms is needed to burn out the fuse so that data may be programmed into the PT2241. PGM DO U T 1 ms 1 11 D0 /C L K >80 ms N0 /C O DE VPG G ND G ND G ND G ND G ND 1 ms Fl o a ti ng Fl o a ti ng Fl o a ti ng Fl o a ti ng Fl o a ti ng Fl o a ti ng D0 /C L K TD N0 /C O DE TB VPG TD Notes: In this diagram: 1. all addresses are programmed to “F” (“Floating”) State 2. TD=Delay Time and cannot be less than 0.1ms 3. TB=Burn-Out Time and cannot be less than 80ms. PT2241 V1.5 -7- March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 In the Programming Technique used by PT2241, data are written/programmed into the chip two bits at a time. The Clock contains 2 pulses and the burn-out time. Each pulse should be more than 1ms and burn-out time should be greater than 80ms. Please refer to the PT2241 Application Notes and the PT2241 Programming Manual. SINGLE RESISTOR OSCILLATOR The built-in oscillator circuit of PT2241 allows a precision oscillator to be constructed by connecting an external resistor (Rosc) to the OSC Pin. For the PT2270 to decode correctly the received waveform, the oscillator frequency of PT2270 must be 0.2 ~ 3.2 times that of the transmitting PT2241. The typical oscillator frequency with various resistor values for both PT2241 and PT2270 are given below: PT2241 620KΩ 2.0MΩ 3.3MΩ PT2270 1.0KΩ 1.2MΩ 2.0MΩ ENCODER (PT2241) OSCILLATION FREQUENCY Rosc 600 500 430K 400 470K 1M 300 200 1.2M 1.5M 100 0 15 14 13 12 11 10 9 8 Vcc PT2241 V1.5 -8- 7 6 5 4 3 2.5 2 1.8 2M 2.2M (V) March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 OUTPUT PIN (DOUT) While programming PT2241, the state of the IC may be determined by DOUT. During the PROGRAM Mode, DOUT changes from “Low” to “High”. When the signal inputted from the D0 Pin‘s reaches the 11th falling edge of the CLK, the DOUT state changes to “Low”. During the rising edge of the 12th CLK, DOUT goes to “High”. It must be noted that PT2241 can only be programmed once. Under normal condition, the DOUT Output Code Format does not include a carrier. Please refer to the diagram below: D0 K ey 1m s D o ut one c od e fo rm at DATA PINS PT2241 can support up to a maximum of 4 data pins which can be determined by the S1 and S0 Pins. Please refer to table below: Data bits 1 2 3 4 Address bits 11 10 9 8 S0 1 1 0 0 S1 1 0 1 0 Data pins D0 D0, D1 D0, D1, D2 D0, D1, D2, D3 Data Bits, D1 ~ D3 can de defined by S0 and S1. Address Bits - A10 ~ A8 - may be set to “1”, “0” or “f” and does not affect the outputs of D1 ~ D3. If the data bits are all set to “High”, they do not conflict with each other, and the Output Data Bits are all “High”. PT2241 V1.5 -9- March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 ABSOLUTE MAXIMUM RATINGS Parameter Operating voltage Symbol VDD Input voltage VIN Operating temperature Storage temperature Topr Tstg Condition VDD=12V All outputs not connected VDD=12V Rating -0.3 ~ 15 Unit V VSS-0.3 ~ VDD+0.3 V -40 ~ +85 -65 ~ +150 ℃ ℃ DC ELECTRICAL CHARACTERISTICS (Unless otherwise specified, Ta=25℃, VDD=12V) Parameter Symbol Condition Operating voltage VDD OSC connected to “Low” Stand-by current ISB other pins floating Operating current IOP Connect one data pin to “high” VDD=12V, VOH=5V DOUT output current IOH VDD=9V, VOH=4.5V VDD=3V, VOH=1.5V PT2241 V1.5 - 10 - Min. 1.8 Typ. 12 Max. 15 Unit V - - 1 µA -* 30 12 1.2 25 15 1.4 5 - mA mA March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 APPLICATION CIRCUIT 8 PIN-1 DATA *1 12V + V SS V DD V PG DO U T P G M *2 RF R OSC OSC N0 /CO DE D0 /CLK P T 2 24 1 16 PIN-4 DATA *1 12V + - VSS S0 VDD S1 DOUT VPG N3 OSC D3 D0/CLK N2 N0/CODE D2 D1 PGM*2 N1 R OSC RF PT2241-16 Notes: 1. In order that IC protection is assured, please make sure that a diode is connected between the battery and the VDD. If the diode is not connected and the battery polarity was inverted, the IC will fail. 2. In order to avoid unexpected programming, we suggest PGM pin connects with ground (VSS) to avoid PGM pin changed to “High level” and cause into “Programming mode” PT2241 V1.5 - 11 - March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 ORDER INFORMATION Valid Part Number PT2241P PT2241P-S PT2241P-16 PT2241P-16S PT2241 V1.5 Package Type 8 Pins, DIP, 300mil 8 Pins, SOP, 150mil 16 Pins, DIP, 300mil 16 Pins, SOP, 150mil - 12 - Top Code PT2241P PT2241P-S PT2241P-16 PT2241P-16S Address Codes Programmed Programmed Programmed Programmed March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 PACKAGE INFORMATION 8 PINS, DIP, 300MIL PT2241 V1.5 - 13 - March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC Symbol A A1 A2 b b1 b2 b3 c c1 D D1 E E1 e eA eB eC L PT2241 Dimensions in Inches Min. Nom. 0.015 0.115 0.130 0.014 0.018 0.014 0.018 0.045 0.060 0.030 0.039 0.008 0.010 0.008 0.010 0.355 0.365 0.005 0.300 0.310 0.240 0.250 0.100 bsc. 0.300 bsc. 0.000 0.115 0.130 Max. 0.210 0.195 0.022 0.020 0.070 0.045 0.014 0.011 0.400 0.325 0.280 0.430 0.060 0.150 Notes: 1. All dimensions are in INCHS. 2. Dimensioning and tolerancing per ANSI Y14.5M-1982. 3. Dimensions “A”, “A1” and “L” are measured with the package seated in JEDEC Seating Plane Gauge GS-3. 4. “D”, “D1” and “E1” dimensions do not include mold flash or protrusions. Mold flash or protrusions shall not exceed 0.010 inch. 5. “E” and “eA” measured with the leads constrained to be perpendicular to datum -c-. 6. “eB” and “eC” are measured at the lead tips with the loads unconstrained. 7. “N” is the number of terminal positions. (N=8) 8. Pointed or rounded lead tips are preferred to ease insertion. 9. “b2” and “b3” maximum dimensions are not include dambar protrusions. Dambar protrusions shall not exceed 0.010 inch (0.25 mm). 10. Variation BA has a b3 dimension and is 1/2 lead package. 11. Distance between leads including dambar protrusions to be 0.005 inch minimum. 12. Datum plane -H- coincident with the bottom of lead, where lead exits body. 13. Refer to JEDEC MS-001 Variation BA. JEDEC is the trademark of JEDEC SOLID STATE TECHNOLOGY ASSOCIATION. PT2241 V1.5 - 14 - March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 16 PINS, DIP, 300MIL PT2241 V1.5 - 15 - March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC Symbol A A1 A2 b b1 b2 b3 c c1 D D1 E E1 e eA eB eC L PT2241 Dimensions in Inches Min. Nom. 0.015 0.115 0.130 0.014 0.018 0.014 0.018 0.045 0.060 0.030 0.039 0.008 0.010 0.008 0.010 0.735 0.755 0.005 0.300 0.310 0.240 0.250 0.100 bsc. 0.300 bsc. 0.000 0.115 0.130 Max. 0.210 0.195 0.022 0.020 0.070 0.045 0.014 0.011 0.775 0.325 0.280 0.430 0.060 0.150 Notes: 1. All dimensions are in INCHS. 2. Dimensioning and tolerancing per ANSI Y14.5M-1982. 3. Dimensions “A”, “A1” and “L” are measured with the package seated in JEDEC Seating Plane Gauge GS-3. 4. “D”, “D1” and “E1” dimensions do not include mold flash or protrusions. Mold flash or protrusions shall not exceed 0.010 inch. 5. “E” and “eA” measured with the leads constrained to be perpendicular to datum -c-. 6. “eB” and “eC” are measured at the lead tips with the loads unconstrained. 7. “N” is the number of terminal positions. (N=16) 8. Pointed or rounded lead tips are preferred to ease insertion. 9. “b2” and “b3” maximum dimensions are not include dambar protrusions. Dambar protrusions shall not exceed 0.010 inch (0.25 mm). 10. Variation BA has a b3 dimension and is 1/2 lead package. 11. Distance between leads including dambar protrusions to be 0.005 inch minimum. 12. Datum plane -H- coincident with the bottom of lead, where lead exits body. 13. Refer to JEDEC MS-001 Variation BB. JEDEC is the trademark of JEDEC SOLID STATE TECHNOLOGY ASSOCIATION. PT2241 V1.5 - 16 - March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 8 PINS, SOP, 150MIL PT2241 V1.5 - 17 - March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 V1.5 PT2241 - 18 - March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC Symbol A A1 A2 b b1 c c1 D E E1 e L L1 L2 R R1 h θ θ1 θ2 PT2241 Min. 1.35 0.10 1.25 0.31 0.28 0.17 0.17 0.40 0.07 0.07 0.25 0° 5° 0° Typ. 4.90 BSC. 6.00 BSC. 3.90 BSC. 1.27 BSC. 1.04 REF. 0.25 BSC. - Max. 1.75 0.25 1.65 0.51 0.48 0.25 0.23 1.27 0.50 8° 15° - Notes: 1. Dimensioning and tolerancing per ANSI Y 14.5M-1994 2. Controlling Dimension: MILLIMETERS. 3. Dimension D does not include mold flash protrusions or gate burrs. Mold flash, protrusions or gate burrs shall not exceed 0.15 mm (0.006 in) per end. Dimension E1 does not include interlead flash or protrusion. Interlead flash or protrusion shall not exceed 0.25mm per side. D and E1 dimensions are determined at datum H. 4. The package top may be smaller than the package bottom. Dimensions D and E1 are determined at the outermost extremes of the plastic body exclusive of mold flash, tie bar burrs, gate burrs and interlead flash, but including any mismatch between the top and bottom of the plastic body. 5. Datums A & B to be determined at datum H. 6. N is the number of terminal positions. (N=8) 7. The dimensions apply to the flat section of the lead between 0.10 to 0.25mm from the lead tip. 8. Dimension “b” does not include dambar protrusion. Allowable dambar protrusion shall be 0.10mm total in excess of the “b” dimension at maximum material condition. The dambar cannot be located on the lower radius of the foot. 9. This chamfer feature is optional. If it is not present, then a pin 1 identifier must be located within the index area indicated. 10. Refer to JEDEC MS-012, Variation AA. JEDEC is the registered trademark of JEDEC SOLID STATE TECHNOLOGY ASSOCIATION. PT2241 V1.5 - 19 - March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 16 PINS, SOP, 150MIL PT2241 V1.5 - 20 - March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC PT2241 V1.5 PT2241 - 21 - March, 2006 Tel: 886-2-66296288 Fax: 886-2-29174598 URL: http://www.princeton.com.tw Programmable Encoder IC Symbol A A1 A2 b b1 c c1 D E E1 e L L1 L2 R R1 h θ θ1 θ2 PT2241 Min. 1.35 0.10 1.25 0.31 0.28 0.17 0.17 0.40 0.07 0.07 0.25 0° 5° 0° Typ. 9.90 BSC. 6.00 BSC. 3.90 BSC. 1.27 BSC. 1.04 REF. 0.25 BSC. - Max. 1.75 0.25 1.65 0.51 0.48 0.25 0.23 1.27 0.50 8° 15° - Notes: 1. Dimensioning and tolerancing per ANSI Y 14.5M-1994 2. Controlling Dimension: MILLIMETERS. 3. Dimension D does not include mold flash protrusions or gate burrs. Mold flash, protrusions or gate burrs shall not exceed 0.15 mm (0.006 in) per end. Dimension E1 does not include interlead flash or protrusion. Interlead flash or protrusion shall not exceed 0.25mm per side. D and E1 dimensions are determined at datum H. 4. The package top may be smaller than the package bottom. Dimensions D and E1 are determined at the outermost extremes of the plastic body exclusive of mold flash, tie bar burrs, gate burrs and interlead flash, but including any mismatch between the top and bottom of the plastic body. 5. Datums A & B to be determined at datum H. 6. N is the number of terminal positions. (N=8) 7. The dimensions apply to the flat section of the lead between 0.10 to 0.25mm from the lead tip. 8. Dimension “b” does not include dambar protrusion. Allowable dambar protrusion shall be 0.10mm total in excess of the “b” dimension at maximum material condition. The dambar cannot be located on the lower radius of the foot. 9. This chamfer feature is optional. If it is not present, then a pin 1 identifier must be located within the index area indicated. 10. Refer to JEDEC MS-012, Variation AC JEDEC is the registered trademark of JEDEC SOLID STATE TECHNOLOGY ASSOCIATION. PT2241 V1.5 - 22 - March, 2006