Site Navigation

Your Account

Choose Language

Introduction

You can use the IR receiver to capture the buttons you push on the remote. Have a try with a few different remote controls you have around the house!

Tools

No tools required.

Parts

Video Overview

Connect Digital Pin 11 to the Signal Pin of the IR Receiver.
  • Connect Digital Pin 11 to the Signal Pin of the IR Receiver.

Add Comment

Connect 5V to the 5V (middle) Pin of the IR Receiver.
  • Connect 5V to the 5V (middle) Pin of the IR Receiver.

Add Comment

Connect Ground to the Ground Pin of the IR Receiver.
  • Connect Ground to the Ground Pin of the IR Receiver.

Add Comment

Insert the LED into the breadboard with the Cathode (shorter leg) on the left hand side.
  • Insert the LED into the breadboard with the Cathode (shorter leg) on the left hand side.

Add Comment

Insert a 220 Ohm Resistor into the Breadboard with one leg in line with the LED's anode (longer leg). Insert a 220 Ohm Resistor into the Breadboard with one leg in line with the LED's anode (longer leg).
  • Insert a 220 Ohm Resistor into the Breadboard with one leg in line with the LED's anode (longer leg).

Add Comment

Connect LED's Cathode to a Ground Pin on your Arduino.
  • Connect LED's Cathode to a Ground Pin on your Arduino.

Add Comment

Connect the 220 Ohm Resistor to Digital Pin 13.
  • Connect the 220 Ohm Resistor to Digital Pin 13.

Add Comment

  • Copy this code and open it in your Arduino IDE.

  • This code won't work without the IRremote Library (we'll install that next).

Add Comment

  • Open the Arduino Library Manager by clicking on SketchInclude LibrariesManage Libraries.

Add Comment

Search for the IRremote Library and install the latest version.
  • Search for the IRremote Library and install the latest version.

Add Comment

Upload the code to your Arduino.
  • Upload the code to your Arduino.

  • Open the Serial Monitor and view the code that is being sent from your remote control.

  • When you press the up and down arrows the LED should turn on and off.

  • Try and use another remote control you have at hand!

Add Comment

Conclusion

At the end of this tutorial you should be able to switch on a device remotely!

13 other people completed this guide.

Madeleine Schappi

Member since: 09/27/2017

4,557 Reputation

55 Guides authored

Team

Advent Edit Member of Advent Edit

Community

3 Members

55 Guides authored

2 Comments

Here is a video of the Relay and Remote to switch on a christmas light https://youtu.be/8RXj-5jZp9M

Madeleine Schappi - Reply

Great! What is the maximum distance the remote and receiver can be apart whilst still being affective?

ZoeM - Reply

Add Comment

View Statistics:

Past 24 Hours: 0

Past 7 Days: 1

Past 30 Days: 4

All Time: 200