Week - 4
WASHING MACHINE STATEFLOW:

WASHING MACHINE MODEL:

After power supply is given and water is supplied then soaking,washing,rinsing and drying time values are given as per the given data.
When Power supply is given, the system gets activated

If water supply is not available, the process gets stopped and LED is not glown at the end of process.

Soaking is done only when water supply is available.

Soaking will be done for 200sec.
Afterthat washing will be done.

Washing is done for 100sec and then rinsing.

Rinsing will be done for 20sec and clothes are dried.

After drying for 50sec then the process ges completed.

And the washing machine process is stopped.
GEAR SHIFT
MODEL DIAGRAM:

STATEFLOW:

Here we use a slider to change the speed.
For specific speed, specific gear is alloted as given data.
When speed is 0-15kmph, Gear 1 is activated:

When speed is 15-25kmph, Gear 2 is activated:

When speed is 25-40kmph, Gear 3 is activated:

When speed is 40-60kmph, Gear 4 is activated:

When speed is above 60, Gear 5 is activated:

From this we can conclude gear changes according to the given speed.