1
00:00:02,000 --> 00:00:06,000
Today, we discuss about how to control the temperature of the room.

2
00:00:07,000 --> 00:00:16,000
So in this program, we have different units like temperature for temperature we have in 84 degrees

3
00:00:16,000 --> 00:00:17,000
Celsius.

4
00:00:17,000 --> 00:00:20,000
So for that purpose, I just use.

5
00:00:21,000 --> 00:00:25,000
A thermometer to measure the temperature of room.

6
00:00:28,000 --> 00:00:33,000
So Azin degrees Fahrenheit and another indicator.

7
00:00:36,000 --> 00:00:37,000
Which is one degree Celsius.

8
00:00:39,000 --> 00:00:49,000
So first, in this case, I want to continuously monitor the temperature, so for that purpose, we

9
00:00:49,000 --> 00:00:52,000
have to connect data acquisition.

10
00:00:54,000 --> 00:00:56,000
Over here, this is the expressway.

11
00:00:57,000 --> 00:01:04,000
It will measure the temperature directly from the heart of the device you can use.

12
00:01:06,000 --> 00:01:14,000
And he and I are device to measure the temperature right now, I just use a random number in place of

13
00:01:14,000 --> 00:01:14,000
this.

14
00:01:15,000 --> 00:01:17,000
So we're here in.

15
00:01:17,000 --> 00:01:22,000
But basically this random number, we create values from zero to one.

16
00:01:22,000 --> 00:01:30,000
So my temperature range of my room in this from zero to hundred like in this case.

17
00:01:30,000 --> 00:01:35,000
So I just multiply this when you go from zero to one hundred.

18
00:01:37,000 --> 00:01:45,000
As you see, and I just ran to the nearest value, because if you make zero, find something really

19
00:01:45,000 --> 00:01:46,000
this is floating you.

20
00:01:46,000 --> 00:01:48,000
As you see, the color is orange.

21
00:01:49,000 --> 00:01:54,000
So over here, this is connected to my degree from.

22
00:01:57,000 --> 00:02:03,000
So will give me the value and I just display the units.

23
00:02:05,000 --> 00:02:16,000
So all over here, I just change the color of temperature in this for tonight, the calories and for

24
00:02:16,000 --> 00:02:20,000
this color is OK.

25
00:02:20,000 --> 00:02:28,000
So right now, are you just going to this degree Fahrenheit, two degrees Celsius for that purpose?

26
00:02:28,000 --> 00:02:32,000
I use the formula F minus 32.

27
00:02:36,000 --> 00:02:38,000
This annual.

28
00:02:41,000 --> 00:02:42,000
Fly by nine.

29
00:02:53,000 --> 00:03:04,000
OK, so this will give me the temperature and degree Celsius, I just create control to stop the program.

30
00:03:07,000 --> 00:03:12,000
And in this valley, I just take.

31
00:03:14,000 --> 00:03:17,000
To allow these to display the.

32
00:03:18,000 --> 00:03:20,000
Just the condition of Reider.

33
00:03:24,000 --> 00:03:29,000
And another one is for AC.

34
00:03:31,000 --> 00:03:32,000
Airconditioners.

35
00:03:33,000 --> 00:03:36,000
And for this program, let my.

36
00:03:38,000 --> 00:03:40,000
I choose this temperature.

37
00:03:41,000 --> 00:03:48,000
For maintaining their room temperature, so I use basically greater than function and less than function.

38
00:03:50,000 --> 00:03:53,000
So if the temperature of the room.

39
00:03:55,000 --> 00:03:56,000
Is greater than.

40
00:03:59,000 --> 00:04:08,000
It is greater than 27 degrees Celsius, then it will be on the relay, which is connected with the AC.

41
00:04:09,000 --> 00:04:12,000
So it will be on our AC if.

42
00:04:13,000 --> 00:04:18,000
The temperature of the room is below 20 degrees Celsius.

43
00:04:21,000 --> 00:04:23,000
Below 20 degrees Celsius.

44
00:04:24,000 --> 00:04:33,000
In that case, it will turn on the AC, so my room temperature is maintained between one to be seven

45
00:04:33,000 --> 00:04:34,000
degrees Celsius.

46
00:04:35,000 --> 00:04:36,000
OK, so.

47
00:04:38,000 --> 00:04:45,000
Over here, I also use a relay function so that my program run.

48
00:04:46,000 --> 00:04:55,000
With a delay of two seconds, so as I understand right now, temperature is 18 degrees Fahrenheit,

49
00:04:55,000 --> 00:04:58,000
19 and 68 right now.

50
00:04:58,000 --> 00:05:08,000
So according to this, the condition of AC and heater are basically these SCMP he does are connected

51
00:05:08,000 --> 00:05:15,000
to a relay and relay the signal from the data aggregation guard.

52
00:05:16,000 --> 00:05:20,000
Basically, in this case, we generate a signal for heater.

53
00:05:22,000 --> 00:05:23,000
Or for.

54
00:05:24,000 --> 00:05:31,000
Air conditioner vote, so according to the temperature, the condition changed.

55
00:05:31,000 --> 00:05:33,000
And as you see.

56
00:05:34,000 --> 00:05:41,000
As the temperature changes, some time alone, some time alone, according to the.

57
00:05:42,000 --> 00:05:44,000
And Plager condition, thank you.

