DIY Korner Home Security System

Hey techies, Techiesms is back with another amazing project article. This time we breakdown one home security based product called Korner and turn that into a DIY project. In this article I have covered almost all the aspects of this project from hardware components to software coding. So let’s get started.

Intro Video

I have made one intro video. So those who don’t know what is Korner or how it works, first watch this video and then continue on. https://youtu.be/xdsdnXS1cLE

Hardware Components Required

For Korner Stick you’ll require:

  • ESP8266 12e board
  • Piezo Buzzer
  • ESP8266 12e board
  • 3-axis accelerometer

For Korner Tag you’ll require:

Circuit Diagram
Concept used for making this project

First of all, the main parts of the product Korner are Korner Stick & Korner Tag. So the concept I used for making a Korner Stick is that, first of all, this stick needs to provide an access point (in simple language, create a hotspot) for all the tags to get connected to it. And in parallel, the stick needs to get connected with our router so that the stick can get internet access to send notifications to the laptop or mobile phones via Adafruit MQTT Server. So I programmed this ESP board into Mode 3 (Both Station and Access Point). After the tags get connected to the stick, the stick will be waiting for particular links to get requested from the tags. If that particular link is recognized by the stick, it will first send signal to MQTT broker and start buzzing the buzzer 10 times. This is the task done by the ESP board acting as a stick. And for the Korner Tags, I have programmed the ESP board to work in Station mode as it just needs to connect to our Korner Stick. After that, the values of the accelerometer are calibrated according to the surface it is attached to. So, whenever there is any movement of the door, the values of accelerometer fluctuate and the ESP board acting as a tag will request one link, and that link depends upon the IP address assign to the Korner Tag. I have explained this concept in much detail in the project video so watch it to know more. So this is how I made my own Korner Stick and Korner Tag.


Code for Korner Stick and Korner Tag is available  on my GitHub account, go ahead and download it from there.

Project Video

I have also made a project tutorial video. So watch this video to know in detail about this project and also about how it works. https://youtu.be/yqlbdXcc_Z8