NOTRE DAME UNIVERSITY BANGLADESH
Department Of Computer Science & Engineering
Computer Networking
CSE 3204
A Project on IOT-Smart Home
Submitted to: Submitted by: CSE-5
Dr.Fernaz Narin Nur Md. Harun Aur Rashid Khan Ishan
ID: 163120003
Associate Professor Nafisa Tabassum
Department of CSE ID: 171120001
Notre Dame University Proma Mallik
Bangladesh ID: 171120003
IOT-Smart Home
Home automationis building automation for a home, called a smart home or
smart house. Home automation system will control lightingand appliances it also
include home security such as access control and alarm systems when connected
with the Internet, home devices are an important constituent of the Internet of
Things.
Objectives:
A smart home will be automated. Our smart home can make life easier and
secure. It also can save energy and time. The house is monitoring all the time by
some automated webcam that we are added in the house. And the most
important thing is the owner of the house can access the house from anywhere of
the world by using his smart phone.
Tools:
Server
Access Pointer
Router
Smart Phone
IOT Device: Webcam, Street Lamp, Fan, Light, Coffee-Maker, Sensor, etc.
Motion Detector
Switch
Lawn Sprinkler
Water Drain
Wind Detector
Smart Car
Air Conditioner
LED Light
Simulator:
Cisco Packet Tracer
Implementation Details :
1.Taking server,IOT devices,routers,switches,smart phone,wires etc for
making IOT – Smart Home.
2.We will connect all the routers.After that we will connect the routers
with the switches.Then we will connect all the switches & then all
switches will connect with the all IOT devices/home devices,server &
smart phone.
3.Now we will configure router 0 for giving dynamic ip address by using
DHCP protocol in figure 1 & figure 2.
Figure – 1 : Configuration of DHCP protocol in router 0.
Figure – 2 : Configuration of DHCP protocol in router 0.
4. Now we will configure router 1 for giving dynamic ip address by using
DHCP protocol in figure 3 & figure 4.
Figure – 3 : Configuration of DHCP protocol in router 1.
Figure – 4 : Configuration of DHCP protocol in router 1.
5.Now we will configure routing protocol EIGRP in router 0 so that
owner of the house can access his home from any where in the world
over the internet by using his smart phone in figure 5.
Figure – 5 : Configuration of EIGRP routing protocol in router 0.
6. Now we will configure routing protocol EIGRP in router 1 so that
owner of the house can access his home from any where in the world
over the internet by using his smart phone in figure 6.
Figure – 6 : Configuration of EIGRP routing protocol in router 1.
7. Smart phone accessing the server by using EIGRP routing protocol in
figure 7.
Figure – 7 : phone accessing the server by using EIGRP routing protocol.
8.Now we will register an account in the server for connecting all the
IOT devices/home devices by giving user name & password in figure 8.
Figure – 8 :Registration of an account in the server.
9. Smart phone accessing the home by sign in to the server in figure 9.
Figure – 9 : Smart phone accessing the home by sign in to the server.
10. After sign in to the server by using smart phone in figure 10.
Figure – 10 : After sign in to the server by using smart phone.
Now we will implements all the logics / conditions in the server for
making automated house.
Logics / Conditions:
1.In front of the house when there will be someone,motion detector
will detect that and webcam will be automatically on.
2.In front of the house when there will be nobody,motion detector will
be off and also webcam will be automatically off.
3.In front of the house when lawn sprinkler will be on then
automatically water drain will be on.
4. In front of the house when lawn sprinkler will be off then
automatically water drain will be off.
5.In front of the house when wind detector detect high wind then all
the windows of the house will be off.
6.When there will be someone in the front of the door of the living
room then motion detector will detect that & the door of living room
automatically will be on.
7. When there will be nobody in the front of the door of the living room
then motion detector will be off & the door of living room
automatically will be off.
8.When there will be someone in the living room then motion detector
of the living room will detect that & all the fan ,light ,window &
webcam of the living room will be automatically on.
9. When there will be nobody in the living room then motion detector
of the living room will be off & all the fan ,light ,window & webcam of
the living room will be automatically off.
10. When there will be someone in the front of the door of the bed
room then motion detector will detect that & the door of bed room
automatically will be on.
11. When there will be nobody in the front of the door of the bed room
then motion detector will be off & the door of bed room automatically
will be off.
12. When there will be someone in the bed room then motion detector
of the bed room will detect that & all the fan ,light & window of the bed
room will be automatically on.
13. When there will be nobody in the bed room then motion detector
of the bed room will be off & all the fan ,light & window of the bed
room will be automatically off.
14. When air conditioner of the bed room will be on then the window
of the bed room will be automatically off.
15. When there will be any car or any one in the front of the garage
then motion detector will detect that & the door of garage
automatically will be on.
16. When there will be no car or nobody in the front of the garage then
motion detector will be off & the door of garage automatically will be
off.
17. When there will be someone in the front of the door of the kitchen
then motion detector will detect that & the door of kitchen
automatically will be on.
18. When there will be nobody in the front of the door of the kitchen
then motion detector will be off & the door of the kitchen
automatically will be off.
All the conditions in figure 11
Figure – 11 : All the conditions.
Result and discussion :
In our smart home we are taking front of the house, living room, bed room,
Garage, and Kitchen and also making them automated.We are using the server for
the main connection and to connect smart phone we are using router. For routing
we are using EIGRP.
Front of the House: In the front of the house we have,
Motion sensor
Webcam
Wind Detector
Street Lamp
Lawn Sprinkler
Water Drain
Car
Initially all things are off.
Figure 12: Front of the house before turned on
When a motion is detected by the motion detector, then the webcam, street light
and wind detector will turned on. Automatic water drain will be opened when the
water sprinkler is turned on and drain the excess water.
Figure 13:Front of the house after turned on
Living room: In the living room we have,
Motion sensor
Door
Webcam
Fan
Window
Light
Initially all things are off.
Figure 14: Living room
When the motion happens in front of the door of the living room, the door itself is
open automatically. After entering the room, light, fan, webcam and window will
run. If it needed then user can control light, fan by his smart phone.When we will
be out of the room, the lamp, fan, window, webcam will then turn off itself.
Figure 15: living room fan, light, webcam is running and window is open
Bedroom: In bed room we are taking,
Motion detector
Door
Window
Light
Fan
Air conditioner
At the first point all the IOT device will stay in turn off.
Figure 16: Bedroom, initial state
When the motion happens in front of the door of the living room, the door itself is
open automatically.After entering the room, light, fan, window will run.
Figure 17: Bedroom light, fan, window on
But when the users turn on the air conditioner, bedroom fan and window will
automatically turn off.
Figure 19: Bedroom AC off, fan, window Figure 18: Bedroom AC on and fan, window off
on
Garage:
Car
Garage Door
Motion Detector
If the car stays In front of the door of the garage, the garage door will open itself.
Figure 21: Garage door closed Figure 20: Garage door open
Kitchen:
Kitchen:
Motion detector
Kitchen Door
Coffee Maker
Other IOT devices
As other rooms kitchen door will open itself. And after entering the kitchen Coffee
maker and other IOT device will turn on as well.
Figure 23: Kitchen Figure 22: Every device of the kitchen is
turned on.
Conclusion:
In the IOT-Smart Home project we have tried to build an automated home that
can make life easier, secure, and comfortable. And the house also will save
power. The owner of the house can access the house from anywhere of the world
by using his smart phone. Though it is a costly project but after implemented it,
our life will be easier and time saving.