You are on page 1of 6

ST12 CODEC – IR/RF Remote Control Encoder/Decoder IC

1. Overview
ST12 CODEC is Radio Frequency and Infrared
encoder/decoder IC for remote control applications
having unique features and flexibility not available
with other remote control encoder decoder ICs.
ST12 is truly a single-chip remote control solution. 18 PIN DIP
Transmitter and Receiver can operate over Radio
A0 1 18 MODE IR - RF
Frequency or Infrared having four address and eight
data bits. Transmission and Reception over Infrared A1 2 17 LATCH - MOM
is achieved by commonly available Infrared LED-
Detector and for RF any general purpose RF A2 3 16 DATA RX - TX
Transmitter-Receiver pair would suffice. A3 4 15 ENC-DEC
The ST12 combines the functionality of both GND 5 14 VCC
encoder and decoder in a single package with
D0 6 13 D7
several unique features for enhanced operation and
a reduced component count for transmitter and D1 7 12 D6
receiver circuits.
D2 8 11 D5
The ENC-DEC pin configures the ST12 IC for D3 9 10 D4
encode or decode operation automatically at power-
up.

2. Features
• Encode / Decode on single chip
• Built in Oscillator
• Minimum External Components
• Wide operating voltage range. (2.0 - 5.5V)
• Single chip Encoding Decoding Mode
• 40kHz carrier for infrared transmission medium
• 18 pin DIP package

3. Applications
• Burglar alarm system
• Smoke and fire alarm system
• Garage door controllers
• Car door controllers
• Car alarm system
• Security system
• Cordless telephones
• Other remote control systems
Page 2 of 6

4. Pin Definitions

Pin Number Description


1-4 A0-A3 - 4 bit Address Input
5 GND – Ground
6-13 D0-D7 – 8 bit Data input if configured as Encoder
D0-D7 – 8 bit Data output if configured as Decoder
14 VCC - +5V DC
15 ENC-DEC – Configure chip as Encoder or Decoder
Encoder if pin is tied to VCC
Decoder if pin is tied to GND
16 DATA RX-TX – Transmit data or Receive Data from this pin through IR/RF
Interface
17 LATCH-MOM – Applicable in Decoder Mode
Latching output (Toggle Output) if pin is tied to VCC
Momentary output if pin is tied to GND

In encoder mode tie this pin to GND or VCC and do not leave it floating
18 Mode IR/RF – Selects Transmit / Receive by Infrared or Radio Frequency
IR Mode if pin is tied to VCC
RF Mode if pin is tied to GND
Encoder sends 40khz Modulation signal in IR Mode for driving IR LED
Decoder inverts received data in IR Mode

5. Encoder
When configured as Encoder the chip will transmit signal containing 4 bit Address A0-A4 and 8 bit of
Data D0-D7 from its DATA RX-TX pin. Removing ground from a data input will end the transmission.
Infrared transmission will include data modulated for 40 kHz frequency for driving Infrared LED. Radio
Frequency Transmission mode will transmit data in bi-phase Manchester encoding.

5.1. Latching Key-Press


With the decoder in latch mode, data inputs D0-D7 of the encoder must be pressed & released one at a
time to toggle decoder outputs on or off individually. Multiple key presses are not allowed on the encoder
when the decoder is configured for latch mode.

5.2. Momentary Key-Press


In momentary mode, any combination of the encoder data inputs D0-D7 may be grounded
simultaneously.

6. Decoder
Decoder outputs can sink or source up to 25mA per pin with a total combined device package maximum
of 200mA allowing direct remote control of LED’s, solid-state relays, and other logic devices without the
need for secondary driver circuits.

© 2006 Sunrom Technologies http://www.sunrom.com 2


Page 3 of 6
7. Data & Address Validation
Encoder address pins A0-A3 must be set to the same logic levels as decoder address pins A0-A3. If
these do not match, the decoder will ignore data sent from the encoder. The decoder receives two
consecutive & matching data/address packets before transferring data to the D0-D7 outputs.

Each 13-bit packet transmit time requires approximately 48mS. Care should be taken not to violate these
timing requirements when the ST12 is controlled by high-speed logic circuits or embedded controllers
such as the PIC, BASIC Stamp or 8051.

Important: Address input pins A0-A3 & configuration selection input must always be connected to Vdd
or circuit ground depending on the mode required. Allowing any of these input pins to “float” (leaving
them un-connected) will cause erratic results.

8. Transmitter Application Schematic (Encoder)

VCC
IR
IR VCC

J1
C1 JUMPER3P R2
U1 100n 4K7

1
ST12 CODEC
18 RF D1
2 A0 MODE IR - RF 17 IR LED
3 A1 LATCH - MOM 16 Q1
4 A2 DATA RX - TX 15 BC547
A3 ENC - DEC VCC
SW1 SW 5 14 SW5 SW
6 GND VCC 13
7 D0 D7 12 Q2
SW2 SW 8 D1 D6 11 SW6 SW BC547
9 D2 D5 10
D3 D4
SW3 SW SW7 SW

