TV Prank
TV Prank
This project helps you create a TV Nuissance. Everytime the TV's remote control is used the piezo buzzer will emit an annoying sound. It will leave people wondering why the TV is making such an annoying noise meanwhile you will be trying not to laugh!
Components Needed:
1x TV Remote
1x Breadboard
1x Arduino Board
1x Speaker
1x IR Reciever
1x 220 or 100 Ohm Resistor
Wires
Components can be found at http://egrobotics.com/store/
This Project uses and Arduino Board and IR Add-on Kit
www.EGRobotics.com
The Code:
#define IRsensorPin 6
}
void setup(){
pinMode(3, OUTPUT);
}
void loop(){
if (digitalRead(IRsensorPin)==LOW){
analogWrite(3, 100);
delay(500);
analogWrite(3, 180);
delay(500);
analogWrite(3, 100);
delay(500);
analogWrite(3, 180); delay(500);
analogWrite(3, 100);
delay(500);
analogWrite(3, 180);
delay(500);
analogWrite(3, 100);
delay(500);
analogWrite(3, 180);
delay(500);
} else {
digitalWrite(3, LOW);
}
delay(100);
}
Video:
This project helps you create a TV Nuissance. Everytime the TV's remote control is used the piezo buzzer will emit an annoying sound. It will leave people wondering why the TV is making such an annoying noise meanwhile you will be trying not to laugh!
Components Needed:
1x TV Remote
1x Breadboard
1x Arduino Board
1x Speaker
1x IR Reciever
1x 220 or 100 Ohm Resistor
Wires
Components can be found at http://egrobotics.com/store/
This Project uses and Arduino Board and IR Add-on Kit
www.EGRobotics.com
The Code:
#define IRsensorPin 6
}
void setup(){
pinMode(3, OUTPUT);
}
void loop(){
if (digitalRead(IRsensorPin)==LOW){
analogWrite(3, 100);
delay(500);
analogWrite(3, 180);
delay(500);
analogWrite(3, 100);
delay(500);
analogWrite(3, 180); delay(500);
analogWrite(3, 100);
delay(500);
analogWrite(3, 180);
delay(500);
analogWrite(3, 100);
delay(500);
analogWrite(3, 180);
delay(500);
} else {
digitalWrite(3, LOW);
}
delay(100);
}
Video: