user57970: Picked up a YS-IRTM IR Transmitter/Receiver module to do some testing for a project. There's not a lot of details on it but eventually came across two very important sources:
Translated Module Datasheet: https://docplayer.net/101050357-Nec-infrared-codec-module-ver1-0-ys-irtm.html
Examples: https://forum.arduino.cc/index.php?topic=359707.msg2861077#msg2861077
I've been trying to get this working for a few days and so far haven't gotten anything. Need to reach out before I pull out whatever hair I have left.
BTW, new to this and may have easily missed something.
Wiring Diagram
Arduino Uno    YS-IRTM
5v          -> 5v
GND         -> GND
0 RX        -> TXD
1 TX        -> RXD

Code
int icb = 0;
SoftwareSerial ir_mod(0, 1);

void setup(){
  Serial.begin(115200);
  while(!Serial){}
  Serial.println("Setup IR Serial");
  ir_mod.begin(9600);
  while(!ir_mod){}
  Serial.println("IR Serial Ready");
}

void loop(){
  if(ir_mod.available() > 0){
    icb = ir_mod.read();
    Serial.print(" 0x");
    Serial.println(icb, HEX);
  }
}

Current Output
Setup IR Serial
IR Serial Ready

Nothing will happen if I try to interact with the Receiver with any IR Transmitter (like a TV/AC Remote) but if I disconnect and reconnect the power, I get " 0xFFFFFFFF". Then nothing.

user59058: Default baud for module is 9600 unless you previous set it diffrent as per the datasheet A1 F3 ## 00 00 I believe

user59328: I am also new to this but if I am not mistaken, you seem to have connected the IR module to Arduino Hardware Serial while trying to communicate with the module via SoftwareSerial. Try using Arduino pins 2 and 3 for the SoftwareSerial instead of pins 0 and 1. Forgive me if I got it all wrong.

57970: <p>Picked up a YS-IRTM IR Transmitter/Receiver module to do some testing for a project. There's not a lot of details on it but eventually came across two very important sources:</p>

<p>Translated Module Datasheet: <a href="https://docplayer.net/101050357-Nec-infrared-codec-module-ver1-0-ys-irtm.html" rel="nofollow noreferrer">https://docplayer.net/101050357-Nec-infrared-codec-module-ver1-0-ys-irtm.html</a></p>

<p>Examples: <a href="https://forum.arduino.cc/index.php?topic=359707.msg2861077#msg2861077" rel="nofollow noreferrer">https://forum.arduino.cc/index.php?topic=359707.msg2861077#msg2861077</a></p>

<p>I've been trying to get this working for a few days and so far haven't gotten anything. Need to reach out before I pull out whatever hair I have left.</p>

<p>BTW, new to this and may have easily missed something.</p>

<p>Wiring Diagram</p>

<pre><code>Arduino Uno    YS-IRTM
5v          -&gt; 5v
GND         -&gt; GND
0 RX        -&gt; TXD
1 TX        -&gt; RXD
</code></pre>

<p>Code</p>

<pre><code>int icb = 0;
SoftwareSerial ir_mod(0, 1);

void setup(){
  Serial.begin(115200);
  while(!Serial){}
  Serial.println("Setup IR Serial");
  ir_mod.begin(9600);
  while(!ir_mod){}
  Serial.println("IR Serial Ready");
}

void loop(){
  if(ir_mod.available() &gt; 0){
    icb = ir_mod.read();
    Serial.print(" 0x");
    Serial.println(icb, HEX);
  }
}
</code></pre>

<p>Current Output</p>

<pre><code>Setup IR Serial
IR Serial Ready
</code></pre>

<p>Nothing will happen if I try to interact with the Receiver with any IR Transmitter (like a TV/AC Remote) but if I disconnect and reconnect the power, I get " 0xFFFFFFFF". Then nothing.</p>
 59058: <p>Default baud for module is 9600 unless you previous set it diffrent as per the datasheet A1 F3 ## 00 00 I believe</p>
 59328: <p>I am also new to this but if I am not mistaken, you seem to have connected the IR module to Arduino Hardware Serial while trying to communicate with the module via SoftwareSerial. Try using Arduino pins 2 and 3 for the SoftwareSerial instead of pins 0 and 1. Forgive me if I got it all wrong.</p>
