Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

As an engineer,you are required to design digital controller for an automatic washing machine.Input output Available for the washing machine is given in table 1,and

image text in transcribed

As an engineer,you are required to design digital controller for an automatic washing machine.Input output Available for the washing machine is given in table 1,and the following criteria is required in your design: The machine has 3 mode of operation that is WASH, RINSE, and SPIN. Mode spin will drain the water and then, the motor will turn on for 3 minutes . Mode RINSE will Fll the tab with water, and then the motor will turn on and rotate clockwise and anti-clockwise, for 25 times (alternate at every 5 second, with 1 second pause in between) Mode WASH will go through RINSE and SPIN for 3 times. . . The allocated address for washing machine controller is at OxC0001000 Table 1 VO Port Operation condition DO DI D2 D3 D4 DS DS D7 Motor-CW -ON, 0-OFF ION, 0-OFF Motor-CCW Water-inlet Sensor full I-ON,0-OFF I-ON, 0-OFF FULL. D-OFF I-EMPTY, 0-OFE Sensor-empty Based on the given criteria abowe I. Draw a flowchart and write a coding for a subroutine MD SPIN to comply with the Il. Draw a flowchart and write a coding for a subroutine MD RINSE to comply with the II. Finally, write a complete program for the washing machine. mode SPIN mode RINSE ( 25 marks) As an engineer,you are required to design digital controller for an automatic washing machine.Input output Available for the washing machine is given in table 1,and the following criteria is required in your design: The machine has 3 mode of operation that is WASH, RINSE, and SPIN. Mode spin will drain the water and then, the motor will turn on for 3 minutes . Mode RINSE will Fll the tab with water, and then the motor will turn on and rotate clockwise and anti-clockwise, for 25 times (alternate at every 5 second, with 1 second pause in between) Mode WASH will go through RINSE and SPIN for 3 times. . . The allocated address for washing machine controller is at OxC0001000 Table 1 VO Port Operation condition DO DI D2 D3 D4 DS DS D7 Motor-CW -ON, 0-OFF ION, 0-OFF Motor-CCW Water-inlet Sensor full I-ON,0-OFF I-ON, 0-OFF FULL. D-OFF I-EMPTY, 0-OFE Sensor-empty Based on the given criteria abowe I. Draw a flowchart and write a coding for a subroutine MD SPIN to comply with the Il. Draw a flowchart and write a coding for a subroutine MD RINSE to comply with the II. Finally, write a complete program for the washing machine. mode SPIN mode RINSE ( 25 marks)

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

Students also viewed these Databases questions

Question

A program to simulate a token bucket.

Answered: 1 week ago