Page 1 of 2

Many IR receivers on a single ESP32 using RMT?

Posted: Thu Nov 28, 2024 10:02 am
by michcfr
Hello,
I need to connect many IR receivers on a single ESP32 using RMT.
Can RMT manage multiple IR receivers?
If yes, what is the maximum IR receivers can I connect?
What is the more appropriate ESP32 model you would advise?

Thank you

Re: Many IR receivers on a single ESP32 using RMT?

Posted: Thu Nov 28, 2024 11:40 am
by MicroController

Re: Many IR receivers on a single ESP32 using RMT?

Posted: Thu Nov 28, 2024 12:30 pm
by ok-home
hi not really, in the link the calculation of the maximum number of bits,
for esp32 channels is 8 rx or tx
esp32s2 is 4 rx or tx
esp32s3 4 rx and 4 rx
esp32c3 2 rx and 2 tx

Re: Many IR receivers on a single ESP32 using RMT?

Posted: Sun Dec 01, 2024 9:26 am
by michcfr
ok so RMT can manage only one IR receivers?

Re: Many IR receivers on a single ESP32 using RMT?

Posted: Sun Dec 01, 2024 10:59 am
by ok-home
michcfr wrote:
Sun Dec 01, 2024 9:26 am
ok so RMT can manage only one IR receivers?
esp32 8 transmitter or 8 receiver or 4 transmitter and 4 receiver .....

Re: Many IR receivers on a single ESP32 using RMT?

Posted: Mon Dec 02, 2024 3:56 pm
by michcfr
I need 16 IR receivers managed by a single ESP32 using RMT.
Can we imagine the multiplexing of IR receivers? For example, one channel manages 2 IR receivers each?

Re: Many IR receivers on a single ESP32 using RMT?

Posted: Wed Dec 04, 2024 7:17 am
by ok-home
What speed do you need?

Re: Many IR receivers on a single ESP32 using RMT?

Posted: Wed Dec 04, 2024 8:26 am
by michcfr
ok-home wrote:
Wed Dec 04, 2024 7:17 am
What speed do you need?
Two configurations:
-At least 56khz per IR receiver.
-At least 15Mhz per IR receiver

Re: Many IR receivers on a single ESP32 using RMT?

Posted: Wed Dec 04, 2024 12:29 pm
by ok-home
and all receivers work simultaneously or in turn ?

for simultaneous mode for 56khz you can take data from 16 gpio (i2s/cam) in parallel in dma mode and process it software
for 15mhz so most likely will not work

for serial mode - just switch gpio to the required rmt channel.

Re: Many IR receivers on a single ESP32 using RMT?

Posted: Wed Dec 04, 2024 1:00 pm
by michcfr
ok-home wrote:
Wed Dec 04, 2024 12:29 pm
and all receivers work simultaneously or in turn ?

for simultaneous mode for 56khz you can take data from 16 gpio (i2s/cam) in parallel in dma mode and process it software
for 15mhz so most likely will not work

for serial mode - just switch gpio to the required rmt channel.
All receivers work simultaneously for both cases.
For the 16 gpio in parallel in dma mode: can we go above 56Khz? what would be the maximum khz?