https://github.com/walvi112/esp-irmp_irsnd
Infrared Multi Protocol Decoder + Encoder Component for ESP-IDF
https://github.com/walvi112/esp-irmp_irsnd
c esp-idf esp32 infrared irmp irsnd
Last synced: 11 months ago
JSON representation
Infrared Multi Protocol Decoder + Encoder Component for ESP-IDF
- Host: GitHub
- URL: https://github.com/walvi112/esp-irmp_irsnd
- Owner: walvi112
- License: gpl-3.0
- Created: 2025-02-02T04:55:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-08T15:48:20.000Z (over 1 year ago)
- Last Synced: 2025-03-08T16:30:11.020Z (over 1 year ago)
- Topics: c, esp-idf, esp32, infrared, irmp, irsnd
- Language: C
- Homepage:
- Size: 115 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESP-IRMP_IRSND - Infared Multi Protocol Decoder and Encoder for ESP-IDF
Support up to 50 different protocols.
This is a port version of the library IRMP & IRSND V3.2.6 on ESP-IDF framework.
# Features
- Extensive Protocol Support: support 50 different infrared (IR) and 3 radio frequency (RF) protocols.
- Concurrent Decoding: concurrently receive up to 40 IR protocols.
- Low Memory Footprint.
- Bidirectional Communication: support both receiving and sending of IR signals within the same application.
# Install
- Clone this repo and put in the component folder of your ESP-IDF project.
- Configure the irmpconfig.h and irsndconfig.h to enable/disable the protocols and other options. Please read the original documents below to understand the configurations and API calls.
# Documentation
### English
http://www.mikrocontroller.net/articles/IRMP_-_english
http://www.mikrocontroller.net/articles/IRSND_-_english
### German
http://www.mikrocontroller.net/articles/IRMP
http://www.mikrocontroller.net/articles/IRSND
# Example
### SimpleReceiver
Decode and log all incomming IR signal. The IR input pin is set at GPIO13, you can change it by changing the IRMP_BIT_NUMBER define line of the ESP_PLATFORM preprocessor definition in irmpconfig.h.
### SimpleSender
Send NEC frame every 1s. The IR output pin is set at GPIO4, you can change it by changing the IRSND_PIN define line of the ESP_PLATFORM preprocessor definition in irsndconfig.h.