Koyel Chaudhuri
Published © GPL3+

Smart Home

Every appliance can be controlled by just clicking on your smart phones with help of IOT and automation.

IntermediateProtip5 hours332
Smart Home

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
Breadboard (generic)
Breadboard (generic)
×1
Buzzer
Buzzer
×1
LDR, 5 Mohm
LDR, 5 Mohm
×1
LED (generic)
LED (generic)
×2
Jumper wires (generic)
Jumper wires (generic)
Quantity is as per need
×5
Male/Female Jumper Wires
Male/Female Jumper Wires
Quantity is as per need
×5
Resistor 330 ohm
Resistor 330 ohm
×2
Resistor 10k ohm
Resistor 10k ohm
×1
Temperature Sensor
Temperature Sensor
×1
USB-A to Mini-USB Cable
USB-A to Mini-USB Cable
×1

Software apps and online services

Bolt Cloud
Bolt IoT Bolt Cloud
Bolt IoT Android App
Bolt IoT Android App

Story

Read more

Schematics

Room Lights

For room light we need LED lights(as per requirement), bolt wifi module, male/female jumper wires, jumper wires and 330 ohm resistor(as per requirement of led lights). Connect the negative pin of LED s to the ground(GND) of bolt WiFi module. And the positive pin to 330 ohm resistor and then further connect the resistor to the GPIO pin(0,1,2,3,4-choose any) of the module. Now connect the Bolt WiFi module to power supply with a USB cable and connect it to bolt cloud. We will write the GPIO pin no. in the code according to connections that we have made.

Smart Door Bell

For the setup, connect the positive pin of the buzzer to one of the GPIO pin (eg = 0) and the negative to ground of the bolt WiFi module. Connect the module to the bolt cloud, run the code for operating the buzzer.

Light intensity monitor of plants

Connect one end of LDR sensor and 10k ohm resistor to ADC pin (A0) pin and the other end of LDR to 3V pin of bolt WiFi module. Then connect the other resistor leg to GND pin of module. After connecting the module to bolt cloud plot a area graph for the readings of LDR and evaluate the most suitable place for the plants to absorb light.

Temperature monitor for plants

We will need a LM35 temperature sensor along with some jumper wires to build this setup. Hold the LM35 sensor such a way we can read it, now connect its three legs to 5V, A0 and GND pin of bolt WiFi module from left to right. After connecting the module to Bolt cloud, plot a prediction graph, which would give you the future predicted temperature(according to the time we set). From that reference we will analyze the required temperature for our plants.

Schematic Diagram

Code

Room Lights

HTML
The room light can be operated automatically by clicking on your smart phones with help of Iot, by just connecting the device to the internet by a bolt WiFi module. At bolt cloud we can write a code for html which would help in working of our room lights.
<!DOCTYPE html>
<html>
    <head>
        <title> Automated Room Lights </title>
        <script type="text/javascript" src="https://cloud.boltiot.com/static/js/boltCommands.js"></script>
        <script>
        setKey('{{ApiKey}}','{{Name}}');
        </script>
    </head>
    <body>
        <center>
        <h2> ROOM LIGHTS </h2>    
        <h3> ROOM 1 </h3>   
        <button onclick="digitalWrite(0, 'HIGH');" style="background-color:green; color:white">ON</button>
        <button onclick="digitalWrite(0, 'LOW');" style="background-color:red; color:white">OFF</button>
        <h3> ROOM 2 </h3>
        <button onclick="digitalWrite(1, 'HIGH');" style="background-color:green; color:white">ON</button>
        <button onclick="digitalWrite(1, 'LOW');" style="background-color:red; color:white">OFF</button>

        </center>
    </body>
</html>

Smart Door Bell

HTML
The door bell of your house can be used by the conventional method i.e. pressing the button or it can be operated by your smart phones by connecting it to the internet ! Connecting our bell to bolt WiFi module and further connecting it to bolt cloud will enable the user to control his door bell from his smart phone.
<!DOCTYPE html>
<html>
    <head>
        <title> Automated door bell  </title>
        <script type="text/javascript" src="https://cloud.boltiot.com/static/js/boltCommands.js"></script>
        <script>
        setKey('{{ApiKey}}','{{Name}}');
        </script>
    </head>
    <body>
        <center>
        <h2> DOOR BELL </h2>    
        <button onclick="digitalWrite(0, 'HIGH');" style="background-color:green; color:white">ON</button>
        <button onclick="digitalWrite(0, 'LOW');" style="background-color:red; color:white">OFF</button>
        </center>
    </body>
</html>

Light intensity monitor of plants

JavaScript
We can analyse and monitor your plants by connecting a sensor which shows how much your plants are getting exposure to light and give us data for the same, by connecting the device to bolt WiFi module and further connecting it to the internet for tracing all the data points. We need to write the code in bolt cloud and the module gives us all the required data.
setChartLibrary('google-chart');
setChartTitle('Light Monitor System');
setChartType('areaGraph');
setAxisName('time_stamp','light');
setCrosshair(true);
plotChart('time_stamp','light');

Temperature monitor for plants

JavaScript
Many plants require different temperature for their growth and well being. By, monitoring the temperature and predicting the future temperature we can achieve the solution. Thus, by using a temperature sensor, and connecting it to internet will help us to evaluate and predicted temperature through machine learning algorithms.
setChartLibrary('google-chart');
setChartTitle('Polynomial Regression');
setChartType('predictionGraph');
setAxisName('time_stamp','temp');
mul(0.0977);
plotChart('time_stamp','temp');

Credits

Koyel Chaudhuri
1 project • 0 followers
Contact

Comments

Please log in or sign up to comment.