This project utilizes integrated circuits from Holtek Semiconductor, specifically the HT6221 and HT6222. Similar components were previously manufactured by NEC Semiconductor, including the uPD6121 and uPD6122. These integrated circuits are widely employed in infrared remote controls for televisions and VCRs, garage door openers, car door controllers, security systems, and various other remote control applications. They are capable of encoding 16-bit address codes and 8-bit data codes. Each address/data input can be configured to one of two logic states, 0 or 1. The HT6221 supports up to 32 keys (K1 to K32), while the HT6222 supports up to 64 keys (K1 to K64). When a key is activated, the designated address/data is transmitted along with header bits via an infrared transmission medium operating at a 38 kHz carrier frequency. This project focuses on the transmitter aspect of the remote control, and designers or hobbyists will need to develop their own software for the receiver board. Those familiar with microcontroller programming will find this device user-friendly. Notable features of this integrated circuit include a typical 32-pin HT6221 schematic. The resistor values of 1 kΩ and 47 Ω at output pin 5 of the IC can be reduced to enhance the transmission distance of the infrared signal. After the transmission codes are sent, the DOUT pin generates transmission codes with a carrier, and the LED indicator is activated. When a key is pressed for more than 36 ms, the oscillator becomes enabled, activating the chip. If the key is held down for 108 ms or less, the transmission codes generated include a header code (9 ms), an off code (4.5 ms), low byte address codes (9 ms to 18 ms), high byte address codes (9 ms to 18 ms), 8-bit data codes (9 ms to 18 ms), and the inverse of the 8-bit data codes (9 ms to 18 ms). If the key remains pressed beyond 108 ms, the transmission codes consist solely of the header (9 ms) and off codes (2.5 ms).
The HT6221 and HT6222 integrated circuits are designed for efficient data transmission in remote control applications, leveraging infrared technology for communication. The architecture of these ICs allows for a flexible configuration of inputs, enabling the encoding of a significant number of keys and corresponding data. The transmission process is initiated by the activation of a key, which triggers the encoding of the address and data into a format suitable for infrared transmission.
The key activation process is critical; it begins with a short press that enables the oscillator, allowing the device to prepare for transmission. The timing of various codes, including header and data codes, is meticulously structured to ensure reliable communication. The design of the output stage, particularly the use of resistors at the output pin, plays a vital role in determining the range of the infrared signal. By adjusting these resistor values, designers can optimize the performance of the remote control system, balancing power consumption and transmission distance.
Furthermore, the DOUT pin serves as the primary output for the encoded signal, modulating the infrared carrier frequency to convey the necessary data to the receiver. The LED indicator provides visual feedback, confirming that the transmission is occurring, which is essential during the development and testing phases of the project.
In summary, the HT6221 and HT6222 integrated circuits offer a robust platform for creating remote control systems, with features that support a wide range of applications. The careful design considerations in timing, output configuration, and user feedback mechanisms are crucial for ensuring effective and reliable operation in various environments.This project is based on integrated circuit from Holtek Semiconductor HT6221/HT6222. Similar parts used to be produced by NEC Semiconductor uPD6121/uPD6122. These ICs are commonly used in television and VCR infra red remote controls, garage door controllers, car door controllers, security systems and other remote control applications. They are cap able of encoding 16-bit address codes and 8-bit data codes. Each address/data input can be set to one of the two logic states, 0 and 1. The HT6221 can have keys up to 32(K1~K32) and HT6222 64 keys (K1~K64). When one of the keys is triggered, the programmed address/data is transmitted together with the header bits via an IR (38kHz carrier) transmission medium. This project provides the transmitter part of the remote control. Designers and hobbyists will have to do their own software at the receiver board. Those who are familiar with microcontroller programming will find this device easy to use. The features of this IC are: The typical 32 pins HT6221 schematic is as shown above. However, the values of 1k ohm and 47 ohm at the output pin 5 of the IC can be reduced to increase the distance the IR signal is transmitted.
After the transmission codes are sent, the DOUT pin generates transmission codes with a carrier, and the LED goes low to drive a transmission indicator. When one of the keys is triggered for over 36ms, the oscillator is enabled and the chip is activated.
If the key is pressedand held for 108ms or less, the 108ms transmission codes are enabled and comprised of a header code (9ms), an off code (4. 5ms), low byte address codes (9ms-18ms), high byte address codes (9ms-18ms), 8-bit data codes (9ms-18ms), and the inverse codes of the 8-bit data codes (9ms-18ms).
After the pressed key is held for 108ms, if the key is still held down, the transmission codes turn out to be a composition of header (9ms) and off codes (2. 5ms) only. 🔗 External reference
This circuit utilizes the SSM2044 integrated circuit (IC), which is a four-pole voltage-controlled filter specifically designed for electronic music applications. The on-chip voltage control of resonance facilitates straightforward interfacing with programmers and controllers. The IC is characterized by an...
The circuit utilizes the TDA1524 chip, which is an integrated control unit for volume, bass, treble, and balance adjustments. Control is achieved through four potentiometers (P5-P8). The integrated circuit IC1 requires very few external components to operate. Potentiometers P1-P4...
The automatic weapon features a magnetic switch circuit that is simple, reliable, has a low failure rate, and offers good versatility. It can be used for output performance or converted into mechanical displacement applications. The circuit diagram utilizes a...
The infrared remote-controlled switch is the second remote-controlled project on this website, utilizing a 555 IC circuit diagram along with a description of the remote-controlled switch.
The infrared remote-controlled switch operates using a 555 timer integrated circuit (IC), which is...
While developing an infrared (IR) extender circuit, a method was needed to measure the relative intensities of various infrared light sources. This circuit is the outcome of that research. A photodiode, specifically the SFH2030, is utilized as the infrared...
This article discusses the use of a Raspberry Pi to create a compact interface for controlling fireplaces through a home automation system, replacing a previous Arduino setup. The project aims to reduce bulkiness by placing the controller under the...
We use cookies to enhance your experience, analyze traffic, and serve personalized ads.
By clicking "Accept", you agree to our use of cookies.
Learn more