Week -2
doorbell using solenoid
objective:to moniter the plunger when switch is closed for 2 seconds and open.
we can make simulink for above objective with help of solenoid,switch,battery,and signal converters
by using above blocks we can generate diffrent results.
observation of results:
As we can see from the picture of doorbell at 0 seconds in the graph we can see if we have 0 delay so the output is constant.

from the picture of doorbellat2 we give 2 seconds delay we can see in the graph we can see the small droping of line on y-axis in the graph after that the line goes stright.

from the picture doorbellramp we give ramp as input and from the result from the scope we can see that at first the line is constant and after some time it goes down and after that it goes constant again.

Thermistor TO sense the temperature
objectiive:
to check the thermistor temperature f 20 °C from 0 to 10 seconds, 27 °C from 10 to 30 seconds, 23 °C from 30 to 50 seconds.
we can build the simulation model from the blocks thermistor, temperature controoled sensor,current sensor and using converters.
we give input to the simulink by using signal builder as shown below.

the input will be converted and pass through thermistor and sensor.
we can observe our result in the graph below and we can say we achived the above given conditions by observing the graph.

as we can see in above graph picture the y-axis contains the current parameter because of current sensor.
we see at various seconds time the current was different.
fan on above 25degree temperature and off below
we can assume or calculate that at 25 degree the current is at0.011 soo by using this value we can turn fan on and off using switch block.
the output from this can be seen below and we can see the fan was on when it is above 25 degree and off below degrees.
.