You are to write a set of algorithms (Pseudo code) for the safety valve system such that it fulfils the requirements sta

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

You are to write a set of algorithms (Pseudo code) for the safety valve system such that it fulfils the requirements sta

Post by answerhappygod »

You are to write a set of algorithms (Pseudo code) for thesafety valve system such that it fulfils the requirements statedbelow
You Are To Write A Set Of Algorithms Pseudo Code For The Safety Valve System Such That It Fulfils The Requirements Sta 1
You Are To Write A Set Of Algorithms Pseudo Code For The Safety Valve System Such That It Fulfils The Requirements Sta 1 (74.56 KiB) Viewed 44 times
i. ii. iii. iv. V. The pressure sensor is connected to Port A, bit 2 of the microcontroller The relief valve is connected to Port B, bits 1 and 2 of the microcontroller When the pressure in the vessel exceeds the threshold value, the pressure sensor sets the input port A, bit 2 to ON. When the sensor is ON, the microcontroller sends an appropriate output to Port B in order to open the relief valve. As soon as the pressure sensor goes to the OFF state, the microcontroller clears all the output port bits thus closing the relief valve. a. You are to write a set of algorithms (Pseudo code) for the safety valve system such that it fulfils the requirements stated above. [10 Marks] b. A flowchart can be used to describe the step-by-step plan for solving a problem before implementing it using a computer program. Draw a flowchart to show your plan if you were to implement the system given above, using a PIC microcontroller. [10 Marks] Question 1
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply