HARDWARE COMPONENTS USED:
- Arduino MKR 1000
- PIR Sensor
- Gas sensor
- Relay circuit
- AC motor
- Diodes(1n 4007)
- Blynk App (Android/ iOS)
Blynk is an IOT software platform which is available for both android and iOS. This platform is very much like a digital dashboard in which you can see all information from your connected devices. And the most of all Blynk supports many famous development boards like Raspberry Pi, Arduino, ESP8266 and other IOT platforms .
In our project this platform is used for following purposes
- Turn ON/OFF bulb and fan.
- Readings can be viewed from PIR and Gas sensor values.
- Monitoring of sensor values are made possible
SCHEMATIC DIAGRAM OF HOME AUTOMATION SYSTEM:
In this schematic PIR sensor and gas sensor is used to detect atmospheric conditions and the output from these sensors is fed into Arduino board. On the other hand lamp and fan is interfaced to microcontroller using couple of relays. The relay acts as an activator for both the fan and bulb. Transistor is added between relay and microcontroller pins to provide sufficient current. Lamp and Fan is connected to phase and neutral lines of AC power supply. This schematic is just for prototyping purpose of our home automation project, you can add devices to it with minor changes in the schematic.
This sensor is used to detect any motion or intrusion in a room. Placing at the entry door, this sensor is used as an intrusion detector in our project. This sensor outputs the intrusion in means of readings to microcontroller. This output value in turn will be displayed in the Blynk app of users smartphone.
This sensor is used to detect any gas leakages in our home. If any gas leakage occurs the elements in gas sensor will be ionized. The sensor module outputs voltage level depends upon the intensity of gas present. This is fed into the analog pins of Arduino as well. Then it will be display in the Blynk app.