I have a "YS-IRTM" module, I have some problems using it.
It has 4 pins: 5V, GND, TX and RX
I connect TX and RX to RX and TX of my ESP8266 respectively, and I use this library, I use examples of this library, when I upload "IRrecvDemo" example to my ESP, when I hit a button of an IR remote (this remote) in front of the module, it shows some codes in the serial monitor, but some different keys show the same code.
And when I use another examples to transmit some IR signals, like "IRsendDemo" nothing happens, it doesn't transmit anything, when I use my phone camera to observe the IR diode, it doesn't turn on, and when I measure the voltage between 2pins of IR diode, there's 0.08V.
Then I connected the IR diode to GND and 3.3V pins of my ESP and observed it through my phone camera, a weak violet light was emitting, after some seconds it made a sound like a very small spark, when I touched the diode it was a bit warm, and a small brown spot inside it, again I connected the diode to 3.3V for a seconds to see if still I can see that weak violet light :D and still it was there!
I don't know how I should use it but my guess is that this library or the examples I use, aren't made for serial communication, but I have no idea what I should do!