Week - 4
AIM 1 Implement control logic of a “washing machine” using Stateflow as per given sequence: ( washingMachine.slx)
Model for washing machine stateflow is attached .
Signal builder is used to provide two inputs. One for power and one for water. Signals can be adjusted and simulate power off / on and water availabe and not available cases.
When no water is simulated led glows with red until water is available.
AIM 2. Make a Simulink chart for the “Gear shift” logic as per below conditions: ( gear.slx)
Model for geat stateflow attached.
Slider is used to to tune the constant to simulate speed.