解决modbus控制Infrared壁挂Air Conditioner的模块

freeFree Technical Resource

This content is free to read, suitable for basic learning and search traffic.

解决modbus控制Infrared壁挂Air Conditioner的模块缩略图
解决modbus控制Infrared壁挂Air Conditioner的模块插图

1、 Product Overview

Intelligent infrared controllerIt is a product that combines infrared remote control, status monitoring, and intelligencesignal communicationIntegrated industrial grade control equipment. Adopting imported components and patented technology design to supportRS485, BLE5.1Dual mode communication, compatibleModbus-RTUProtocol, available through WeChatMini programOrPLCConfigure to achieve remote control. Built in universalInfrared code libraryAnd with64The Road Learning Channel is widely used in scenarios such as smart hotels, industrial energy conservation, and intelligent buildings, providing a highly reliable integrated control solution for infrared devices.

2、 Technical parameters

CategoryParameter details
Power inputDC 8V-28VWide voltage, supporting industrial grade power supply adaptation
Communication interfaceRS485 (A/BTerminal) + BLE5.1Dual-mode communication
Protocol supportModbus-RTUBluetoothBLE5.1agreement
Infrared emissionOnboard high-power infrared tube (accessible distance>5meters), supporting external extension cables
Storage capacity64Channel infrared learning storage, supports batch configuration
Control accuracysupportNEC/RC-5Standard infrared code, real-time feedback on air conditioning status
Environmental adaptabilityIndustrial grade protection, rail mounted installation,-20℃~70℃Working temperature

3、 Core functional highlights

  1. Omnipotent control
  • Built in air conditioning/TV/set-top box infrared code library, direct control without learning
  • Support fine adjustment of air conditioning temperature, mode, wind speed, etc
  • External connectionZCTCurrent transformer, real-time monitoring of air conditioning on/off status
  1. Intelligent interconnection
  • Dual channel communication:RS485 (Modbus-RTU)DockingPLC/Configuration system,BLE5.1Directly connect to WeChat mini program
  • WeChat mini program one click network configuration, real-time debugging and code sending testing on mobile devices
  1. Efficient deployment
  • 64Channel infrared waveform learning, supporting control of non-standard devices such as projectors and fans
  • Batch reading/configuration function, suitable for rapid replication and deployment in multiple rooms
  1. Industrial grade design
  • Wide voltage input (8V-28V), suitable for complex power environments
  • Onboard Quick Test Key: Short press to send code test, long press for 3 seconds to enter automatic matching mode

4、 Installation and wiring instructions

Installation steps

  1. Mechanical fixation
  • Usage standardDINInstall the guide rail buckle to ensure that the equipment is horizontally fixed
  1. Power connection
  • AccessDC 8V-28VPower supply toDC INTerminal (red wire+Vblack wire-GND)
  1. communication wiring
  • RS485communication: connectionA+/B-to controller bus (recommended to use shielded twisted pair)
  • Peripheral expansion:
    • IR LEDExternal infrared extension emission tube
    • ZCTConnect current transformer (air conditioning status detection)
    • STAStatus indicator light output
解决modbus控制Infrared壁挂Air Conditioner的模块插图1

matters needing attention

⚠️ Be sure to disconnect the power before wiring
⚠️ RS485Bus requires terminal matching120ΩResistance (during long-distance communication)

5、 Communication protocol and debugging tools

1、 Communication protocol frame

1. Communication method:

UART Baud rate:9600 Data bit:8 Stop position:1 Checkpoint: None Flow control: none 

Compliant Modbus-RTU Protocol format standard, address range 1-255.

2. Modbus-RTU Overview of the agreement

2.1 Read multiple register commands, suitable for function codes-03H

Host sends command:

AddressFunction codeStarting register addressRead the number of registersVerification code (CRC16)
1Byte1Byte1Byte1Byte1 Byte1 Byte1Byte1Byte
device addressfunction code valuehigh 8 bitlow 8 bithigh 8 bitlow 8 bitlow 8 bithigh 8 bits

slave return information:

addressfunction codereturn data byte lengthdata 1data 2verification code ( Ndevice addressCRC16)
1Byte1Byte1Byte1Byte1Byte1 Byte1 ByteN Byte1Byte1Byte
function code value)Function code valueNHigh 8 PositionLow 8 PositionHigh 8 PositionLow 8 Position.....Low 8 PositionHigh 8 Position

2.2 Write a single register, suitable for function codes-06H

Host sends command:

