IR Controller Specification

Setup Instructions

You can either connect a FTDI adapter or an ESP8266/ESP32/Arduino development board to control this module.

Connection Details

Baud:9600
Data bits: 8 data bits
Parity: No
Stop bit: 1 (N81 format)

Supported Commands

IR Learning

E0 : Module will enter learning mode. Once you send this command, IR controller's indicator LED will turn blue. You can learn a single key with this command. Here is an example. Once the device enter learning mode it will respond Success (0x00) or Failed (0xff)

E1 : Used to learn a key combination. You can record two keys at once using this mode. Note: Some remotes controllers send two IRcodes when you press a single button. Once you press any button on your remote control to record an IR signal, the device will respond with the decoded IR data. Here is the format for E0, E1 commands:

Example Arduino/ESP or C#

Length Body Checksum
Packet size Infrared code content Packet validation checksum

IR Sending

E3 Is used to send an IR code. Packet format is command id E3 followed by IR content

Example Arduino/ESP or C#

The transmit command byte and the following parameters are delayed by more than 100us per byte

Other

E2 : Exit learning mode

Error codes

Code Description
0x00 Success
0xff The infrared code is empty, invalid or learning error

The command error or timed out for the command LED light will flash 3 times

Limitations

                ->|  |<- The minimum pulse width that can be learned is 100us.
                __    __    ____    __    __    __      ____      __    __    ____    __
               |  |  |  |  |    |  |  |  |  |  |  |    |    |    |  |  |  |  |    |  |  |
             __|  |__|  |__|    |__|  |__|  |__|  |____|    |____|  |__|  |__|    |__|  |__
            
            If the infared signal contains two parts, the time in between should be less than 700ms.
                                        ->|             |<- 
                __    __    ____    __    ______________    __      __    __    ____    __
               |  |  |  |  |    |  |  |  |              |  |  |    |  |  |  |  |    |  |  |
             __|  |__|  |__|    |__|  |__|              |__|  |____|  |__|  |__|    |__|  |__
            

• Supported infrared carrier

15kHz - 80kHz

• Power Supply:

 Operating voltage: 5V
 Working current: 4 - 6mA
 Emission peak: 1.5A
 Recommended power supply using 5VDC / 2A, ripple <20mv

• Operating Temp

0°C ~ +65°C (humidity: 10% - 95%)