Question: 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

write code in assembly and also simulation aswell Max Time: 1. Considerwrite 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!