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 a motor is used instead of a fan and LDR (Light Dependent Resistor) is used to detect light.
Step 1: Requirements and PrerequisiteRequirements:
- bolt
- vibrational sensors
- motors
- motor drivers
- wires
- breadboard
- Android mobile
- relay
Prerequisite:
- Javascript
- HTML
Here we are using 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:
- Set up the Bolt hotspot
- Find it using advance IP scanner
- Go to boltipaddress/developers to upload ur file to make it work on Bolt
- Connect GND of Bolt to GND of sensor
- Connect Vcc of sensor to 5v of bolt
- Connect output pin of sensor to 0 of bolt
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.
Step 5: IFTTT Used to Connect My Fan to My MobileIn IFTTT:
- Create an account
- In the statement "if this then that"......this=maker, and that = gmail"
- Then create the recipe
- Go to chose trigger then create trigger
- Then write the html code given
- Then submit and upload in Bolt
- COM-common connection
- NO-normally open
- Step 8: Light Controlling Circuiting
Connections
- The pin 7 in bolt to in1 in relay circuit
- 5V to Vcc of relay module
- 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.
ParismitaD
Ryan D'Costa










Comments