ST12 Encoder Decoder
ST12 Encoder Decoder
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
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.
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.
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.
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
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
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
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
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.
Sunrom Technologies
33, 1st Flr, Yash Niketan Khokra Circle, Maninagar,
Ahmedabad - 380026, Gujarat, India
Phone (+91) 9825 858 509