GitRead 中文社区
首页趋势排行榜原创文章严选周刊
更多资源
新手训练营
精选专题热门话题GitHub 文档资源精选实战指南

IRremoteESP8266

Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/

  • 语言C++
  • 默认分支master
  • 大小29.6 MB
  • 更新8月23日
  • Issues115
在 GitHub 打开
avatarcrankyoldgit

项目介绍

crankyoldgit/IRremoteESP8266 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,采用 GNU Lesser General Public License v2.1 许可证,目前获得 3.7k 个 Star、945 次 Fork。

仓库全名
crankyoldgit/IRremoteESP8266

README 摘要

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

IRremoteESP8266 用什么语言开发?

主要使用 C++ 编写,采用 GNU Lesser General Public License v2.1 许可证,目前有 3.7k 个 Star。

IRremoteESP8266 可以免费商用吗?

仓库标注的许可证为 GNU Lesser General Public License v2.1,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 IRremoteESP8266 的源码?

可以直接克隆仓库:git clone https://github.com/crankyoldgit/IRremoteESP8266.git,默认分支为 master;安装与运行步骤见仓库 README。

IRremoteESP8266 最近还在维护吗?

仓库最近一次更新为 8月23日,当前有 115 个未关闭 Issue;Star 数为 3.7k,可作为社区活跃度的参考。

本页面展示项目元数据与原始 README,GitRead 中文社区 编辑团队负责选题收录。

相关仓库

tensorflow/tensorflow avatar
tensorflowtensorflow
1 小时前
201.4k
78.2k
3.4k

面向所有人的开源机器学习框架

deep-learningdeep-neural-networksdistributed+5
C++
1.4 GB
0
详情
ggml-org/llama.cpp avatar
llama.cppggml-org
1 小时前
133.8k
25.3k
2.6k

C/C++ 中的大语言模型推理

ggml
C++
479.1 MB
3
详情
react/react-native avatar
react-nativereact
56 分钟前
126.9k
25.5k
1.4k

使用 React 构建原生应用的框架

androidapp-frameworkcross-platform+5
C++
970.4 MB
0
详情
electron/electron avatar
electronelectron
1 小时前
123.8k
17.9k
780

使用 JavaScript、HTML 和 CSS 构建跨平台桌面应用

electronjavascriptc-plus-plus+6
C++
227.6 MB
0
详情
godotengine/godot avatar
godotgodotengine
2 天前
119.9k
26.8k
13.4k

Godot Engine – 多平台 2D 和 3D 游戏引擎

game-developmentgame-enginegamedev+4
C++
1.8 GB
0
详情
microsoft/terminal avatar
terminalmicrosoft
2 天前
105.4k
9.6k
1.7k

新的 Windows Terminal 和原始的 Windows 控制台主机,全都集中在这里!

cmdcommand-lineconsole+8
C++
177.4 MB
0
详情
opencv/opencv avatar
opencvopencv
3 小时前
91.5k
57.1k
2.9k

开源计算机视觉库

opencvc-plus-pluscomputer-vision+2
C++
558.2 MB
0
详情
bitcoin/bitcoin avatar
bitcoinbitcoin
3 小时前
90.6k
30.0k
345

Bitcoin Core 集成/暂存树

bitcoinc-plus-pluscryptocurrency+2
C++
324.5 MB
0
详情

关于

940nmairconditionersarduinoarduino-idearduino-librarycommunicationesp32esp8266hacktoberfesthome-automationhvachvac-controlinfraredir-decoderir-deviceplatformioprotocolsremote-control
  • GNU Lesser General Public License v2.1
  • 3.7k Stars
  • 945 Forks
  • 99 Watching

简要分析

热度分
5654
价值分
2486
活跃状态
活跃
GitHub

语言占比

C
C++
Makefile
Python
SWIG
Shell

Release

  • IRremoteESP8266 v2.9.01月3日
  • IRremoteESP8266 v2.8.62023年7月28日
  • IRremoteESP8266 v2.8.52023年5月8日
  • IRremoteESP8266 v2.8.42022年9月18日
  • IRremoteESP8266 v2.8.32022年9月16日

贡献者

crankyoldgitcrankyoldgitsiriuslzxsiriuslzxmarkszabomarkszaboNiKiZeNiKiZejamsinclairjamsinclairroidayanroidayanPtilopsisLeucotisPtilopsisLeucotistonhuismantonhuismansillyfrogsillyfrogscopscopmbronkmbronkfinfinackfinfinack

IRremoteESP8266 Library

Build Status Code Lint Tests Documentation arduino-library-badge GitLicense

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.

评论

登录 后发表评论
暂无评论
GitRead 中文社区
深度解读 · 趋势洞察 · 价值精选

关于

关于我们联系我们编辑准则收录标准赞赏人员

发现

技术趋势新手训练营资源精选实战指南精选专题热门话题GitHub 文档

条款

隐私政策服务条款网站地图
26.9万收录项目
5.1万中文话题
155精选专题
发现技术价值,连接开源智慧
© 2026 GitRead · GitHub 中文社区 本站与 GitHub, Inc. 无隶属关系;GitHub 是 GitHub, Inc. 的商标。