Skip to content

Kart03/Home-Automation

Repository files navigation

In this project we implemented a home automation system with help of verilog. Our project is capable of providing security, appropriate temperature and lighting. We have made a security system which controlls the locks of all doors and windows in the house. The user can unlock the home or garage using a 5-digit password and can also change it using a non changeable unique key. User can set different or same passwords for garage and home. We have also made a burglar alarm system that triggers when any door or window is opened(broken) when the home is locked. The alarm is also triggered when some enters wrong password more than three times. We have also made lighting system that turns on light if luminosity if below a particular limit. There is a air conditioning system that turns on/off heater, AC and fans in each room. Lights and air conditioning of the particular room will turn on only if there is someone present in the room. Presence will be detected by motion detector and human presence detector present in each room. Lights will turn on if there is some movement in the room (will turn off if the person is sleeping) and air conditioning will work if human presence is there. There is also a fire safety system that triggers a fire alarm if smoke is detected anywhere in the house.

In the project file, there is a master module called smart_home module. This module initiates every other module in it and controls their inputs and outputs. 

The checking of password for both home and garage is done using the password_check module. In password check, if the number of times a wrong password is input exceeds 3, then an alarm will ring. If the user has to change the password and he has given the unique key as an input for password, then the password will get reset to new password. If the given password is correct, it will unlock the home (note that this will however not unlock the garage and vice versa).The password_check works same in case of garage.
 
Our air conditioning module will work according to the values of temperature. We have assumed the input from the temperature sensor to be biased by 64 units to accomodate negative values of temperature. If the temperature is less than 10 degree celsius, then heater will get switched on, if temperature is between 10 and 20 degree celsius, then none of cooling or heating appliance will work. If temperature is between 20 and 23 degree celsius, then our fan will start with a regulation of 2. If temperature is between 23 and 26, then fan will rotate with a regulation of index 3. With temperature rising above 30 degree celcius, our AC will start. 

Lighting module will work on the basis of the luminosity index. If index is less than 4 and we detect a human, then our lights will be switched on. However, if even one of the above two stated conditions fails, our lights will not get switched on. Detection of motion is necessary, so that lights do not get switched on even if luminosity drops below 4 and there is no human .

Kitchen module is helpful in maintaining the ventilation of our kitchen. The stove state variable tells whether our stove is being used or not. If stove is being used, then chimney will start working, providing ventilation and it will work even if we stop using stove, for additional 60 seconds and then turns off.

Fire alarm warns the residents of the smart home as well as neighbours, if there is an outbreak of fire. Initially the alarm is set to an off state. Every time we detect smoke, the fire alarm will start ringing. Smoke detector is of 8 bit because there are 8 rooms, each bit corresponding to a single room. If a bit corresponding to a room is 1, then we have detected smoke in that room and fire alarm in that room will ring respectively.

If a thief or any unwanted person is trying to enter our smart home, then we have burglar alarm to alert us and our neighbours. If our garage is locked and someone is trying to open it, then the alarm in our garage will ring, alerting us. There are 8 alarms in our home, one for each room, because if an intruder tries to enter from a specific room, then alarm present in that room will ring. If we have a same alarm for all rooms, then we will not be able to detect the location of the thief. 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •