1
00:00:08,000 --> 00:00:19,000
Today, I will tell you how you can operate a relay using and I mean you can operate use your relay

2
00:00:19,000 --> 00:00:27,000
module using analog outport or using these bolts off and I my neck.

3
00:00:28,000 --> 00:00:30,000
So here is my relay.

4
00:00:30,000 --> 00:00:33,000
And on this relay, there are three bolts.

5
00:00:34,000 --> 00:00:40,000
One is basically another one is ground and one is input or signal board.

6
00:00:41,000 --> 00:00:51,000
So I directly connect to the plus firewall of and I Mitic ground to unallowed ground and the input signal

7
00:00:52,000 --> 00:00:55,000
to the EU zero support in this case.

8
00:00:55,000 --> 00:01:02,000
So right now I'm creating a program to break this relay support for that purpose.

9
00:01:03,000 --> 00:01:12,000
I basically create a channel in this case, the analog output that I'm selecting, analog output voltage.

10
00:01:12,000 --> 00:01:21,000
Then the board and the board is IL zero, then I have to start the task

11
00:01:26,000 --> 00:01:26,000
after that.

12
00:01:28,000 --> 00:01:30,000
In this case, I am creating a signal.

13
00:01:31,000 --> 00:01:32,000
So I just

14
00:01:35,000 --> 00:01:41,000
write a signal and then stop,

15
00:01:47,000 --> 00:01:49,000
then clear.

16
00:01:51,000 --> 00:02:00,000
And I require one function also to handle the error, simple error hindle and for continuous signal

17
00:02:00,000 --> 00:02:04,000
I just create a value loophole there.

18
00:02:06,000 --> 00:02:19,000
So this is the program and here I have to input the value which I have to generate using and I might

19
00:02:19,000 --> 00:02:20,000
say so.

20
00:02:20,000 --> 00:02:30,000
In the worst case, I am just taking a vertical slider and he is Five-fold.

21
00:02:31,000 --> 00:02:43,000
I just put this value here and connect it to data input and I'm pressing control.

22
00:02:43,000 --> 00:02:52,000
You will minimize my program and when I put on one button as I increase the value and the threshold

23
00:02:52,000 --> 00:03:00,000
value reached the relay because as you see in the video.

24
00:03:00,000 --> 00:03:01,000
So then I

25
00:03:04,000 --> 00:03:14,000
you can check the Greenly On-Off and the sound is also generated in this case, the relays switching

26
00:03:14,000 --> 00:03:17,000
between normally open and normally closed.

27
00:03:17,000 --> 00:03:28,000
So the radius around four point three point nine, Morad, as you see.

28
00:03:29,000 --> 00:03:34,000
So now I am just stop.

29
00:03:35,000 --> 00:03:36,000
I just stopped the program.

30
00:03:37,000 --> 00:03:44,000
And to create a push button situation,

31
00:03:47,000 --> 00:03:50,000
I just big case Dutcher there.

32
00:03:54,000 --> 00:03:55,000
This is the case structure.

33
00:03:56,000 --> 00:03:59,000
I just connect this case structure.

34
00:04:03,000 --> 00:04:05,000
This is my guest.

35
00:04:06,000 --> 00:04:12,000
I am just increasing the size so you can see.

36
00:04:14,000 --> 00:04:20,000
So this is the case structure, the boolean, which I'm naming it switch.

37
00:04:22,000 --> 00:04:28,000
In this case, I just creating a constant BBR floating value.

38
00:04:28,000 --> 00:04:30,000
You can place numerical.

39
00:04:30,000 --> 00:04:35,000
So you have to connect this to this.

40
00:04:36,000 --> 00:04:49,000
In this case, in the true case, I am placing four point three hold and in the case I just putting

41
00:04:49,000 --> 00:04:49,000
the value zone.

42
00:04:50,000 --> 00:04:51,000
So this is the problem.

43
00:04:52,000 --> 00:04:54,000
And when I don't run.

44
00:04:54,000 --> 00:05:02,000
But as you see when I switch on the button, the relay is also switching.

45
00:05:04,000 --> 00:05:05,000
So this is the problem.

46
00:05:05,000 --> 00:05:07,000
How you can use relay.

47
00:05:08,000 --> 00:05:11,000
Using night, my deck.

48
00:05:12,000 --> 00:05:13,000
Thank you.

