uploaded 2 months ago
ir learn with RMT

readme

[![Component Registry](https://components.espressif.com/components/espressif/ir_learn/badge.svg)](https://components.espressif.com/components/espressif/ir_learn)

| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
## Component IR Learn

This is an RMT-based `IR Learn` component that can receive to analyze infrared signals with a `38KHz` carrier. The signal collected by the component is saved and forwarded in the form of `raw`, and the specific analysis of the infrared protocol is not supported now.

## How to Use Example

### Hardware Required

* A development board with supported SoC mentioned in the above `Supported Targets` table
* An USB cable for power supply and programming
* A 5mm infrared LED (e.g. IR333C) used to transmit encoded IR signals
* An infrared receiver module (e.g. IRM-3638T), which integrates a demodulator and AGC circuit
### Hardware Connection

```
   IR Receiver (IRM-3638T)                 ESP Board                        IR Transmitter (IR333C)
+--------------------------+       +----------------------+              +---------------------------+
|                        RX+-------+IR_RX_GPIO  IR_TX_GPIO+--------------+TX                         |
|                          |       |                      |              |                           |
|                       3V3+-------+3V3                 5V+--------------+VCC                        |
|                          |       |                      |              |                           |
|                       GND+-------+GND                GND+--------------+GND                        |
+--------------------------+       +----------------------+              +---------------------------+
```

changelog

# ChangeLog

## v0.2.0 - 2024-01-26

* Optimize the structure definition

## v0.1.1 - 2023-11-23

* Fix possible cmake_utilities dependency issue

## v0.1.0 - 2023-1-5

### Enhancements:

* Initial version

Links

License: Apache-2.0

To add this component to your project, run:

idf.py add-dependency "espressif/ir_learn^0.2.0"

or download archive

Dependencies

  • espressif/cmake_utilities 0.*
  • ESP-IDF >=5.0
  • Stats

    • Downloaded in total
      Downloaded in total 783 times
    • Downloaded this version
      This version: 7 times

    Badge

    espressif/ir_learn version: 0.2.0
    |