Picture of Arduino TV Annoyer Plus
First I would like to give credit to:

This is his design I have tweaked it a little bit to go a few steps further.  It is the infamous device that once you turn off your TV it will unknowingly to the person sitting there turn it back on after a couple of seconds.  The original device would turn the TV off, with the changes I made the device will now randomly turn off, turn on, and boost the volume up.  I had to rewrite some code from the original and spruce it up.  Believe me it is as annoying as ever. 
Remove these adsRemove these ads by Signing Up

Step 1: The Things We Need

Picture of The Things We Need
First lets see the parts we will be using:

1x Infrared Detector
1x Wide angle Infrared LED
1x Narrow angle Infrared LED
1x 2N3904 PNP transistor
1x 10 Ohm resistor (Brown, Black, Black, Gold)
1x 47 Ohm resistor (Yellow, Purple, Black, Gold)
1x Arduino Uno
Some wire (preferably solid-core, 22 gauge or so)
1x USB A-B cable
1x Soldering Iron (Optional)
1x Spool of thin solder
1x Solderless breadboard
1x Computer
1x Arduino IDE

Step 2: Lets Put It Together

Picture of Lets Put It Together
1.) Plug in IR Detector. Make sure the dome on it is facing you. Top of the 20,19,18

2.) Connect the leftmost pin of the detector to Arduino Digital pin 2, the middle pin to Ground, and the rightmost pin to +3.3V.

3.) Plug in the 2N3904 NPN transistor. Make sure the flat side is facing you. Top of the 9,8,7

4.) Connect the leftmost pin of the transistor to the 47 Ohm resistor, the middle pin through the 10 Ohm resistor to Arduino Digital pin 3 (PWM), and the rightmost pin to Ground.

5.) Connect the cathodes (negative, has a shorter leg, and the side is marked with a flat part to indicate the cathode) to the other end of the 47 Ohm resistor, and the anodes (longer lead, not the cathode) to +3.3V.