AddressFunction codeRegister addressWrite dataVerification code (CRC16)
1Byte1Byte1Byte1Byte1 Byte1 Byte1Byte1Byte
device addressfunction code valuehigh 8 bitlow 8 bithigh 8 bitlow 8 bitlow 8 bithigh 8 bit

slave return information:

addressfunction coderegister addresswrite dataverification code (CRC16)
1Byte1Byte1Byte1Byte1 Byte1 Byte1Byte1Byte
device addressfunction code valuehigh 8 bitlow 8 bithigh 8 bitlow 8 bithigh 8 bitwrite multiple registers, applicable to function code 8 host sends command:

2.3 address-10H

function code

start register addressnumber of written datawrite byte length)Number of data writtenWrite byte lengthdata data data Verification code ( 1device address 2...function code value NhighCRC16)
1Byte1 Byte1 Byte1 Byte1 Byte1 Byte1 Byte2 Byte2 Byte...2 Byte1 Byte1Byte
bitlowbit 8 highbit 8 lowbit 8 highlow 8 bit1-255highlowhighhigh...lowlowbit 8 bithigh 8 bit

slave return information:

addressfunction codestart register addressnumber of registers writtenverification code (CRC16)
1Byte1Byte1Byte1Byte1 Byte1 Byte1Byte1Byte
device addressfunction code valuehigh 8 bitlow 8 bithigh 8 bitlow 8 bithigh 8 bitBluetooth communication protocol 8 start symbol

2.4 data length

option fieldmessage sequence numberuser data segmentverification code (end symbolfixedCRC16) protocol data
2 Byte2 Byte1 Byte4 ByteN Byte1 Byte1 Byte2 Byte
FF55HLenOPTSqueDataCRC_HCRC_LFFAAH
total length,  0xFF55high bit before low) 8 Located at the back before , low 8 Located at the back08H-The representative needs to reply from the device 
00H-The data chip representing Bluetooth transmission No response is required
04H-Representing data initiated by the chip itself Report, the chip needs to add its own unique feature Serial number reporting
18H-Representing transparent transmission of Bluetooth and serial data
Unique message sequence numberfill Modbus-RTU Number According to, reference Modbus-RTU Number According to the agreement8 digits highLow 8 PositionFixed  0xFFAA
1. Bluetooth control command case:
Turn off the air conditioning data testing protocol
Bluetooth transmission:FF 55 00 15 08 01 02 03 04 A5 06 00 25 00 00 81 25 FD 81 FF AA
Bluetooth return:FF 55 00 15 08 01 02 03 04 A5 06 00 25 00 00 81 25 FD 81 FF AA 
2. Example of transparent transmission routine: reference register 3000H
Serial port reporting data:A5 10 30 00 00 01 02 11 22 D0 DD
Bluetooth received data:FF 55 00 0F 18 00 00 00 63 11 22 B4 82 FF AA 
Serial port reporting data:A5 10 30 00 00 01 04 11 22 33 44 01 5A
Bluetooth received data:FF 55 00 11 18 00 00 00 02 11 22 33 44 BC A9 FF AA 
Bluetooth transmission of transparent data:FF 55 00 15 18 01 02 03 04 A5 06 00 25 00 00 81 25 0C 6B FF AA
Chip string Output data:A5 06 00 25 00 00 81 25 
Bluetooth transmission of transparent data:FF 55 00 11 18 00 00 00 02 11 22 33 44 BC A9 FF AA
Chip serial port output data:11 22 33 44

3. Function code register table (adapted function code 03H, 06H, 10H)

