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.
Step 1: The Things We Need
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 Arduino IDE
Step 2: Lets Put It Together
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.
Step 3: Hey DJ Drop That Code
Open the sketch in the Arduino IDE (downloaded from the Arduino.cc website), and upload it to the Arduino board.
The code is all written with randomizing annoyance that you can't wait to wreak havoc with.
Step 4: Let the Torture Begin
Well now you can begin to annoy people or like in my case it be used against you.
Here's a video so you can see it in action: