Tuesday, 31 May 2016

All about Smart Keychain

Many time it happens that we are unable to find our keys as we have misplaced it. And generally this happens when we are in great hurry. Frustrating moment......

Try to make a smart keychain for you.

Now not to worry about your keys, they will be always in touch with you. Just trigger them whenever you are unable to find them, they will automatically tell you where they are.

Smart Keychain

Smart keychain is a WiFi keychain, made using ESP8266 12E development board. ESP8266 are great modules to dive into the world of connected devices. So if you find IoT catchy and want to do some projects on this topic, than go grab your  own esp8266 first.

Ok so talking about this project, In project, I have attached a buzzer with this WiFi module and a battery to power them. So in case we are unable to find our keys, we will just take out our smart phone, open an app named Telnet, and will just send data and the keychain will start ringing and with this we can easily track our keys.

Components and Programming

We will require only few components for making this project.They are,

  • General Purpose PCB
  • Female bugstrip
  • ESP8266 12E dev board
  • Buzzer
  • Battery

We have to connect the negative termincal of buzzer to D0 pin of ESP8266 12E board and positive pin to 3.3V. Here D0 pin is nothing but the Built In LED pin of ESP8266 wifi board. Ok so you are done with the connections.Now lets have a look over the code.

I have done its programming in Arduino. I have edited the example code of Telnet to Serial of ESP8266 library by Adafruit. So I have written the code in such a way that first of all it will connect to the wifi router or hotspot device whose ssid name and password we have already provided in the code. After that it will wait for the data from our smart phone. And as soon as any data is received, the buzzer will turn ON and it will start buzzing. 

On your smart phone side, you need to download an app named Telnet for the communication with your keys.I have also made a video on this, so In case you didn't understand how to make it, have a look over the video.

Smart Keychain code :- https://github.com/techiesms/Smart-Keychain/blob/master/Smart_Keychain.ino

explore | learn | share