register contentregister addressdata typeread/write typeregister valuedescription
firmware version number0000Hunsigned short integerread-only-chip firmware version number
chip ID0001Hunsigned short integerread-only-chip unique identifier
device address0002Hunsigned short integerread-write1~255RS485 device address
communication baud rate0003Hunsigned short integerread-write0-2400
1-4800
2-9600
3-14400
4-19200
5-38400
6-56000
7-57600
8-115200
9-128000
10-230400
11-156000
12-460800
13-500000
14-512000
15-600000
16-750000
17-921600
18-1000000
19-1500000
20-2000000
serial communication baud rate (default 9600) .
MAC address0004H-0006Hunsigned short integerread-only-6 byte MAC address, occupied 3 register space).
retain0007H-0008HUnsigned short integerretain-Reserved registers, not recommended for use.
Chip reset0009HUnsigned short integerCan be written-Write a specific value to reset the chip.
retain000AH-000FHUnsigned short integerretain-Reserved registers, not recommended for use.
Air conditioning matching0010HUnsigned short integerCan be written-One key matching control register for air conditioning.
TV matching0011HUnsigned short integerNot currently supported-Not currently supported.
Set top box matching0012HUnsigned short integerNot currently supported-Not currently supported.
Fan matching0013HUnsigned short integerNot currently supported-Not currently supported.
Projector matching0014HUnsigned short integerNot currently supported-Not currently supported.
Matching with other devices0015HUnsigned short integerNot currently supported-Not currently supported.
Initiate infrared learning0016HUnsigned short integerCan be written-Activate infrared learning mode for recording 64 Channel infrared waveform.
Exit infrared learning0017HUnsigned short integerCan be written-Exit infrared learning mode.
Test infrared learning0018HUnsigned short integerCan be written-Test the learned infrared waveform.
Remote control NEC Send code0019H-001AHUnsigned integerCan be written-send out NEC Format infrared remote control code waveform.
Remote control RC-5 Send code001BH-001CHUnsigned short integerCan be written-send RC-5 Format infrared remote control code waveform.
Bluetooth room number001DHUnsigned short integerCan be written-Set the room number in the Bluetooth broadcast name.
AD Pin configuration001EHUnsigned short integerCan be written-to configure ADIN/RS485 Pin function.
AD Collecting power threshold configuration001FHUnsigned short integerCan be written-set up AD Collect power threshold, unit: 10mV.
Air conditioning code library code0020HUnsigned short integerReadable and written-Code library code for air conditioning matching.
TV code library code0021HUnsigned short integerReadable and written-Code library code for TV matching.
Set top box code library code0022HUnsigned short integerReadable and written-The code library code that matches the set-top box.
retain0023H-0024HUnsigned short integerretain-Reserved registers, not recommended for use.
Air conditioning power status0025HUnsigned short integerReadable and written0-close
1-Open
Air conditioning power status.
Air conditioning temperature status0026HUnsigned short integerReadable and written0-16℃
1-17℃
...
E-30℃
Air conditioning temperature status register.
Air conditioning mode status0027HUnsigned short integerReadable and written0-Automatic
1-Refrigeration
2-Dehumidification
3-Air supply
4-heating
Air conditioning mode status register.
Air conditioning speed status0028HUnsigned short integerReadable and written0-Automatic wind speed
1-A gust of wind
2-Second level wind
3-Three levels of wind
Air conditioning speed status register.
Air conditioning lighting status0029Hunsigned shortReadable and written0-Turn off the lights
1-Turn on the lights
Air conditioning lighting status register.
Air conditioning combination status
(Specific instructions are provided below)
002AH-002CHUnsigned short integerReadable and written-Air conditioning combination status control register.
TV power control002DHUnsigned short integerReadable and written00H-close
01H-Open
Code for the TV power button.
TV volume002EHUnsigned short integerReadable and written0-Volume reduction
1-Volume increase
TV volume control register.
TV channel002FHUnsigned short integerReadable and written0-Channel reduction
1-Channel addition
TV channel control register.
TV signal source0030HUnsigned short integerReadable and written0-Do not switch
1-Switch channels
Television signal source switching register.
TV return button0031HUnsigned short integerReadable and written0-Not executed
1-Execute return
TV return button switch register.
Set top box combination status0032H-0034HUnsigned short integerNot currently supported-Set top box combination status, currently not supported.
Set top box power supply0035HUnsigned short integerReadable and written00H-close
01H-Open
Set top box power status.
Set top box volume0036HUnsigned short integerReadable and written0-Volume reduction
1-Volume increase
Set top box volume control register.
Set top box channel0037HUnsigned short integerReadable and written0-Channel reduction
1-Channel Add
Set top box channel control register.
Set top box signal source0038HUnsigned short integerReadable and written0-Do not switch
1-Switch channels
Set top box signal source switching register.
Set top box return0039HUnsigned short integerReadable and written0-Not executed
1-Execute return
Set top box return button switch register.
Switching status of transformer equipment003AHUnsigned short integerRead only0-Shut down
1-Power on
External transformer equipment detects the on/off status of the equipment.
ADC Collect values003BHUnsigned short integerRead only-Read ADC The sampled value (representing voltage value: in units).10mV retain
Unsigned short integer003CH-003FHretainReserved registers, not recommended for use.-Local code for air conditioning
Unsigned short integer0040HReadable and writtenLocal code library code register.-Air conditioning control code
Unsigned short integer0041HReadable and writtenInstruction control code register.-Air conditioning power status
Unsigned short integer0042HReadable and writtenclose0-Open
1-The air conditioner is in a single power state.
Air conditioning temperature status
Unsigned short integer0043HReadable and writtenAir conditioning temperature status register.16-31℃Air conditioning mode status
Unsigned short integer0044HReadable and writtenAutomatic0-Refrigeration
1-Dehumidification
2-Air supply
3-heating
4-Air conditioning mode status register.
Air conditioning speed status
Unsigned short integer0045HReadable and writtenAutomatic wind speed0-Automatic wind speed
1-A gust of wind
2-Second level wind
3-Three levels of wind
Air conditioning speed status register.
Air conditioning lighting status0046HUnsigned short integerReadable and written0-Turn off the lights
1-Turn on the lights
Air conditioning lighting status register.
retain0047H-0531HUnsigned short integerretain-Reserved registers, not recommended for use.
Infrared learning channel 1~620532H-114DHUnsigned short integerReadable and written-Allocation for each channel 100 Byte space.
Infrared learning channel 63114EH-1180HUnsigned short integerReadable and written-Each infrared recording waveform occupies 100 One byte, occupied 50 A register.
Bluetooth transparent data register3000HUnsigned short integerReadable and written-Serial port reporting Bluetooth data transparent transmission format.

