Parts & wiring

Know someone that’s a little too . . . curious? Scroll down and you’ll be able to download just the poster to tempt them towards the Annoyatron.

In this project, you are going to be building a button that gives almost no satisfaction when pressed. It just beeps. And if you want it to beep again, you have to take your finger off and put it back on again. This can be especially frustrating for people who saw the poster and thought something extravagant would happen. Oh well. . .

What you’ll need for this project

To build this project, you will be using the following components:

Brain Board


Touch Sensor

3 x Wires

How to connect the parts

To wire up this project, you’ll need the Brain Board, USB cable, buzzer and touch sensor. To connect your buzzer, slide its pins into the Arduino board as shown – the positive leg should go in PIN 11 and the negative leg should go in GND. For the touch sensor, attach the VCC and GND pins to the respective ones on the board, and SIG to PIN 3.

Hover over the PLUS signs for extra tips

Curiosity Killer
This is the positive leg of the buzzer. It will have a ‘+’ sign on top of it and will also be longer than the other leg.
Don’t forget to plug the board into your computer with the included USB cable.
The touch sensor is like a button, except that you only have to touch it lightly.

Get the free 'Press this button' poster

The final program

Here’s the code we’ll be using to program this invention.
int touchSensor = 3;
int buzzer = 11;
int beepLength = 50;

void setup() {
  pinMode(buzzer, OUTPUT);
  pinMode(touchSensor, INPUT);

void loop() {
  if(digitalRead(touchSensor)==HIGH)       //Read Touch sensor signal
    digitalWrite(buzzer, HIGH);
    digitalWrite(buzzer, LOW);
    digitalWrite(buzzer, LOW);    // if Touch sensor is LOW, then turn off the led