You are on page 1of 5

ITT270 Digital Electronics Assignment B (5%)

Due: Friday 20220527

UNIVERSITI TEKNOLOGI MARA

COURSE : ITT 270 DIGITAL ELECTRONICS


ASSESSMENT : ASSIGNMENT B
(5% OF FINAL GRADE)
DUE DATE : 27 MAY 2022 (FRIDAY)

NAME :
STUDENT ID :

GROUP :
LECTURER :

ITT270 Assignment B

The concepts of digital electronics can be applied for various applications.

Scenario: Smart home control system


Home automation (commonly called smart home) is increasingly popular among consumers.
The purpose of home automation is to assist consumers in managing and controlling certain
home appliances automatically. By incorporating home automation into their home, the
homeowner can control when certain home appliances can be switched on or off based on
certain conditions.

Nowadays, many home automation systems incorporate the concepts of Internet of things
(IoT). An IoT-based home automation system requires household items to be connected to the
Internet via a smart home hub or smart home gateway. Homeowners then can control their
household items remotely using a website or smartphone app.

There are multiple kinds of home automation, depending on the complexity required by the
homeowner. A basic home automation system typically can control when to switch on or off
the air conditioners, fans or lamps depending on the data from the sensors or other triggers.

The task for this Assignment B is to design a simple smart home control system based on the
requirements specified below.

Name: 1
Student ID:
Group:
ITT270 Digital Electronics Assignment B (5%)
Due: Friday 20220527

B.1. 4-input k-map


A smart home control system is to be designed to control the following items:
• Air conditioner at the living room
• Fan at the living room
• Lamp at the car porch

The air conditioner, fan and lamp are to be switched on or off based on the following conditions:

Table 1: Operation of smart home control system


Temperature Humidity Clock/ timer Clock/ timer
Air cond. Fan Lamp
sensor sensor 1 2
Above
Above 27℃ Before 1900 Before 0800 On On On
50%RH
Above
Below 27℃ Before 1900 Before 0800 On Off On
50%RH
Below
Above 27℃ Before 1900 Before 0800 Off On On
50%RH
Below
Below 27℃ Before 1900 Before 0800 Off Off On
50%RH
Above
Above 27℃ After 1900 Before 0800 On On On
50%RH
Above
Below 27℃ After 1900 Before 0800 On Off On
50%RH
Below
Above 27℃ After 1900 Before 0800 Off On On
50%RH
Below
Below 27℃ After 1900 Before 0800 Off Off On
50%RH
Above
Above 27℃ Before 1900 After 0800 Off Off Off
50%RH
Above
Below 27℃ Before 1900 After 0800 Off Off Off
50%RH
Below
Above 27℃ Before 1900 After 0800 Off Off Off
50%RH
Below
Below 27℃ Before 1900 After 0800 Off Off Off
50%RH
Above
Above 27℃ After 1900 After 0800 Off Off On
50%RH
Above
Below 27℃ After 1900 After 0800 Off Off On
50%RH
Below
Above 27℃ After 1900 After 0800 Off Off On
50%RH
Below
Below 27℃ After 1900 After 0800 Off Off On
50%RH

You are required to design the smart home control system based on the conditions above.

Name: 2
Student ID:
Group:
ITT270 Digital Electronics Assignment B (5%)
Due: Friday 20220527

Task B.1: Convert the operation of the smart home control system into a digital system using
logic gates.

1) Derive a truth table based on the requirements of the system. (5 marks)

2) Draw and populate k-map(s) based on the truth table in (1). Then derive the logic
equations from the k-map(s). [Show groupings in k-map(s) clearly] (4 marks)

3) Using the logic equations from (2), construct and simulate the logic circuit in the
simulator. Screenshot all input-output combinations from the simulator. (15 marks)

4) Do the simulation outputs from (3) match the truth table in (1)? (1 mark)

Name: 3
Student ID:
Group:
ITT270 Digital Electronics Assignment B (5%)
Due: Friday 20220527

B.2 Don’t Care Conditions

After careful review, there are some invalid conditions found in the requirements specified in
Table 1. Therefore, the requirements have been updated as in Table 2.

Table 2: Updated operation for the smart home control system


Temperature Humidity Clock/ timer Clock/ timer
Air cond. Fan Lamp
sensor sensor 1 2
Above
Above 27℃ Before 0800 Before 1900 On On On
50%RH
Above
Below 27℃ Before 0800 Before 1900 On Off On
50%RH
Below
Above 27℃ Before 0800 Before 1900 Off On On
50%RH
Below
Below 27℃ Before 0800 Before 1900 Off Off On
50%RH
Above
Above 27℃ Before 0800 After 1900 Invalid Invalid Invalid
50%RH
Above
Below 27℃ Before 0800 After 1900 Invalid Invalid Invalid
50%RH
Below
Above 27℃ Before 0800 After 1900 Invalid Invalid Invalid
50%RH
Below
Below 27℃ Before 0800 After 1900 Invalid Invalid Invalid
50%RH
Above
Above 27℃ After 0800 Before 1900 Off Off Off
50%RH
Above
Below 27℃ After 0800 Before 1900 Off Off Off
50%RH
Below
Above 27℃ After 0800 Before 1900 Off Off Off
50%RH
Below
Below 27℃ After 0800 Before 1900 Off Off Off
50%RH
Above
Above 27℃ After 0800 After 1900 Off Off On
50%RH
Above
Below 27℃ After 0800 After 1900 Off Off On
50%RH
Below
Above 27℃ After 0800 After 1900 Off Off On
50%RH
Below
Below 27℃ After 0800 After 1900 Off Off On
50%RH

You are required to redesign the smart home control system based on the updated operation
requirement above.

Name: 4
Student ID:
Group:
ITT270 Digital Electronics Assignment B (5%)
Due: Friday 20220527

Task B.2: Convert the updated operation of the smart home control system as specified in
Table 2 into a digital system using logic gates.

1) Derive a truth table based on the updated requirements of the system. (5 marks)

2) Draw and populate k-map(s) based on the truth table in (1). Then derive the logic
equations from the k-map(s). [Show groupings in k-map(s) clearly] (4 marks)

3) Using the logic equations from (2), construct and simulate the logic circuit in the
simulator. Screenshot all input-output combinations from the simulator. (15 marks)

4) Do the simulation outputs from (3) match the truth table in (1)? (1 mark)

End of ITT270 Assignment B


Due date: Friday 20220527

Name: 5
Student ID:
Group:

You might also like