CRC16Verification tool download:

This tool is used for quick calculationMODBUSIn communicationCRC16Verification value. Enter a hexadecimal data packet in the input box (every two characters represent one byte, and the number of characters must be even),Separate each byte with a space. After clicking on 'calculate', this calculator can calculate the length of the input data packet16Binary checksum.

CRC16Verify calculation tools

Resource price 1 point sales quantity328Release time2025February of the year16Daily update time2025April 8th of the year

Click to download

Protocol Example:

Agreement description

The default address for this agreement is A5. The user needs to first set the address to A5 Conduct testing.

1. Set the device address

  • send out: FF 06 00 02 00 A5 FD AF
  • return: FF 06 00 02 00 A5 FD AF

2. Firmware version number

  • send out: FF 03 00 00 00 01 91 D4
  • return: FF 03 02 00 01 90 53
  • explainThe firmware version number is 0x0001.

3. ChipIDnumber

  • send out: FF 03 00 01 00 01 C0 14
  • Return: FF 03 02 50 56 2D AE
  • explain: ChipIDFor 0x5056.

4. Device from address register

  • Set the address:
    • send out: FF 06 00 02 00 A5 FD AF
    • return: FF 06 00 02 00 A5 FD AF
  • Obtain address:
    • send out: FF 03 00 02 00 01 30 14
    • return: FF 03 02 00 A5 51 EB
    • explainThe device address is: 0xA5.

5. Serial communication baud rate setting register

Baud rate mapping table:

ValueBaud rate
02400
14800
29600
314400
419200
538400
656000
757600
8115200
9128000
10230400
11156000
12460800
13500000
14512000
15600000
16750000
17921600
181000000
191500000
202000000
  • Obtain baud rate:
    • send out: A5 03 00 03 00 01 6D 2E
    • return: A5 03 02 00 02 48 5C
    • explainThe baud rate is 9600.

6. Air conditioning matching control register

  • Matching air conditioning:
    • send out: A5 06 00 10 00 01 50 EB
    • Timeout return: A5 06 00 10 80 03 B0 EA
    • Matching failed: A5 06 00 10 80 03 B0 EA
    • Matching successful: A5 06 00 10 00 4F D0 DF
    • explainMatch to code number 0x004F.

7. Activate infrared learning mode

  • Learning channel:
    • send out: A5 06 00 16 00 3F 31 3A
    • return: A5 06 00 16 00 3F 31 3A
    • Learning completed: A5 06 00 16 80 02 91 2B
    • Learning timeout: A5 06 00 16 80 03 50 EB
    • Example:
      • send out: A5 06 00 16 00 00 71 2A
      • return: A5 06 00 16 80 02 91 2B

8. Exit infrared learning mode

  • send out: A5 06 00 17 00 3F 60 FA
  • return: A5 06 00 17 00 3F 60 FA

9. Test infrared learning waveform

  • send out: A5 06 00 18 00 3F 50 F9
  • return: A5 06 00 18 00 3F 50 F9
  • Example:
    • send out: A5 06 00 18 00 00 10 E9

10. Sending specified dataNECCode infrared waveform

  • send out: A5 10 00 19 00 02 04 00 FF 01 FE 95 DB
  • return: A5 10 00 19 00 02 89 2B
  • explain: LaunchNECWaveform:00 FF 01 FE.

11. Air conditioning code library code

  • Set code number:
    • send out: A5 06 00 20 02 E4 90 0F
    • return: A5 06 00 20 02 E4 90 0F
  • Obtain the code number:
    • send out: A5 03 00 20 00 01 9C E4
    • Return: A5 03 02 02 E4 C8 B6
    • explainThe air conditioning code number is: 740.

