Week -2
1. Doorbell using Solenoid
In this model we will be using a solenoid for a doorbell. For the input a Pulse generator block has been given. Further switch is taken and the switch open and closes according to pulses generated by the pulse generator. The solenoid is electrically connected to a voltage source and a switch is placed in the circuit.
when ever the switch is on the circuit gets closes, then the plunger in the solenoid get attracts and then the bell works.
The position or motion of the plunger can be obtained by the Ideal translational motion sensor block.
Below graph shows the results of this model
Results:
from the results because of pulse generator we can find some pulses obtained for regular intervals of time and there are some spikes whenever the switch is closed because of the plunger movement in solenoid

2. Thermistor to sense temperature
In this model we will be using a thermistor to sense the temperature of the surrounding. For input signal we are using a Repeating Sequence Stair so that we can give the temperature at required time interval as mentioned in the question. A controlled voltage source block is used in between the thermistor and input block. As a thermistor requires voltage divider so resistor hasbeen taken and this circuit is connected across a voltage source. A voltage sensor is connected across the resistor to know the voltage difference and a switch is connected to the voltage sensor. This is the model to sense the temperature with electrical elements and the output can be observed in the scope block.
Result:
from the result we can find that for temperature more 25c i.e., 298.15k it raises to vale 1 which
sends signal to switch on fan