Download IRdecoder sketch or copy the below text and paste into Arduino IDE Also here’s the documentation and pin layout for the tsop4838 , which was used for this project. TSOP4838 PIN 1 – Goes to Arduino PIN 2 TSOP4838 PIN 2 – Goes to Arduino GND TSOP4838 PIN 3 – Goes to Arduino Vcc (2.5 to 5.5 …