64 Key Infrared Remote Controller using PT2222M – NEC Code

64 channels Infra-Red Remote Transmitter circuit build around PT2222M IC, The IC is pin to pin compatible with NEC uPD6122 respectively, the remote is capable of controlling 64 functions keys and 3 double keys. The PT2222M Infra-red remote control transmission ICs using the NEC transmission format that is ideally suited for TVs, DVD Players, Audio Equipment, Air Condition, etc. By combining external diode and resistors, maximum of 65536 custom codes can be specified. The NEC transmission format consists of leader codes, custom codes (16 Bits), and data codes (16 Bits). It can be used for various systems through decoding by a microcontroller.64 Key Infrared Remote Controller using PT2222M – NEC Code


  • Low Voltage 2V To 3.3V
  • Low Current dissipation: 1uA Max (Standby)
  • Custom Codes: 65536 (Set by optional provided diodes and resistors)
  • 64 Codes (Single Input) , 3 Codes ( Double Input) , Expandable up to 128 Codes through J1 Jumper


  • Audio Equipment
  • TV
  • Cable TV
  • Air Condition
  • DVD Player
  • Robotics

Key input pins (KI0 to KI7), key input/output pins (KI/O0 to KI/O7)

When several keys are pressed simultaneously, the transmission of the corresponding signals is inhibited by a multiple-input prevention circuit. In the case of double-key input, transmission is inhibited if both keys are pressed simultaneously (within 36 ms interval); if not pressed simultaneously, the priority of transmission is first key, then second key. When a key is pressed, the custom code and data code reading is initiated, and 36 ms later, output to REM output is initiated. Thus if the key is pressed during the initial 36 ms, one transmission is performed. If a key is kept pressed for 108 ms or longer, only leader codes are consecutively transmitted until the key is released. Keys can be operated intermittently at intervals as short as 126 ms (interval between two on’s), making this an extremely fast-response system.

For more detail: 64 Key Infrared Remote Controller using PT2222M – NEC Code

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.