Many IR receivers on a single ESP32 using RMT?

michcfr
Posts: 40
Joined: Mon Jan 29, 2018 5:55 pm

Many IR receivers on a single ESP32 using RMT?

Postby michcfr » Thu Nov 28, 2024 10:02 am

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

MicroController
Posts: 1818
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

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

Postby MicroController » Thu Nov 28, 2024 11:40 am


User avatar
ok-home
Posts: 98
Joined: Sun May 02, 2021 7:23 pm
Location: Russia Novosibirsk
Contact:

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

Postby ok-home » Thu Nov 28, 2024 12:30 pm

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

michcfr
Posts: 40
Joined: Mon Jan 29, 2018 5:55 pm

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

Postby michcfr » Sun Dec 01, 2024 9:26 am

ok so RMT can manage only one IR receivers?

User avatar
ok-home
Posts: 98
Joined: Sun May 02, 2021 7:23 pm
Location: Russia Novosibirsk
Contact:

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

Postby ok-home » Sun Dec 01, 2024 10:59 am

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 .....

michcfr
Posts: 40
Joined: Mon Jan 29, 2018 5:55 pm

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

Postby michcfr » Mon Dec 02, 2024 3:56 pm

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?

User avatar
ok-home
Posts: 98
Joined: Sun May 02, 2021 7:23 pm
Location: Russia Novosibirsk
Contact:

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

Postby ok-home » Wed Dec 04, 2024 7:17 am

What speed do you need?

michcfr
Posts: 40
Joined: Mon Jan 29, 2018 5:55 pm

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

Postby michcfr » Wed Dec 04, 2024 8:26 am

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

User avatar
ok-home
Posts: 98
Joined: Sun May 02, 2021 7:23 pm
Location: Russia Novosibirsk
Contact:

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

Postby ok-home » 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.

michcfr
Posts: 40
Joined: Mon Jan 29, 2018 5:55 pm

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

Postby michcfr » Wed Dec 04, 2024 1:00 pm

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?

Who is online

Users browsing this forum: Majestic-12 [Bot] and 61 guests