Skip to content

Commit 599861e

Browse files
smkentswoboda1337
andcommitted
Add demod docs (#4893)
Co-authored-by: Jonathan Swoboda <[email protected]>
1 parent 24122f0 commit 599861e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

content/components/remote_receiver.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,20 @@ Multiple remote receivers can be configured as a list of dict definitions within
125125
- **use_dma** (*Optional*, boolean): Enable DMA on variants that support it. If enabled `rmt_symbols` controls
126126
the DMA buffer size and can be set to a large value.
127127

128+
#### Signal Demodulation
129+
130+
In rare hardware configurations where the microcontroller will receive modulated signals, the RMT peripheral supports
131+
signal demodulation. If you aren't sure, you probably don't need this. Infrared remote signals, for example, are
132+
typically demodulated by an infrared receiver module (IRM) before reaching the microcontroller.
133+
134+
To enable signal demodulation, configure the signal carrier frequency and duty cycle:
135+
136+
- **carrier_duty_percent** (*Optional*, int): The carrier duty cycle for signal demodulation in the RMT peripheral in
137+
Hz. Defaults to ``100``.
138+
139+
- **carrier_frequency** (*Optional*, int): The carrier frequency for signal demodulation in the RMT peripheral in Hz.
140+
Defaults to ``0Hz`` (carrier demodulation disabled).
141+
128142
> [!NOTE]
129143
> The dumped **raw** code is sequence of pulse widths (durations in microseconds), positive for on-pulses (mark)
130144
> and negative for off-pulses (space). Usually you can to copy this directly to the configuration or automation

0 commit comments

Comments
 (0)