home appliance control system(hacs) - arjun sambamoorthy -anuradha dhawan -chandan mahalingappa...
TRANSCRIPT
Home appliance control System(HACS)
-Arjun Sambamoorthy
-Anuradha Dhawan-Chandan Mahalingappa-Karthik Kumar Annamalai-Praabhu Kannappan
Introduction
HACS is a system controlled by a remote system such as mobile phone or palmtop and at the same time controls, monitors and co-ordinates home appliances microwave, TV/VCR, Bath tub controller, home security, Air conditioner etc
What we have done ??
The HACS authenticates the UserThe user is allowed to select the device he
wants to control.The options set by the user is
communicated to the respective device.The device performs the job accordingly.The user is sent acknowledgement.
The Appliances
The appliances considered are –
1) Microwave
2) Electric Stove
3) TV/VCR
4) Home Security System
5) Fire Alarm
The Overall System
HACS
Use Case Diagram for HACS
login
TV,VCR options
Electric stove options
add/remove devices<<include>>
Home Owner
microwave options
<<include>>
<<include>>
Home Security system options
<<include>>
police dept
Fire Alarm Monitoring
<<extend>>
<<extend>>
Fire dept
<<include>>
Class diagram
Micro WaveTimerClockTemperature
set timer()set clock()set temperature()set schedule()
Electric stoveTemperature
Set Temperature()
TV/VCRtimer
set timer()
Home Security
notify police()Monitor()notify user()
Fire Alarm
Monitor()notify fire department()notify user()
notify
SignalDept Name
Dept Phone No
notify()Monitor()
Loginusrnamepasswd
enter username()ernter passwd()
ApplianceDevice Namestatus
turn on()turn off()
HACS s/mAppliance Nameusernamepasswd
Display Menu()select device()check status()Display status()Add/Remove device()authenticate()create new user()change passwd()
1* 1
+access
*
*
1
*
1
Sequence diagram For Login
: Home Owner
:Login :HACS s/m
1: enter usrname & passwd
5: access
2: send username & passwd
3: authenticate
4: Ack
Sequence diagram for microwave
: Home Owner
HACS s/mMicro wave
1: select microwave
2: check status
3: return status
4: display status
6: select options : turn on/off/timer/clock/schedule
7: enter value turn on/off/timer/clock/schedule
8: set value
9: update
10: ack
11: display result
5: display options
Sequence diagram for electric stove
: Home Owner:HACS s/m :Electric
stove
1: select electric stove
2: check status
3: return status
4: Display status
5: select options : turn on/off/temperature
7: set value
8: update value
9: ack
10: display result
6: enter value turn on/off/temperature
Sequence diagram for TV/VCR
: Home Owner
:HACS s/m :TV/VCR
1: Select TV/VCR
2: Check status
3: Return Status
4: Display Status and menu
5: Select Turn on/off/timer
6: Set Values
7: Update
8: ACK
9: Display result
Sequence diagram for Home Security System
: Home Owner:HACS s/m :Home
security
: police dept
1: select Home Security
2: check status
3: return status
4: Display status
5: Select turn on/off
6: Set Value
7: update
8: monitor
9: notify warning
10: notify warning
11: Display warning
Sequence diagram for Fire Alarm
: Home Owner
:HACS s/m Fire Alarm
: Fire dept
1: Monitor
2: on fire notify
3: notify warning
4: Display warning
Sequence diagram for Add/Remove device
: Home Owner:HACS s/m
1: request to add/remove device
2: checks possiblity
4: updates
5: change menu options
3: add/remove device
6: display result
CRC for Login
Login
Responsibilities Collaboration
Get the username and password from the user
Send Username and Password to system
HACS
CRC for HACS
HACS
Responsibilities Collaboration
Authenticates username/password
Helps the user to select the appliance by displaying the menu
Check the status
Display the Status
Helps the user to add/remove device
Interacts with appliances
Appliance
CRC for Microwave
Microwave
Responsibilities Collaboration
Interacts with HACS
Set the clock, schedule, temperature and timer values
Start cooking at the scheduled time
Inform the HACS when temperature crosses threshold value
HACS
CRC for TV/VCR
TV/VCR
Responsibilities Collaboration
Set the parameter for time
Return status to HACS
Interacts with HACS
HACS
CRC for Home Security System
Home Security System
Responsibilities Collaboration
Return status to HACS
Interacts with HACS
Keep monitoring
Notify police and user in case of burglary
HACS
CRC for Fire Alarm
Fire Alarm
Responsibilities Collaboration
Interacts with HACS
Keeps Monitoring
Notify fire service and user on fire
HACS