Read signals from a remote with wires attached to it

Hello, I am trying to control my AC with an arduino, but I don’t have an IR receiver, so I attached two wires to the original remote’s IR LED to read the pulses, but I don’t know how to do it, how to read those signals…

As you are tapping into the modulated signal with carrier, it will be more difficult.

2 alternative, if you have IR LEDs:

of course, harvesting an IR receiver from an old TV, video ,dvd box etc may be easier!