Professional Documents
Culture Documents
Module 2: Design of Embedded Systems
Module 2: Design of Embedded Systems
Embedded Systems
Room Temperature Monitoring
K.R.Anupama
System Design
Temperature Sensor
Example 1
The System Design process
Architecture
Components
Sys Integration
User Requirements
If so do, we display
Will multiple
What is the size of an average/ or per
sensors be
the room ? temperature
required ?
sensor ?
What is the
Display in Resolution of
interval at which
temperature in 0 C temperature
the temperature
or F scale ? sensing ?
should be sensed ?
Step1: Select the Temperature Sensor
• No of analog i/ps- 2
• 8-channel ADC
• Size of ADC
• Resolution of sensor
• 19.6mv /F
• 8-bit
• 0808 – 8 channel, 8-bit ADC
Step 3: Output Interface
Sensor 1
Sensor 2
Ports ADC
(8-bit)
A B
Main
IRET IRET
Step 5: Software - ISR
A
ISR 1
N ISR2
All
Start Conversion sensors
for sensor read Read ADC
Y
Enable INT Find average
IRET
Wait for Convert to oC
Int
Display Temp
A
IRET