Week -2
1.
The following simulink model for door bell using solenoid block
It contains Battery,switch,solenoid,Ideal translation motion sensor,scope
The battery supply current to switch and solenoid when the switch is closed the solenoid got energised and the motion is sensed by ideal translation motion sensor the output of the sensor is connected to scope
The pulse generator is given a time period of 4 sec with amplitude 1 ,50% pulse width will generate pulse for 2 sec.
This will simulate as door bell ringing for 2 sec.

The output result of Door bell using solenoid is shown below

2.
Using thermistor to sense temperature simulink module is shown below
Repeating sequence stair is used for giving varying input temperature[20 27 23] Celsius.Lamp is connected with switch as output.voltage sensor is connected to switch and it compare the the given voltage which changes according to change in temperate.
When temperature is less than 25 Celsius

When temperature is greater than 25 Celsius
