[Solved] Interfacing an arduino between an IR receiver and a PCB

Hi, everybody,
First of all, please forgive me if the message is not completely understandable, I am not English.

I own a Sony network drive, and my goal is this:


As you can see, I'm trying to place an arduino between the IR sensor and the PCB of the network reader, in order to remap some keys of the remote control.

For the record, this is a 7-button remote control, 3 of which are not useful to me. I would like to remap these three buttons to operate mosfets, which is not a problem, but for the other 4 remaining buttons, I would like to return the information as it is to the PCB (as if the IR receiver was still connected live).

Example:
ON/Off -> IR -> arduino -> cableIR -> PCB
Vol+ -> IR -> arduino -> mosfet 1 -> PCB
...

The problem is that I can't get the IRremote library to react the device via the sendSony() or sendRaw() methods.

I've seen rare subjects dealing with the problem, indicating that you don't need to modulate the signal if there is no infrared module, or reverse the hexa code..., but nothing finalized.

Do you have a solution besides adding 2 TX & RX infrared modules between my arduino and the PCB ?

Thank you for reading me.

PS: The mosfets allow me to operate buttons on the front panel of the device that are not available on the remote control.

I read "FNA48..".. Frequency problem? Often remote controls use 38kHz

In general Sony uses 40 kHz, and by making a dump with the irremote library, it detects me well that the signal is a Sony (In checking the method, she uses 40 kHz). I'll see if I can do some debugging with a second arduino.

Decoded SONY: A8150 (20 bits)
Raw (42): 8784 2500 -450 1250 -550 650 -500 1250 -500 700 -500 1250 -500 650 -550 650 -500 700 -450 700 -500 650 -500 700 -500 1250 -500 700 -500 1250 -500 650 -500 1300 -500 650 -500 650 -550 650 -500 700

Until proven otherwise, I think I'm returning a modulated signal and not inverted, which pauses problems.
Note, I've read a post indicating that sending back the unmodulated RAW signal could work, except that mine has negative values.

I'll run some tests until then.

Problem solved, I found a git repository with an IR library with an unmodulated sending method. I inverted my RAW signal beforehand and everything works perfectly.