Question: Q 3 . ( 6 5 pts ) Consider an electronic medical gas alarm panel that continuouslymonitors the pressures of medical air and medical oxygen

Q3.(65 pts ) Consider an electronic medical gas alarm panel that continuouslymonitors the pressures of medical air and medical oxygen delivered by the medical gas distribution system to an intensive care unit and triggers alarms as responses to failure in the pressures.
Pressure is monitored by a digital pressure sensor that outputs logic 1 for normal pressure and logic 0 for faulty pressure. The sensor has three terminals namely VCC, OUTPUT and GND (VCC should be connected to +5 Vdc ).
Visual alarm is triggered regarding the output of the sensor. A green LED is lighted up to indicate "normal pressure" while a red LED is lighted up to indicate "faulty pressure".
Design the electronic circuit, develop the flowchart and write the PBPro program for the alarm panel considering
a. The panel houses a PIC16F877A microcontroller unit running at \(\mathbf{20 ~ M H z}\)
b. The medical air sensor is connected to Port B pin 7 and the red and green LEDs for the medical air pressure are connected to Port B pins 5 and 6 of the microcontroller.
c. The medical oxygen sensor is connected to Port B pin 2 and the red and green LEDs for the medical oxygen pressure are connected to Port B pins \(\mathbf{0}\) and 1 of the microcontroller.
Q 3 . ( 6 5 pts ) Consider an electronic medical

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 Electrical Engineering Questions!