Week - 4
WASHING MACHINE
Stateflow chart is used for the full process with conditions and actions as shown in below image and bus operator is used for number of outputs displayed is individually represented by numbers whether on(1) or off (0) in the display and constant is added as inputs to the chart. Output of chart is displayed separately through display and lamps are provided to indicate the LED for process is completed or not.



GEAR SHIFT
Using the stateflow chart and by giving actions and conditions as shown below are arranged to show the speed and gear through display by connecting the outputs of chart to mux and the mux to display. Input was given by signal builder to vary the speed. For the cyclic process the junction is added to start from initial point.