# BC7215离线空调遥控库Arduino版 **Repository Path**: bitcode-tech/bc7215ac ## Basic Information - **Project Name**: BC7215离线空调遥控库Arduino版 - **Description**: BC7215离线万能空调遥控码库Arduino版,内含以下例子: • ESP8266 演示非阻塞版 ( 使用软件串口与 BC7215A 通讯,并利用 Arduino IDE 的串口监视器作 为用户交互渠道,软件为非阻塞式设计 ) • ESP32 演示串口监视器英文版 (ESP8266 演示的 ESP32 移植 ) • ESP32 演示串口监视器中文版 (ESP8266 演示的 ESP32 移植 ) • ESP32 演示 LCD 英文版 ( 使用 LILYGO T-Display 的板载按键和 LCD 屏 ) • ESP32 演示 LCD 中文版 ( 使用 LILYGO T-Display 的板载按键和 LCD 屏 ) • ESP32 演示 MQTT 英文版 ( 在 LCD 版基础上增加了联网功能,可利用 MQTT 协议进行空调的 联网控制,以及将空调状态进行网络上报 ) • ESP32 演示 MQTT 中文版 ( 在 LCD 版基础上增加了联网功能,可利用 MQTT 协议进行空调的 联网控制,以及将空调状态进行网络上报 ) • Nano33 IoT 英文版,使用串口监视器。 • ESP32 HA (Home Assistant) 版 ( 在 ESP32 MQTT 版基础上修改为可自动接入 HA) • ESP8266 HA 版 ( 无 LCD 显示的 HA 版 ) - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-05-16 - **Last Updated**: 2026-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # BC7215AC Offline Universal Air Conditioner IR Control Library For Arduino [[简体中文](./extras/doc/README_CN.md)] ****2 major functionalities of this library:**** * ##### Sending IR to control Temp, Mode, Fan & Power of an A/C * ##### Receiving IR to decode these information from the signal This library uses BC7215A chip as it's core functioning component and can let your Arduino control almost any air conditioner available on the market ![](./extras/img/supported_list_en.png) [Supported brands list](./extras/doc/Supported_ac_brand_list-en.pdf) It runs locally with a small footprint, no online database is needed! The library leverages the BC7215A's ability to decode/transmit IR signal in arbitrary format, and can recognise and pair with any air conditioner with one click. **Relative Documents:** [BC7215A datasheets](./extras/doc/bc7215_en.pdf) [Schematic of the BC7215A IR transceiver board](./extras/doc/bc7215_arduino_board.pdf) ![Demo application with ESP32](./extras/img/system_en.jpg) This is the Arduino encapsulation of the same library's C version, making it work seamlessly with Arduino through simple function calls. The library supports key air conditioner operations: temperature adjustment, mode selection, fan speed control, and power on/off. It also supports parsing of the IR signal, read these settings form IR. 2 manuals are provided: * [A/C Control Library User's Manual](./extras/doc/BC7215AC_arduino_ac_lib.pdf) * [User's Manual for built-in examples](./extras/doc/AC_control_examples.md) Though the library user's manual (pdf) available in the document directory provides more details, the best way to learn about this library is to follow the examples. There are 5 examples provided with the library, and each one has both English and Chinese versions: - **ESP8266 Serial Monitor Version** - ****ESP32 Serial Monitor Version**** - ****Arduino Nano 33 IoT Serial Monitor Version**** - ****ESP32 LCD Version**** - ****ESP32 MQTT online IoT Version**** - **ESP32 Home Assistant Example** - **ESP8266 Home Assistant Example** It's recommended to start with the serial monitor examples to get familiar with the library functions, then progress to LCD and MQTT versions for more advanced integrations. "**ESP8266 Serial Monitor Version**" Using software serial for communication with the BC7215A and the Arduino IDE serial monitor for user interaction. It demonstrates all the features of this library. "**ESP32 Serial Monitor Version**" is port of the ESP8266 example, adapted for ESP32 hardware. **"Arduino Nano 33 Iot Serial Monitor Version"** is a port to the popular official board with ATMEL SAMD processor. "**ESP32 LCD Version**" utilize the LILYGO T-Display's onboard buttons and LCD for a user-friendly interface, demonstrating control without relying on a computer. "**ESP32 MQTT IoT Version**" extend the LCD version with networking capabilities, allowing MQTT-based remote control and status reporting for IoT applications. "**ESP32/8266 Home Assistant Example**" Can promote itself to Home Assistant and get Integrated automatically, then you can control the AC in HA immediately. Please see [**A/C Control Examples**](./extras/doc/AC_control_examples.md) (markdown) for detailed information about the examples. Or the [**PDF version**](./extras/doc/AC_control_examples.pdf) if you prefer. ## Other Documents: This A/C remote control library comes with the BC7215 chip driver library as a low level driver, Here are the relative documents: [**BC7215 CHIP DRIVER LIBRARY README FILE**](./extras/doc/README_BC7215_DRIVER.md)