12. TV code library code

  • Set code number:
    • send out: A5 06 00 21 00 03 80 E5
    • return: A5 06 00 21 00 03 80 E5
  • Obtain the code number:
    • send out: A5 03 00 21 00 01 CD 24
    • return: A5 03 02 00 03 89 9C
    • explainThe TV code number is: 3.

13. Set top box code library code

  • Set code number:
    • send out: A5 06 00 22 00 0B 71 23
    • return: A5 06 00 22 00 0B 71 23
  • Obtain the code number:
    • send out: A5 03 00 22 00 01 3D 24
    • return: A5 03 02 00 0B 88 5A
    • explainThe set-top box code number is: 11.

14. Air conditioning status register - Combination state

  • send out: A5 10 00 2A 00 03 06 02 E4 AA 10 00 00 18 06
  • return: A5 10 00 2A 00 03 B8 E4
002A寄存器:空调代码号,高位在前
002B寄存器:高位相当于红外协议状态码1 低位相当于红外协议的状态码2
002C寄存器:高位相当于红外协议的按键码  低位参数为0使用指令中的代码号 参数为1使用本地代码号
返回:A5 10 00 2A 00 03 B8 E4 

15. Air conditioning status register - Power status

  • Control the air conditioning switch:
    • send out: A5 06 00 25 00 01 40 E5
    • return: A5 06 00 25 00 01 40 E5
    • explainThe air conditioning is turned on.
    • Turn off the air conditioning:
      • send out: A5 06 00 25 00 00 81 25
      • return: A5 06 00 25 00 00 81 25
  • Obtain the power status of the air conditioner:
    • send out: A5 03 00 25 00 01 8C E5
    • return: A5 03 02 00 00 C9 9D
    • explainThe air conditioner is turned off.

16. Air conditioning status register - Temperature status

  • Control the air conditioning temperature:
    • send out: A5 06 00 26 00 0E F0 E1
    • return: A5 06 00 26 00 0E F0 E1
    • explainThe air conditioning temperature is set to 30°C.
  • Obtain the temperature status of the air conditioner:
    • send out: A5 03 00 26 00 01 7C E5
    • return: A5 03 02 00 0E 48 59
    • explainThe air conditioning temperature is: 30°C.

17. Air conditioning status register - Mode status

  • Control the air conditioning mode:
    • send out: A5 06 00 27 00 04 21 26
    • return: A5 06 00 27 00 04 21 26
    • explainThe air conditioning mode is set to heating.
  • Obtain the air conditioning mode status:
    • send out: A5 03 00 27 00 01 2D 25
    • return: A5 03 02 00 04 C8 5E
    • explainThe air conditioning mode is: heating.
    • Control the air conditioning mode(0: Automatic 1: Refrigeration 2Dehumidification 3: Air supply 4Heating)

18. Air conditioning status register - Wind speed status

  • Control the air conditioning speed:
    • send out: A5 06 00 28 00 03 50 E7
    • return: A5 06 00 28 00 03 50 E7
    • explainThe air conditioning speed is set to Level 3.
  • Obtain the air conditioning speed status:
    • send out: A5 03 00 28 00 01 2D 25
    • return: A5 03 02 00 03 89 9C
    • explainThe air conditioning speed is: Level 3.
    • Control the air conditioning speed(0: Automatic 1: Level 1 2: Level 2 3Level 3)

19. Air conditioning status register - Lighting status

  • Control the air conditioning screen display:
    • send out: A5 06 00 29 00 01 80 E6
    • return: A5 06 00 29 00 01 80 E6
    • explainThe air conditioning screen display is turned on.
  • Obtain the display status of the air conditioning screen:
    • send out: A5 03 00 29 00 01 4C E6
    • return: A5 03 02 00 01 08 5D
    • explainThe air conditioning screen displays as: Open.

20. TV status register - Power status

  • send out: A5 06 00 2D 00 01 C1 27
  • return: A5 06 00 2D 00 01 C1 27

21. TV status register - Volume status

  • send out: A5 06 00 2E 00 01 31 27
  • return: A5 06 00 2E 00 01 31 27
  • Send TV volume code(1: Increase volume 0Volume reduction)

22. TV status register - Channel status

  • send out: A5 06 00 2F 00 01 60 E7
  • return: A5 06 00 2F 00 01 60 E7
  • Send TV channel code(1Channel Add 0Channel reduction)

23. TV status register - Signal source status

  • send out: A5 06 00 30 00 01 51 21
  • return: A5 06 00 30 00 01 51 21

24. TV status register - Return status

  • send out: A5 06 00 31 00 01 00 E1
  • return: A5 06 00 31 00 01 00 E1

25. Set top box status register - Power status

  • send out: A5 06 00 35 00 01 41 20
  • return: A5 06 00 35 00 01 41 20

26. Set top box status register - Volume status

  • send out: A5 06 00 36 00 01 B1 20
  • return: A5 06 00 36 00 01 B1 20
  • Send the volume code of the set-top box(1: Increase volume 0Volume reduction)

27. Set top box status register - Channel status

  • send out: A5 06 00 37 00 01 E0 E0
  • return: A5 06 00 37 00 01 E0 E0
  • Send the channel code of the set-top box(1Channel addition 0Channel reduction)

28. Set top box status register - Signal source status

  • send out: A5 06 00 38 00 01 D0 E3
  • return: A5 86 01 C2 43
  • explainThe set-top box has no signal source data.

29. Set top box status register - Return status

  • send out: A5 06 00 39 00 01 81 23
  • return: A5 06 00 39 00 01 81 23

30. Download air conditionerdpdata Data frame example:1 (0x0100-0x04bf)

The first frame

  1. Second frame: A5 10 01 00 00 78 F0 03 45 29 2D 13 43 42 36 02 15 01 04 A2 AC A7 B5 B0 B1 B2 AD FF 05 A1 AE FF 07 A1 AE FF 06 A6 FF 08 A3 FF 03 AB B3 FF 02 A8 FF 00 A8 FF 01 8D 9D FF 00 FF FF 02 01 00 00 01 00 02 00 00 02 01 00 00 02 00 00 00 00 02 00 00 03 00 01 01 03 00 02 03 00 00 04 01 05 03 04 00 00 04 00 00 00 01 06 00 01 FF 02 00 FF 02 01 FF 02 31 FF 07 32 33 34 35 36 37 FF 06 B2 4D 00 00 00 00 06 B5 4A F5 00 00 00 06 B2 4D 7B 84 E0 1F 06 B2 4D 0F F0 E0 1F 06 B2 4D 6B 94 E0 1F 0C B2 4D E0 1F 03 FC B2 4D 00 00 00 00 12 B3 88 9A AA AA D7 B4 AA FF 40 66 FD B2 4D BF 40 D0 2F 00 00 11 11 30 1B 23 1B 6B A2 00 80 13 00 25 9D C0 FF FF FF FF FF 00 00 11 11 30 1B 23 1B 6B E0 00 80 13 00 25 9D C0 FF FF FF FF FF 00 00 11 11 30 1B 23 1B 6B 80 00 00 FF 98 1A
  2. The third frame: A5 10 01 78 00 78 F0 02 25 9D C0 FF FF FF FF FF 01 FF 0C 40 0B FF 06 C0 00 05 06 00 01 FF FF 0C 00 0B FF 04 C0 00 03 04 00 01 FF FF 0C 40 0B FF 0C C0 00 0B 0C 00 01 FF FF 0C 00 0B FF 0A C0 00 09 0A 00 01 FF FF 01 FF 01 FF FF 1E 20 03 FF BF 21 03 FF 9F 22 03 FF 5F 23 03 FF 3F 10 03 FF 1F 12 03 FF 1F 10 05 0C 08 12 05 0C 04 14 05 0C 0C 52 05 F0 10 53 05 F0 30 54 05 F0 20 55 05 F0 60 56 05 F0 70 57 05 F0 50 58 05 F0 40 59 05 F0 C0 5A 05 F0 D0 5B 05 F0 90 5C 05 F0 80 5D 05 F0 A0 5E 05 F0 B0 13 05 FC E4 20 08 FF 66 21 08 FF 28 22 08 FF 3C 23 08 FF 50 10 08 FF 65 12 08 FF 65 09 09 80 80 46 80 06 7F 00 81 06 7F 03 82 06 7F 07 83 06 7F 0B 84 06 7F 0F 85 06 7F 13 86 06 7F 17 87 06 7F 1B 88 06 7F 1F 89 06 7F 2B 8A 06 7F 27 8B 06 7F 2B 8C 06 D0 25
  3. The fourth frame: A5 10 01 F0 00 78 F0 7F 2F 99 05 03 01 9A 05 03 01 9B 05 03 01 9C 05 03 01 90 03 1F 00 91 03 1F 03 92 03 1F 07 93 03 1F 0B 94 03 1F 0F 95 03 1F 13 96 03 1F 17 97 03 1F 1B 98 03 1F 1F 99 03 1F 03 9A 03 1F 07 9B 03 1F 0B 9C 03 1F 0F 9D 06 7F 7F 8D 05 03 03 20 03 E0 A0 21 03 E0 80 22 03 E0 40 23 03 E0 20 10 03 E0 00 12 03 E0 00 10 05 0C 08 11 05 0C 00 12 05 0C 04 13 05 0C 00 14 05 0C 0C 50 05 F0 00 51 05 F0 00 52 05 F0 10 53 05 F0 30 54 05 F0 20 55 05 F0 60 56 05 F0 70 57 05 F0 50 58 05 F0 40 59 05 F0 C0 5A 05 F0 D0 5B 05 F0 90 5C 05 F0 80 5D 05 F0 A0 5E 05 F0 B0 5A 06 80 80 5B 06 80 80 5C 06 80 80 5D 06 80 80 5E 06 80 80 20 08 FF 66 21 08 FF 28 22 08 FF 3C 23 08 FF 50 10 08 FF 65 12 08 FF 65 09 09 80 80 08 B0 05 FF A9 B1 05 FF A9 AD BF 65
  4. End frame: A5 10 02 68 00 3B 76 05 FF A5 A7 05 FF AA B5 05 FF A3 A2 05 FF A2 AC 05 FF A2 B2 05 FF 86 17 20 09 FF BF 21 09 FF 9F 22 09 FF 5F 23 09 FF 3F 10 09 FF 1F 12 09 FF 1F 10 0B 0C 08 12 0B 0C 04 14 0B 0C 0C 52 0B F0 10 53 0B F0 30 54 0B F0 20 55 0B F0 60 56 0B F0 70 57 0B F0 50 58 0B F0 40 59 0B F0 C0 5A 0B F0 D0 5B 0B F0 90 5C 0B F0 80 5D 0B F0 A0 5E 0B F0 B0 12 0B FC E4 01 00 DF A2
  5. Download air conditioner: A5 10 04 48 00 02 04 00 00 00 00 D3 CB

