irDA 3 click with ESP32 in Arduino IDE

Post Reply
Author
Message
spanda
Posts: 2
Joined: 09 Sep 2022 10:52

irDA 3 click with ESP32 in Arduino IDE

#1 Post by spanda » 12 Sep 2022 09:59

Hi,
I am trying to interface irDA 3 click with ESP 32 to act as IR transceiver. The irDA 3 click is connected to the UART 2 (16-RX, 17-TX) and made the RESET pin high for normal mode. However, the data received at the receiver side is intermittent.
Does anyone have experience with irDA 3 click interfaced with ESP 32?

Best regards,
Santosh

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: irDA 3 click with ESP32 in Arduino IDE

#2 Post by filip » 14 Sep 2022 08:45

Hi,

Maybe you can use the library and example source codes as a starting point :
https://github.com/MikroElektronika/mik ... icks/irda3

Regards,
Filip.

spanda
Posts: 2
Joined: 09 Sep 2022 10:52

Re: irDA 3 click with ESP32 in Arduino IDE

#3 Post by spanda » 14 Sep 2022 11:14

Hi,

I have gone through the library but I am a bit confused regarding the MOD and EN connection. There are no pins in the irDA 3 click to connect these pins. I have connected the TX, RX, and RST pins. And I have set the baud rate at 115200. However, I receive a lot of garbage values when I am reading the UART at the receiver end.

I am mentioning about the below menioned part:
void irda3_mode_setup( irda3_t *ctx, irda3_mode_t state ) {
digital_out_write( &ctx->mod, state );
}

void irda3_pwr_setup( irda3_t *ctx, irda3_pwr_t state ) {
digital_out_write( &ctx->en, state );
}

Best regards,
Santosh

Post Reply

Return to “Additional Software”