在这里,为了制作IR遥控器,我正在使用ASIC编解码器芯片ST12。编解码器表示编码器+解码器。这意味着相同的芯片用作发射机侧的编码器,在接收器侧用作解码器。这是非常好的芯片,芯片的一些主要功能是:
- Encode / Decode on single chip
- 内置振荡器
- Minimum External Components
- 宽的工作电压范围。(2.0 - 5.5V)
- 单芯片编码解码模式
- 40kHz carrier for infrared transmission medium
- 18针浸包装
The major applications of this chip
- Burglar alarm system
- 烟雾警报系统
- 车库门控制器
- Car door controllers
- 汽车警报系统
- Security system
- 无绳电话
- 其他遥控系统
Because both transmitter and receiver made up of only ST12 codec chip, let us first understand pin diagram, pin function and working of this chip and then go for transmitter and receiver.
Pin diagram: –
As shown in above figure, it is 18 pin chips with DIP. Pals refer the table given below for details
|
So now after going through above table one should have complete idea about the operation of this chip as transmitter (encoder) and as receiver (decoder).
Transmitter & Receiver
发射器: -As written above, the major advantage of this chip is that there is least requirement of external components
As shown in figure Circuit Diagram Tab1, it’s a single chip remote control with very few external components like switches, resistors, transistors and LEDs.
Connection: –all four address bits A0 – A3 are shorted to ground to setup an address 0000. 8 push button type switches are connected with data pins D0 – D7 as shown. The transmit data pin drives IR LED and red LED through Darlington configuration of Q1 & Q2. IR-RF pin is connected to Vcc to configure the chip in IR mode. enc-dec pin is also connected with Vcc to configure it as transmitter. A 3V battery (or 2 dry cells) provides power to the circuit.
Operation: –当按下任何一个键时,数据将通过IR LED的40kHz Freq处的传输数据引脚传输。地址和数据共同在40 kHz Freq借助内置振荡器调制。在红色LED上可以看到此数据传输是闪烁的O/p。
Receiver: –
如电路图Tab2所示,我们需要当前的驱动器芯片ULN2003A才能驱动继电器线圈。
Connections: –All four address bits A0-A3 are connected to ground to setup same address 0000. Keeping first data o/p D0 unconnected, rest all D1 – D7 are connected to input of ULN chip. Each one output of ULN chip drives one relay and one LED. So total there are seven relays that can switch on / off 7 different devices (instead of ULN2003 if one uses ULN2803 then all 8 data outputs can be used). The enc-dec pin is connected to ground to configure the chip as receiver. The lat-mom pin is tied to Vcc to get toggle output every time. The output of IR sensor TSOP 1738 is connected to receive data pin of ST12. Two different regulated supplies 5V and 12 V are used to give power to complete circuit.
Operation:–由于TSOP检测到40 kHz的数据和地址,它将解码并为解码器芯片提供地址和数据。在获得有效的地址和数据时,ST12将锁定D0-D7(倒置)上的数据。因为每次从TX按相同开关时,其切换输出,继电器将打开 /关闭。同样,中继开 /关由相应的LED指示。
Project Source Code
电路图
Filed Under:188金宝搏提款有问题吗