SW4 SW SW8 SW
E1
ANTENNA RF
U2 STT-315

U3 VCC
LM78L05
DATA

3 1
GND

VCC
ANT

IN OUT
D2 GND
CN1 1N4007
C2 C3 VCC
SIP2
2

1
2
3
4

2
VCC
1 100n 100n
R1 10K C4
9V Battery 100n

Sunrom Technologies http://ww w.sunrom.com


Title 8 Channel Remote Transmitter
Code 1001-3487 Rev 1
Date: Monday , May 01, 2006 Sheet 1 of 1

© 2006 Sunrom Technologies http://www.sunrom.com 3


Page 4 of 6

8.1. Receiver Application Schematic (Decoder)

E1
ANTENNA

VCC IR RECEIVER
U2 TSOP1738
STR-315 U1
ANALOG
VCC(5V)

VCC(5V)

R1

Gnd
Vcc
DATA

Out
10R
GND
GND

GND
ANT

2
3
1
1
2
3
4

5
6
7
8

C7
VCC 100n C1
VCC 10uF 16V

U4 VCC

1
ST12 CODEC
18 IR
2 A0 MODE IR - RF 17 J1
3 A1 LATCH - MOM 16 JUMPER3P
4 A2 DATA RX - TX 15
A3 ENC - DEC
OUT1
5
6 GND VCC
14
13 OUT5 RF
OUT2 7 D0 D7 12 OUT6
OUT3 8 D1 D6 11 OUT7
OUT4 9 D2 D5 10 OUT8 VCC
D3 D4
LATCH
J2
JUMPER3P
C2
VCC 100n
MOMENTARY

Power Supply VDD U5


78L05/TO92
VCC

3 1
IN OUT
D9
GND
R2
CN9 D10 1K C5 + C4 + C6
2

DC SOCKET C3
100n 100uF 16V 100uF 16V 100n
12V Input D11 D12
LED

D13

9. Related Information
• Infrared version of 8 channel RF Remote Control http://www.sunrom.com/product.php?id=114
o Infrared LED http://www.sunrom.com/product.php?id=118
o Infrared Detector TSOP1738 http://www.sunrom.com/product.php?id=19

• RF version of 8 channel RF Remote Control http://www.sunrom.com/product.php?id=115


o 315 MHz RF Transmitter STT-315 http://www.sunrom.com/product.php?id=116
o 315 MHz RF Receiver STR-315 http://www.sunrom.com/product.php?id=117

© 2006 Sunrom Technologies http://www.sunrom.com 4


Page 5 of 6

10. Electrical Specifications


Paramater Value
Maximum Input/Output Sink/Source Current On Any Pin 25mA
Maximum Input/Output Sink/Source Current Total 200mA
Operating Voltage 3.0-5.0V DC
Avg. No Load Operating Current <2mA @5.0VDC
Carrier Frequency / Duty Cycle +/- 2% 40kHz / 50%

10.1. Chip Description


The ST12 – CODEC is available in a 18 pin DIP package (0.3” width). It uses a supply voltage of 5v DC.
Outputs and inputs are TTL and CMOS compatible.

ST12 CODEC
1 18
2 A0 MODE IR - RF 17
3 A1 LATCH - MOM 16
4 A2 DATA RX - TX 15
5 A3 ENC - DEC 14
6 GND VCC 13
7 D0 D7 12
8 D1 D6 11
9 D2 D5 10
D3 D4

10.2. Ordering Information


Part Number Description
3000-1012 ST12 CODEC - IR/RF Remote Control Encoder/Decoder I.C.

© 2006 Sunrom Technologies http://www.sunrom.com 5


Page 6 of 6

11. Disclaimer
Copyright © Sunrom Technologies , 2006.
Version 1.0 - Initial Datasheet Created April 2006

Neither the whole nor any part of the information contained in, or the product described in this manual,
may be
adapted or reproduced in any material or electronic form without the prior written consent of the copyright
holder.

This product and its documentation are supplied on an as-is basis and no warranty as to their suitability
for any particular purpose is either made or implied.

Sunrom Technologies will not accept any claim for damages howsoever arising as a result of use or
failure of this product. Your statutory rights are not affected.

This product or any variant of it is not intended for use in any medical appliance, device or system in
which the failure of the product might reasonably be expected to result in personal injury.

This document provides preliminary information that may be subject to change without notice.

12. Contact Sunrom Technologies

Sunrom Technologies
33, 1st Flr, Yash Niketan Khokra Circle, Maninagar,
Ahmedabad - 380026, Gujarat, India
Phone (+91) 9825 858 509

Website URL : http://www.sunrom.com/

© 2006 Sunrom Technologies http://www.sunrom.com 6