30.1data The first frame:dpSecond frame:2(0x2100-0x24bf)

  • The third frame:A5 10 21 00 00 78 F0 01 E2 17 05 02 15 16 14 01 79 01 00 A0 A1 AE B0 B1 A2 A3 A4 A5 A6 A8 A9 AC AD B2 B4 AA AB AF B3 FF FF 00 00 00 00 00 01 FF 14 A6 00 00 00 00 00 00 00 00 00 00 00 00 00 B5 00 00 00 00 00 BB BB BB 11 10 22 22 22 67 80 00 00 FF 00 33 00 C0 FF FF FF FF FF 09 40 0B FF 14 C0 00 0F 13 FF 09 00 0B FF 0E C0 00 01 0D FF 5E 20 06 E0 A0 21 06 E0 60 22 06 E0 40 23 06 E0 20 11 08 E0 20 12 08 E0 40 13 08 E0 C0 14 08 E0 80 01 05 40 40 07 05 80 80 51 02 F0 10 52 02 F0 20 53 02 F0 30 54 02 F0 40 55 02 F0 50 56 02 F0 60 57 02 F0 70 58 02 F0 80 59 02 F0 90 5A 02 F0 A0 5B 02 F0 B0 5C 02 F0 C0 5D 02 F0 D0 5E 02 F0 E0 31 02 0F 0C 32 02 0F 02 33 02 0F 04 34 02 0F 06 35 02 0F 08 36 02 0F 0A 37 02 0F 0F 41 03 F0 E0 42 03 F0 20 43 03 F0 05 F2
  • End frame:A5 10 21 78 00 78 F0 40 44 03 F0 60 45 03 F0 80 46 03 F0 A0 47 03 F0 C0 61 04 02 02 05 07 40 40 0F 07 80 80 03 09 80 80 0D 09 40 40 09 0B 08 08 8D 04 40 40 9D 04 20 20 6F 04 20 20 81 08 1F 01 82 08 1F 02 83 08 1F 03 84 08 1F 04 85 08 1F 05 86 08 1F 06 87 08 1F 07 88 08 1F 08 89 08 1F 09 8A 08 1F 0A 8B 08 1F 0B 8C 08 1F 0C 91 06 1F 01 92 06 1F 02 93 06 1F 03 94 06 1F 04 95 06 1F 05 96 06 1F 06 97 06 1F 07 98 06 1F 08 99 06 1F 09 9A 06 1F 0A 9B 06 1F 0B 9C 06 1F 0C A9 0D 7F 04 A1 0D 7F 02 AE 0D 7F 02 B0 0D 7F 03 B1 0D 7F 03 A7 0D 7F 19 A5 0D 7F 01 A6 0D 7F 09 A8 0D 7F 05 A0 0D 7F 06 A3 0D 7F 0B A2 0D 7F 08 B2 0D 7F 08 AC 0D 7F 16 AD 0D 7F 15 B4 0D 7F 07 AA 0D 7F 10 AB 0D 7F 0D AF 0D 7F 10 B3 0D 7F 0D 21 11 F0 C0 22 11 F0 80 23 11 F0 A1 30
  • Room number (Bluetooth name)A5 10 21 F0 00 01 02 40 01 B9 65
  • Set room numberA5 10 24 48 00 02 04 00 00 00 00 4A 0A
