Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A PIC18F452 microcontroller is used to control a two levels tank, with two sensors S1 and S2 where S1 detects the minimum and S2 detects

image text in transcribed
A PIC18F452 microcontroller is used to control a two levels tank, with two sensors S1 and S2 where S1 detects the minimum and S2 detects the maximum. S1 is connected to RC2 and S2 is connected to RC3.The tank level is controlled with valves V1 and V2 where V1 is an input valve and V2 is an output valve, and V1 is connected to RB1 and V2 to RB2. If the level is below the minimum, V1 is turned on and V2 is turned off until the maximum is reached which in turn switch S2 on. The output valve is then turned on and input valve is turned off until the minimum is reached by switching S1. And the procedure repeats itself. Draw a circuit for the operation. Obtain the required special purpose registers. Program the microcontroller either using assembly language or C to carry out the above task

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_2

Step: 3

blur-text-image_3

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

Water Quality Engineering Physical Chemical Treatment Processes

Authors: Mark M. Benjamin, Desmond F. Lawler

1st Edition

1118169654, 9781118169650

More Books

Students also viewed these Chemical Engineering questions

Question

What is American Polity and Governance ?

Answered: 1 week ago

Question

What is Constitution, Political System and Public Policy? In India

Answered: 1 week ago

Question

What is Environment and Ecology? Explain with examples

Answered: 1 week ago