Making Smart-home Devices

by ParismitaD in Circuits > Sensors

2509 Views, 31 Favorites, 0 Comments

Making Smart-home Devices

Capture.JPG
VID 20160410 114526
VID 20160410 115123

The idea of this project is to detect whenever a person leaves a room empty and if the fans or lights are on then he will get a ping on his smartphone through an app . Also, the lights and fans can be switched off by using the app itself rather than going back inside the room. It is basically a step toward saving electricity and our hard earned money.

This is a project on IoT(Internet of Things) .A prototype of the above-mentioned idea has been explained here. In it motor is used instead of a fan and LDR(Light Dependent Resistor) is used to detect light

Requirements and Prerequisite

bolt_example2.jpg
bolt_example3.jpg
bolt_example4.jpg
bolt_example5 (1).jpg
bolt_example6.jpg
bolt_example7.jpg
02_68.jpg

requirements:

1)bolt 2)vibrational sensors 3)motors 4)motor drivers 5)wires 6)breadboard 7)android mobile 8)relay

prerequisite: 1)javascript 2)html

Connecting to Bolt

bolt_example2.jpg

here we are usin bolt as interface with vibration sensor

bolt is an IOT interface, reason using bolt it is easy to use and we can make anything by just using js, html,css

to setup the bolt:

1)set up the bolt hotspot

2)find it using advance ip scanner

3)goto boltipaddress/developers to upload ur file to make it work on bolt

To Connect to the Vibration Sensor

1)connect gnd of bolt to gnd of sensor

2)connect vcc ob sensor to 5v od bolt

3)connect output pin of sensor to 0 of bolt

The Mobile App That Controls the Fan

Capture.JPG
smart home devices--

Sensor data

The motor on , stop and reverse button are to control the motor and start data and stop data are to start the sensors to sense whether the fan is on or not

Ifttt Used to Connect My Fan to My Mobile

Capture.JPG

In IFTTT,

1)create an account

2)in the statement "if this then that"......this=maker , and that = gmail

3)then create the recipe

4)goto chose triger then create trigger

5)then write the html code given

6)then submit and upload in bolt

The Code

Capture.JPG
Capture.JPG

Relay Connection Informations

COM-common connection

NO-normally open

NC-normallyclosed

Light Controling Circuit

FZWGCJMHTUV8Y3J.MEDIUM.jpg
FXOD7OOHTVICRIN.MEDIUM.jpg
FYIPJ47HU0GLUZR.MEDIUM.jpg

steps:

  • connections

1)the pin 7 in bolt to in1 in relay circuit

2)5V to vccof relay module

3)gnd of bolt to gnd of relay module

  • we are using NO in relay,so that it can trigger on and off the light
  • Hot line from supply is connected to COM
  • Supply line to AC is connected to NO.
  • Gnd in light is connected directly.