测试指令:
A5 10 00 2A 00 03 06 FF 02 AA 10 00 00 04 3D

31. send out

  • return:
    • Obtain room number: A5 06 00 1D 03 E9 C1 96
    • send out: A5 06 00 1D 03 E9 C1 96
  • return:
    • explain: A5 03 00 1D 00 01 24 1B
    • The room number is: A5 03 02 03 E9 08 E3
    • ExplanationThe room number is 1001.

32. Read and write learning data

  • Read channel63Learning data:
    • send out: A5 03 11 4E 00 32 B8 10
    • return: A5 03 64 FA 56 67 00 4C E0 0C 00 00 71 0F 2B 39 98 04 69 09 8B 13 00 00 40 80 41 81 06 41 82 18 41 C1 40 83 41 C2 40 83 41 C3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FC 00 07 00 00 00 00 00 00 00 00 57 BA
  • Write channel63Learning data:
    • send out: A5 10 11 4E 00 32 64 B4 56 67 50 00 71 0D 00 00 71 2B 0E 00 77 04 92 09 00 20 00 00 40 80 41 81 41 82 1E 41 C1 40 80 01 41 C2 40 80 01 41 C3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4B B4 2F 2D 00 00 00 00 00 00 00 FC 12
    • return: A5 10 11 4E 00 32 3D D3

33. to configurePB1Function

  • set upPB1ForADtesting:
    • send out: A5 06 00 1E 00 00 F0 E8
    • return: A5 06 00 1E 00 00 F0 E8
  • obtainPB1Function:
    • send out: A5 03 00 1E 00 01 FD 28
    • return: A5 03 02 00 00 C9 9D
    • explainThe function is: 0.

34. pairADVoltage (accuracy10mV)

  • settingADvoltage is2V:
    • send: A5 06 00 1F 00 C8 A0 BE
    • return: A5 06 00 1F 00 C8 A0 BE
  • get setADvoltage:
    • send: A5 03 00 1F 00 01 AC E8
    • return: A5 03 02 00 C8 C8 0B
    • descriptionvoltage is 2V.

35. get switch status

  • send: A5 03 00 3A 00 01 BD 23
  • return: A5 03 02 00 01 08 5D
  • descriptionswitch status is on.

36. getPB1voltage

  • send: A5 03 00 3B 00 01 EC E3
  • return: A5 03 02 00 E5 08 16
  • description: PB1voltage is 2.29V.

37. getMACaddress

  • send: A5 03 00 04 00 03 5D 2E
  • return: A5 03 06 D8 2F E6 59 E8 7E 05 D7
  • description: MACaddress is D8:2F:E6:59:E8:7E.

38. Bluetooth control data testing

  • turn off air conditioning data testing protocol:
    • Bluetooth send: FF 55 00 15 08 01 02 03 04 A5 06 00 25 00 00 81 25 FD 81 FF AA
    • Bluetooth receive: FF 55 00 15 08 01 02 03 04 A5 06 00 25 00 00 81 25 FD 81 FF AA

39. Bluetooth transparent data testing

  • serial port reporting data:
    • send: A5 10 30 00 00 01 02 11 22 D0 DD
    • Bluetooth receive: FF 55 00 0F 18 00 00 00 63 11 22 B4 82 FF AA
  • Bluetooth sends transparent transmission data:
    • send out: FF 55 00 15 18 01 02 03 04 A5 06 00 25 00 00 81 25 0C 6B FF AA
    • Chip serial port output: A5 06 00 25 00 00 81 25
Put this resource to use in a real project?

Go to the Tool Center for message parsing, CRC verification and device debugging, or submit your requirements for selection and integration advice.

Engineer Membership

Turn this article into actionable debugging resources

After activation, you can use advanced message parsing, resource pack downloads, code examples, engineering cases and priority technical support, suitable for real project delivery.

Unlimited Advanced Tools
Resource & Code Packs
Complete Engineering Case Library
Priority Technical Support

Leave a Reply

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