wrightmac
Published © MIT

Wherzutat-In-a-Box - IoAT

IoAT - The Internet of Annoying Things used to make a hidden buzzer that will drive people crazy.

BeginnerFull instructions provided30 minutes825
Wherzutat-In-a-Box - IoAT

Things used in this project

Hardware components

ESP8266 ESP-01
Espressif ESP8266 ESP-01
×1
Buzzer
Buzzer
×1
Battery Charging Board Charger Module 5v-3.3v
×1
Breadboard (generic)
Breadboard (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1
box
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Schematic for IoAT

Code

The code

Arduino
#define BLYNK_PRINT Serial


#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
int wherzutat =0;
int buzz =2;

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "AUTH token";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "ssid";
char pass[] = "password";


BLYNK_WRITE(V2){
  wherzutat = param.asInt();{
    // button pressed
    if (wherzutat == 1);
  } 
  digitalWrite(buzz, 2000);

void setup()
{
  // Debug console.
  Serial.begin(9600);

  Blynk.begin(auth, ssid, pass);
  }

void loop()
{
  Blynk.run();
}

Credits

wrightmac

wrightmac

16 projects • 22 followers
Network geek by day, apprentice hardware hacker by night, curious-tinkerer always, and Apple Fanboy since 1984!

Comments