百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
I

IRremoteESP8266

> 数据库
开源

适用于 ESP8266/ESP32 的红外遥控库: 使用多种协议发送和接收红外信号。基于: https://GitHub.com/shirriff/Arduino-IRremote/

3.6K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

适用于 ESP8266/ESP32 的红外遥控库: 使用多种协议发送和接收红外信号。基于: https://GitHub.com/shirriff/Arduino-IRremote/

This library enables you to send and receive infra-red signals on an ESP8266 or an ESP32 using the Arduino framework using common 940nm IR LEDs and common IR receiver modules. e.g. TSOP{17,22,24,36,38,44,48}* demodulators etc.

v2.9.0 Now Available

Version 2.9.0 of the library is now available. You can view the Release Notes for all the significant changes.

Upgrading from pre-v2.0

Usage of the library has been slightly changed in v2.0. You will need to change your usage to work with v2.0 and beyond. You can read more about the changes required on our Upgrade to v2.0 page.

Upgrading from pre-v2.5

The library has changed from using constants declared as #define to const with the appropriate naming per the C++ style guide. This may potentially cause old programs to not compile. The most likely externally used #defines have been aliased for limited backward compatibility for projects using the old style. Going forward, only the new kConstantName style will be supported for new protocol additions.

In the unlikely case, it does break your code, then you may have been referencing something you likely should not have. You should be able to quickly determine the new name from the old. e.g. CONSTANT_NAME to kConstantName. Use common sense or examining the library's code if this does affect code.

Supported Protocols

You can find the details of which protocols & devices are supported here.

Troubleshooting

Before reporting an issue or asking for help, please try to follow our Troubleshooting Guide first.

Frequently Asked Questions

Some common answers to common questions and problems are on our F.A.Q. wiki page.

Library API Documentation

This library uses Doxygen to automatically document the library's API. You can find it here.

Installation

Official releases via the Arduino IDE v1.8+ (Windows & Linux)
  1. Click the "Sketch" -> "Include Library" -> "Manage Libraries..." Menu items.
  2. Enter IRremoteESP8266 into the "Filter your search..." top right search box.
  3. Click on the IRremoteESP8266 result of the search.
  4. Select the version you wish to install and click "Install".
Manual Installation for Windows
  1. Click on "Clone or Download" button, then "Download ZIP" on the page.
  2. Extract the contents of the downloaded zip file.
  3. Rename the extracted folder to "IRremoteESP8266".
  4. Move this folder to your libraries directory. (under windows: C:\Users\YOURNAME\Documents\Arduino\libraries\)
  5. Restart your Arduino IDE.
  6. Check out the examples.
Using Git to install the library ( Linux )
cd ~/Arduino/libraries
git clone https://github.com/crankyoldgit/IRremoteESP8266.git
To update to the latest version of the library
cd ~/Arduino/libraries/IRremoteESP8266 && git pull

Contributing

If you want to contribute to this project, consider:

  • Reporting bugs and errors
  • Ask for enhancements
  • Improve our documentation
  • Creating issues and pull requests
  • Tell other people about this library
  • Updated documentation formatting and clarified installation steps (Hacktoberfest contribution by Prerna Utage)

Contributors

Available here

Library History

This library was originally based on Ken Shirriff's work (https://github.com/shirriff/Arduino-IRremote/)

Mark Szabo has updated the IRsend class to work on ESP8266 and Sebastien Warin the receiving & decoding part (IRrecv class).

As of v2.0, the library was almost entirely re-written with the ESP8266's resources in mind.

About This Project

This project allows decoding and encoding of IR signals for controlling Air Conditioners and other devices using ESP8266 or ESP32 boards.

GitHub Issues· 107 开放

在 GitHub 查看全部
  • #2294

    MWM: only the first frame of an A-B-A' bundle is decoded; the rest of the rawData buffer is ignored

    bug更新于 2026年9月17日
  • #2289

    Bug: MWM decoder drops last byte when raw buffer ends before stop bit

    更新于 2026年9月15日
  • #2292

    SANYO_AC152: Partial field mapping (power, temp, fan, swing angle, checksum)

    更新于 2026年9月11日
  • #2283

    WREM2 transmit appears incompatible with a real Argo Ulisse Eco (WREM2-V1) – original hardware available for validation

    更新于 2026年8月16日
  • #2260

    ESP32C6 sendNEC timing off wrt LG WebOS IR TV remote

    help wantedmore infoESP32Pending Analysis更新于 2026年7月29日
  • #2262

    Protocol Request: Mitsubishi Heavy Industries (Jinling) SRK-AJ — undocumented 64-bit A/C IR protocol

    enhancementhelp wantedmore infoPending AnalysisFeature Request更新于 2026年7月28日
  • #2275

    Add Bush FZ10-17KR tower fan to MIDEA24 supported devices

    更新于 2026年7月18日
  • #2273

    Full reverse-engineering of Climabutler protocol

    更新于 2026年6月30日
  • #2272

    AUX AC with remote control panel YKR-T/011 is not correct with this repo.

    更新于 2026年6月28日
  • #2042

    Panasonic AC 128bit

    help wanted更新于 2026年6月24日

核心特点

  • •Reporting bugs and errors
  • •Ask for enhancements
  • •Improve our documentation
  • •Creating issues and pull requests
  • •Tell other people about this library
  • •Updated documentation formatting and clarified installation steps (Hacktoberfest contribution by Prerna Utage)

> 标签

C++940nmairconditionersarduinoarduino-ide

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库