Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is a single question and I want the assembly language code as an answer please read the whole question Question44: 125 Marks] CLO-05 You

image text in transcribed

This is a single question and I want the assembly language code as an answer please read the whole question

Question44: 125 Marks] CLO-05 You are required to design a system for controlling temperature of a room. Temperature can be detected using temperature sensors. There is a fun inside the room whose spoed can be controlled by a DC motor This system should control speed of fan based on the temperature values. If temperature is below 35C, l'un should be running with dy of its maximum speed. If temperature is below 25C, the speed of fun should be further lowered. It should run with 30% of its maximum speed. In all other scenarios, fan runs at speed. The fan runs with 2KHz frequency. Assume a linear relation between speed and average value of PWM Different components are available to you in order to design this system. Details of the components are kiven below: Temperature sensor: A temperature sensor is configured at a certain threshold, If temperature decreases below that threshold, sensor gives logie "O output else it gives out logic * l' Available temperature sensors are 1. SensorA: Threshold value is 25C 2. SensorB: Threshold value is SOC 3. Sensor: Threshold value is 35C 4. Sensor:D:Threshold value is 30C DC Motor: A DC Motor is interfaced with any microcontroller using a driver 16. Each driver I hus its own voltage specification. Fan is connected with motor output terminals. Each motor runs with certain frequency Available DC motors are: 1. Motor driver works at 12V, frequency = 10KHZ 2. MotorB: driver works at 5V, frequency = 2KHz 3. Motor driver works at 5V, frequency -4KH Microcontroller: Microcontrollers available in market have different on chup modules availahte. Driver circuits of microcontrollers have only 24MHz oscillator. Available controllers are: 1. MCI: 8 bit controller. 2 timers, I external interrupt source. I serial module 2. MC28bit controller, 3 timers, 2 external interrupt sources, 1 serial module Assume both microcontrollen belong to 8051 family and use sume assembly Things to do: A) Mention which 8051 module/modules you will be using (timer/counter/interrupts/serial medule/simple input output etc.) to monitor sensor and to control the DC motor 8) Identify the hardware components that are needed to be interfaced with 8051 C und draw a neut circuit diagram with clear montion of pins. c) Write an efficient assembly language code. Question44: 125 Marks] CLO-05 You are required to design a system for controlling temperature of a room. Temperature can be detected using temperature sensors. There is a fun inside the room whose spoed can be controlled by a DC motor This system should control speed of fan based on the temperature values. If temperature is below 35C, l'un should be running with dy of its maximum speed. If temperature is below 25C, the speed of fun should be further lowered. It should run with 30% of its maximum speed. In all other scenarios, fan runs at speed. The fan runs with 2KHz frequency. Assume a linear relation between speed and average value of PWM Different components are available to you in order to design this system. Details of the components are kiven below: Temperature sensor: A temperature sensor is configured at a certain threshold, If temperature decreases below that threshold, sensor gives logie "O output else it gives out logic * l' Available temperature sensors are 1. SensorA: Threshold value is 25C 2. SensorB: Threshold value is SOC 3. Sensor: Threshold value is 35C 4. Sensor:D:Threshold value is 30C DC Motor: A DC Motor is interfaced with any microcontroller using a driver 16. Each driver I hus its own voltage specification. Fan is connected with motor output terminals. Each motor runs with certain frequency Available DC motors are: 1. Motor driver works at 12V, frequency = 10KHZ 2. MotorB: driver works at 5V, frequency = 2KHz 3. Motor driver works at 5V, frequency -4KH Microcontroller: Microcontrollers available in market have different on chup modules availahte. Driver circuits of microcontrollers have only 24MHz oscillator. Available controllers are: 1. MCI: 8 bit controller. 2 timers, I external interrupt source. I serial module 2. MC28bit controller, 3 timers, 2 external interrupt sources, 1 serial module Assume both microcontrollen belong to 8051 family and use sume assembly Things to do: A) Mention which 8051 module/modules you will be using (timer/counter/interrupts/serial medule/simple input output etc.) to monitor sensor and to control the DC motor 8) Identify the hardware components that are needed to be interfaced with 8051 C und draw a neut circuit diagram with clear montion of pins. c) Write an efficient assembly language code

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

13-4 What are alternative methods for building information systems?

Answered: 1 week ago