Week -2
to make arrangement, when the switch is closed the electromagnet receives electrical power from the battery and pulls the metal arm to hit the bell producing sound.
Create a situation where the switch is closed for 2 seconds and then released. Observe the physical movement of the plunger.
Ans : To create this model i have used a pulse generator. I am expecting the input signal as after each 5sec I will engage the doorbell for 2 sec and then release. Execution time is 50 sec.
input signal expected:
Model designed :

Ouput result obserevd on Scope :

Question 2:
2. Use a thermistor to sense the temperature of a heater & turn on or turn off the fan as per the below conditions:
Temperature source: 20 °C from 0 to 10 seconds, 27 °C from 10 to 30 seconds, 23 °C from 30 to 50 seconds
Fan conditions: ON if the temperature above 25 °C, OFF otherwise
Model design:

Problem Statement
Temperature source:
1.20 °C -->293k from 0 to 10 seconds, First 10 sec.
2.27 °C-->300k from 10 to 30 seconds,second 20 sec.
3.23 °C --> 296K from 30 to 50 seconds,Third 20 sec.and continue.
Input Designed according to problem statement:

If the temprature value is greater than(25 °C) 296k fan will on.
At temprature value is greater than(25 °C) 296k,Voltemeter value is 0.011.Same threshold given to the switch=0.011
as Threshold goves below 0.011 fan will be turned off.
Voltmeter Output(Depending on input to Thermister value):

Final Result Fan ON & OFF control (Scope):
