Can a 38kHz IR receiver module (TSOP38238) decode 870Hz pulse modulation IR

arduinoinfrared

I'm trying to reverse engineer my A/C remote controller IR.

I've decoded the IR signal as a NEC code with the PJRC IRremote library.
My attempt to retransmit the same code to A/C unit was unsuccessful.

Having a look at the IR code with a logic analyser (with an IR sensor rather than the TSOP38238) revealed the remote uses 870Hz pulse modulation.

How could the TSOP38238 decode that signal? is the decoding reliable?
Is this really a NEC variant with a different modulation?

EDIT: The module isn't a TSOP38238, but something that looks like it with the same pinout (should be compatible). The caption says 084ST

Best Answer

I think you worry too much about (in)compatibilities. My guess is that you can just use that TSOP38238 and that it will receive the 870 Hz pulses flawlessly.

To make sending and receiving IR codes more reliable, the sender does not send 870 Hz pulses. Instead when a "1" needs to be sent it sends a 38 kHz signal, when a "0" needs to be sent it sends nothing. This is simple amplitude modulation and the TSOP38238 can decode that, the 870 Hz pulses will reappear at it's output.

Just feed those to your Arduino so that it can decode the 870 Hz pulses into codes.

So no worries, just try it and it will work !