This project is similar to the following projects:
For this particular and the above listed experiments, you need this library: arcfn.com/files/IRremote.zip
See the following image to know how to fix the infrared sensor on the breakout board.
Use the three dupont wires to connect the breakout board to your Arduino.
VCC pin on the board- goes to VCC of Arduino
GND pin on the board- goes to GND pin of Arduino
IN pin on the board – goes to digital pin 2 of Arduino
And a connect an LED to digital pin no. 13. As you press a remote control directing to the Infrared sensor, the LED will be switched on and off.
Upload the following sketch on to your Arduino:
EasyEDA: Ideas for Circuit Design, Innovation for Electronics Access
Free Circuit Design: Schematic - Simulation - PCB Layout - Gerber Viewer
JLCPCB Prototype & Small-batch PCB: Only $2 for 10pcs 10×10cm PCBs, 24 hours Quick Turn, DHL Delivery in 3 Days