Introduction: Thieves Alarm

Recently a wave of burglaries started in our neighborhood and we decided to take action.
Even when we are not home, we will know if anyone has broken out and we will also get a recording of the burglar from the time of the burglary.

Our distance surveyor will check whether the distance has been shortened since someone has entered the house. If the distance is short, an alarm will sound and the microphone starts recording.

Who are we

Nimrod and Noam, Computer Science and Entrepreneurship students from the Interdisciplinary Center (IDC), Herzliya, Israel.


  • 1 x ESP8266 board
  • 1 x Micro-USB Cables
  • 10 x jumper cables
  • 1 x Ultrasonic sensor
  • 1 x speaker
  • 1 X ADMP401 Micropon
  • 1 x resistor

Step 1:

Let's start by connecting the connections


  • VCC to 5V
  • Trigger to D7
  • echo to D6
  • GND to GND


  • + to D7
  • - to resistor
  • resistor to GND


  • VCC to 3.3 V
  • GND to GND
  • AUD to A0

Step 2:

Install Arduino IDE:

Install relevant "drivers" for the ESP8266 boards to your Arduino IDE:


Create an account:

Click on Feeds and add 2 feeds:

Distance and Sound.

Then, click on Dashboard and create a new dashboard.

Enter the dashboard and add 2 blocks:

+ Gauge block to Distance.

+ Line Chart block to Sound.

Save it.

Step 3:

Our code is attached.

You can open the code in Arduino.

Don't forget to adjust WiFi parameters to your own WIFI parameters.