Week -2
Aim: To Make a Simulink model of Doorbell using solenoid block with the following details:
Simulation Diagram:

Results:
First 2 seconds the bell will ring and remaining time will in rest mode.
2 Ans:
Aim To run the fan for given conditions
condition:
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
shematic diagram:

To find the room the temperature using NTC thermistor,
R=R0eB(1/T−1/T0)
T0= Intial temperature(reference)
T1= final temperature
R0= resistance at T0
R1= resistance at T1
r1 = 100 ohm series onnected resistance
v2= voltage acroos the thermistor
To Find the R
use the formula
R=(r1*V2)/(Vin-V2)
here using the dc motor instead of fan
Results:

10 to 30 Seconds fan was in on mode remaing all times up to 50 seconds it will be in off mode.