Site Navigation

Your Account

Choose Language

Introduction

Today we're going to use the Infrared Transmitter to play a prank by turning on and off a TV.

Video Overview

Insert your Infrared Transmitter into your breadboard so that the cathode (short leg) is on the left-hand side and the anode (long leg) is on the right-hand side.
  • Insert your Infrared Transmitter into your breadboard so that the cathode (short leg) is on the left-hand side and the anode (long leg) is on the right-hand side.

Add Comment

Insert your 220 Ohm resistor so that one of it's legs vertically in line with the LED's anode (long leg). Insert your 220 Ohm resistor so that one of it's legs vertically in line with the LED's anode (long leg).
  • Insert your 220 Ohm resistor so that one of it's legs vertically in line with the LED's anode (long leg).

Add Comment

Run a jumper wire from an Arduino Ground Pin (GND) to the IR Transmitter cathode.
  • Run a jumper wire from an Arduino Ground Pin (GND) to the IR Transmitter cathode.

Add Comment

Run another jumper wire from pin 3 so that it's vertically in line with the resistor's other leg.
  • Run another jumper wire from pin 3 so that it's vertically in line with the resistor's other leg.

Add Comment

Install the IRremote Library
  • Install the IRremote Library

Add Comment

  • This code will by default send a command to turn on and off a Sony television.

  • Uncomment out your brand of Television to make the code work for your TV.

  • Upload the code to your Arduino and bring your Arduino close to your TV (you might want to use the battery connector).

Add Comment

Finish Line

5 other people completed this guide.

Madeleine Schappi

Member since: 09/27/2017

4,527 Reputation

24 Guides authored

Team

Advent Edit Member of Advent Edit

Community

3 Members

24 Guides authored

0 Comments

Add Comment

View Statistics:

Past 24 Hours: 0

Past 7 Days: 0

Past 30 Days: 10

All Time: 91