Das ist doch ein Anfang.
Nächster Schritt: der Fernbedienung zuhören, also Signale empfangen.
Schau Dir das mal an: A Multi-Protocol Infrared Remote Library for the Arduino
The examples/IRrecvDemo sketch provides a simple example of how to receive codes:
Gruß
Helmuth