Zen Blaster; a Most Annoying DIY Electronic Device

Watch on YouTube

Show annotations

Download is disabled.

535,982

9,475

258

Genre: Science & Technology

Family friendly? Yes

Wilson score: 0.9701

Rating: 4.894 / 5

Engagement: 1.82%

AvE

Subscribe | 0

Shared July 5, 2015

I build a little gadget to prank my lovely wife. WARNING! THIS DRIVES PEOPLE NUTS! DON'T DO IT TO SOMEONE WHO IS LIKELY TO PUNCH YOU IN THE FACE.
Makes annoying beeps at random intervals. The random pitch and interval makes it very difficult to pin-point the source of the beeping. I might clean up the design and spin up a few circuit boards if anybody is interested in an easy build-along vid.
Thanks for your help! http://www.Patreon.com/AvE

Here's the code:
/*
Lil' BASTARD ZEN BLASTER
WARNING! THIS DRIVES PEOPLE NUTS! DON'T DO IT TO ANYBODY WHO IS LIKELY TO PUNCH YOU IN THE FACE.
Makes annoying beeps at random intervals. The random pitch and interval makes it very difficult to pin-point the source of the beeping.

*/
const int speaker = P1_7; // this sets the pin on the MSP430 that sends a beep to the speaker.
int duration = 1000; // this is a variable that stores the value of length of the tone
int frequency = 600; // this is a variable that stores the value of the frequency of the tone int counter = 0; // this is a variable that stores the value of how many times we've run thru the void loop
int trigger = 1; // this is a variable that stores how many times we run thru the void loop prior to triggering a beep sequence
int beeps = 2; // this is a variable that stores how many beeps in a sequence

// the setup routine runs once when you press reset:
void setup() { tone(P1_7, 2500, 800);
delay (200);
tone(P1_7, 500, 800);
delay (200);
tone(P1_7, 2500, 800);
delay (200);
// this runs through a few tones when you first start to let you know it's working.


}

// the loop routine runs over and over again forever:
void loop() { counter = counter ++; // each time through the program, we add 1 to the value of counter
if ( trigger == counter && beeps == 2) { // if the trigger value and the counter value are equal AND the beep value is 2 then do this: counter = 0; // resets the counter value to zero beeps = random (2, 5); // sets the number of beeps for the next time trigger = random (500, 5000); // sets the length of time before the next series of beeps duration = random (200, 2000); // sets the length of time for each beep in milliseconds frequency = random (2500, 6000); // sets the frequency in Hertz of the square wave signal to the speaker tone (speaker, frequency, duration); // sends a beep square wave signal to the speaker according to the values of frequency and duration delay (duration/2); // sets a short delay pause to allow the beep prior to executing the next command duration = random (400, 1500); frequency = random (300, 4000); tone (speaker, frequency, duration); delay (duration/2); } if ( trigger == counter && beeps == 3) { counter = 0; beeps = random (2, 5); trigger = random (500, 5000); duration = random (200, 2000); frequency = random (2500, 6000); tone (speaker, frequency, duration); delay (duration/2); duration = random (500, 2000); frequency = random (300, 1500); tone (speaker, frequency, duration); delay (duration/2); duration = random (1500, 2000); frequency = random (300, 3000); tone (speaker, frequency, duration); delay (duration/2); }
Continued in comments. (it's too long for description).


Darren

A friend made something very similar for me a couple of years ago that sounded like a mosquito. It incorporated a light sensitive switch though so it only turned on at random intervals at night and stopped the second you turned on the lights. Now that was some sanity threatening shit to hide in someones bedroom.

3 years ago | [YT] | 789

ryzo mcgregor

"the best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer.".

4 years ago | [YT] | 642

Donald Sayers

I taught electronics at a school in the UK. When I left I left one of those hiding on top of the light fitting hanging from the ceiling. They have only just found it 8 years later.

2 years ago | [YT] | 425

Raph Guenther

For maximum annoyance, I've seen these set up with a phototransistor acting as a NOT gate, so that the thing only beeps when the lights are off. Makes 'em harder to find, plus it means that they make all their noise when your wife/victim is trying to sleep.

4 years ago | [YT] | 115

FrankTheCat

".........I don't hear anything."

Gotta work on your poker face, man.

4 years ago | [YT] | 429

compu85

Take what AvE says to heart here... basic electronics aren't scary. You can take bits designed by more advanced people and glue them together like lego blocks to do whatever you want. Eventually you'll start to learn how the blocks work and can design them yourself!

3 years ago | [YT] | 112

Andy Prokopyk

Note to self: make sure to be married PRIOR to building this.

4 years ago | [YT] | 57

Jk Smith

You can probably patent that as a new form of birth control.

4 years ago | [YT] | 121

Grobbekee

Wouldn't it be more menacing if it would stay silent for minutes at a time and then do 1 or two beeps, not long enough so you can figure out where it came from?

3 years ago | [YT] | 93

Tom Walter

Add a photo sensor.... when light turns on, no noise.  Turn the light off and it starts chirping. :)

4 years ago | [YT] | 29

Alexander Tran

please build an device with an arduino that flails a knife-wielding tentacle in random directions, and have the on/off switch by the base

4 years ago | [YT] | 194

tsfarken

If you program the frequency right you can only drive the youngsters crazy.

3 years ago | [YT] | 43

learnerofknives

"I speak AMURICAN!" says the Canadian. I love it!

3 years ago | [YT] | 59

GunFun ZS

So this is a home made annoy-o-tron? Maybe one with a relay so that it would flicker a light switch somewhere in the house at random intervals?

4 years ago | [YT] | 142

Joseph Dunn

You gotta make one of these that plays a baby giggle randomly every few minutes.

3 years ago | [YT] | 31

Green Silver

Last time I moved house I put a cheap smoke alarm with a new battery under a floor board, after a year when the battery starts going flat it chirps every so often..
It was a shame I didn't see the frustration it caused. 😳

4 years ago | [YT] | 103

Henry Pereira

In an unrelated story, crazed wife inserts unkown electronic device into husbands rear. Husbands rear now beeping.

4 years ago | [YT] | 13

Scabbytattoo

Your wife is a tropper not sure mine would think it's as funny.

3 years ago | [YT] | 55

Garage Kitchen of Science

You cannot laugh when saying you don't hear it.  Women learn this lie detection technique friggin early in life.

4 years ago | [YT] | 16

Swinaecologist

fella, I'm new to this channel but your narration is awesome! even if I'm not interested in the subject matter I watch the videos just to hear you speak! Good work.

3 years ago | [YT] | 46