Smart Doorbell With LinkitONE

by ssarthak598 in Circuits > Arduino

1659 Views, 12 Favorites, 0 Comments

Smart Doorbell With LinkitONE

vozg1.gif

Want to make a simple toy to check if someone is out of your door? Want to be notified when someone rings your doorbell? Want to impress your friends?

Then you are at the right place!

Here i'll show you how to make a simple gas leak notifier with your LinkitONE!

What Do You Need?

IMG_1039[1].JPG

1 . LinkitONE board

2. Doorbell

3. Breadboard

5. LinkitONE GSM antena

6. Battery pack

7. Relay module

8. A doorbell

Hacking Into the Doorbell!

15 10:22 pm.jpg
IMG_1036[1].JPG

Now let's see where we can hack the doorbell. My connection is threw a power controller which is connected to all lights, fans and heaters of my room. I'll connect the board there.

You'll have to attach your board to a location where you can connect the doorbell easily!

Connecting the Relay With LinkitONE

15 10:22 pm.jpg
15 11:07 pm.jpg

Now connect the relay to your bell's switch wire. We'll use a relay as the bell works on 220 Volts.

Be careful as you are working on high power!!!!

Connecting the Board

15 10:22 pm.jpg

Now connect the LinkitONE to the place where you attached your relay. Make the connections tight so it works well.

Setting Up GSM and SMS

IMG_1031[1].JPG
IMG_1034[1].JPG
IMG_1035[1].JPG

Set up the GSM and SIM card by inserting it into the card slot. Attach the GSM antenna as well. After this move to next step and finalize the circuit.

Writing Some Code

The code is really simple here!

We're just taking some digital readings from sensor, detecting if circuit is completed and processing them and then sending SMS.

CODE:

------------------------------

#include<LGSM.h>

void setup() {

Serial.begin(9600); pinMode(8,INPUT);

char doorn[14]="xxxxxxxxxx";

}

void loop()

{

int bellread=digitalRead(9);

if(bellread==1) {

char doortxt[200]="Someone At Door!";

sms.beginSMS(doorn);

sms.println(doortxt);

sms.endSMS();

}

delay(500);

}

------------------------

Now burn this code and then lets start playing!

Testing It Out!

IMG_1032[1].PNG
IMG_1038[1].JPG

Now test your system out!

Just ring your bell and see the magical sms!

Excited? Impress your friends!