Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write code in assembly and also simulation aswell Max Time: 1. Consider temperature sensor is connected on external interrupt pin INTO and pressure sensor on

image text in transcribedwrite code in assembly and also simulation aswell

Max Time: 1. Consider temperature sensor is connected on external interrupt pin INTO and pressure sensor on pin INTI. The temperature & pressure sensors go from high to low when temp > 25 and pressure > 3 atm resp. Write 8051 assembly or C program which continuously monitor these sensors. If temp > 25, then turn on fan connected to P0.7 for 1.5 seconds and if pressure > 3atm, open pressure valve connected to P0.6 for 0.9 seconds. Also read value of ADC connected to Port 2 and display its value on Port I continuously. Note: You must use timer interrupts for all delays. (40) 2. Design Proteus simulation for the above program. (Hint: Use logic states for sensors and ADC and LEDs for fan and pressure valve). (10) Max Time: 1. Consider temperature sensor is connected on external interrupt pin INTO and pressure sensor on pin INTI. The temperature & pressure sensors go from high to low when temp > 25 and pressure > 3 atm resp. Write 8051 assembly or C program which continuously monitor these sensors. If temp > 25, then turn on fan connected to P0.7 for 1.5 seconds and if pressure > 3atm, open pressure valve connected to P0.6 for 0.9 seconds. Also read value of ADC connected to Port 2 and display its value on Port I continuously. Note: You must use timer interrupts for all delays. (40) 2. Design Proteus simulation for the above program. (Hint: Use logic states for sensors and ADC and LEDs for fan and pressure valve)

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

Recommended Textbook for

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions