Week - 4
Answers:
1.Control logic of "WASHING MACHINE" using State Flow has been implemented
Case-1(Wash):If Power source=0,Power supply is not available and the system will not activate.
Case-2(Soak):If Power Source=1 and Water Supply=0,then power supply will turn on and water supply will not available and so system will not activate.
Case-3(Rinse):If Power source=1 and Water Supply=1,then power supply will turn on and water supply will be available and so system will activate.After all process completed last lamp will turn on.
2.Gear Shifting has been created by using "SLIDER GAIN" block, to vary the speed while running the simulation
Case-1(Gear):If key=0,then the power will turn off;lamp indicates red colour and Gear Shifting mechanism will not activate.
Case-2(Shifting):If key=1,then the power will turn on;lamp indicates green colour and Gear Shifting mechanism will activate.
Likewise,changing the speed in speedometer,Gear position will change.