Olimex Support Forum

Others => UEXT => Topic started by: SirExie on December 06, 2025, 02:49:38 PM

Title: MOD-IRDA faulty ?
Post by: SirExie on December 06, 2025, 02:49:38 PM
Hi Folks,

I have a MOD-IRDA I'm using with an ESP32-POE-ISO-IND. The UEXT port makes this simple, but I have not been able to transmit via the module.

I'm using ESPHome, and I have it set to use GPIO4, but the client device never responds. I tried filming with the phone camera, but the IR is not visible.

I then tested the UEXT port using a Saleae, and all the pins work fine and I could even decode IRDA.

So my final test was ti check resistance across the the IR LED, and testing both polarities at 200 Ohm was an open circuit. Not what I expected, so I think the LED is faulty ?

No point posting it back, the local electronics shop have 3mm IR LED's for $1.50 so I'll try swapping this out first and see how I go.

How likely is it that this is the problem ? is there any other test I can do ?
Title: Re: MOD-IRDA faulty ?
Post by: LubOlimex on December 08, 2025, 09:13:51 AM
The problem is somewhere in your software. We've used MOD-IRDA with ESP32-POE boards in the past, specifically in this big web-server demo:

https://github.com/OLIMEX/ESP32-POE/blob/master/SOFTWARE/ARDUINO/ESP32_PoE_WebServer_Demo/ESP32_PoE_WebServer_Demo.ino
Title: Re: MOD-IRDA faulty ?
Post by: SirExie on December 08, 2025, 10:00:00 AM
Thankyou LubOlimex,

I think the question was - is there any way of testing the MOD-IRDA outside the code ? like, just electrically ?

In the meantime, I'll try compiling the demo and see if I can get it to transmit something useful.
Title: Re: MOD-IRDA faulty ?
Post by: SirExie on December 08, 2025, 02:04:44 PM
I tried the example program, it provides a web server and after initializing MOD-IRDA it states "Connected", but does not seem to show anything else or allow me to send anything.

If I cant get it going tomorrow, I'm going to assume the LED is broken and try de-soldering it and swapping it out.
Title: Re: MOD-IRDA faulty ?
Post by: LubOlimex on December 08, 2025, 04:52:26 PM
Did you try clicking some remotes on it?
Title: Re: MOD-IRDA faulty ?
Post by: SirExie on December 09, 2025, 02:47:20 AM
Yes, I have tried a few remotes, but nothing seems to come through.

I did notice this in the console:
Reconnecting to /dev/cu.usbserial-1430 .... Connected!
...WiFi connected at: 10.1.30.6
Use this URL to connect: http://10.1.30.6/
Webserver started...
**************************************************************************************************
Thank you for using the IRremote library!
It seems, that you are using an old version 2.0 code / example.
This version is no longer supported!

Upgrade instructions can be found here:
 https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#converting-your-2x-program-to-the-4x-version

Please use one of the new code examples from the library,
 available at "File > Examples > Examples from Custom Libraries / IRremote".
Start with the SimpleReceiver or SimpleSender example.
The examples are documented here:
 https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#examples-for-this-library

Or just downgrade your library to version 2.6.0.

Thanks
**************************************************************************************************

So I'm still at a loss if its the hardware or the code, but either way, it's not working.
Title: Re: MOD-IRDA faulty ?
Post by: SirExie on December 09, 2025, 06:22:48 AM
Good news, I patched the project, moved it from Arduino to Platformio and updated the IRremote library to 4.5.0

It now seems to be working, it receives IR from the remotes ok, how can I test its ability to send though ?

(https://ibin.co/94msXRcSHCko.png)
Title: Re: MOD-IRDA faulty ?
Post by: LubOlimex on December 09, 2025, 09:13:22 AM
Umm easiest way is with another MOD-IRDA, but also with some device (TV, AIRCON, etc) that you know for sure what protocol it uses, and then use the same protocol on the PoE + MOD-IRDA combo.