1
00:00:05,610 --> 00:00:11,780
So in this lecture I sure you know how to send the data over others put it in the face.

2
00:00:11,870 --> 00:00:17,580
Basically the god are programmed to send the data or receive the data over others for it.

3
00:00:17,580 --> 00:00:20,910
Faith is similar to that of others too.

4
00:00:20,970 --> 00:00:24,750
We just have to send the data to particular you like that.

5
00:00:25,380 --> 00:00:32,670
And another thing is when we did the programming part of IRIS 232 at that time we saw how to save the

6
00:00:32,670 --> 00:00:36,540
data which takes some bite and how to receive the data.

7
00:00:36,540 --> 00:00:39,540
It takes somebody over at us to do the interface.

8
00:00:39,810 --> 00:00:46,800
But here I will not include Jake some by part for others for for programming because it is similar to

9
00:00:46,800 --> 00:00:49,450
that of others to do here.

10
00:00:49,470 --> 00:00:55,950
I will just simply show you how to receive and soon the data over Iris for its interface.

11
00:00:55,980 --> 00:01:03,050
So in this lecture I will show you how to send the data over Iris for it faint office and in next lecture

12
00:01:03,330 --> 00:01:07,430
I will show you how to receive the data over Iris put it interface.

13
00:01:08,310 --> 00:01:15,730
So on hardware side you can see this is the iris footed face to face spike and this is the terminal.

14
00:01:15,750 --> 00:01:19,360
And this is the big terminal of ads for it failing.

15
00:01:19,380 --> 00:01:27,240
And this is basically the others footed 5 to EDI all to done and we haven't really discussed the.

16
00:01:27,270 --> 00:01:31,600
So good that how to design Iris put it to us.

17
00:01:31,640 --> 00:01:32,370
We're to them.

18
00:01:32,670 --> 00:01:36,740
And I make this a good deal of this dark PCV

19
00:01:40,260 --> 00:01:46,980
after dark it is connected to a terminal of this Iris for its IP use be converted and a B is connected

20
00:01:46,980 --> 00:01:48,910
to determinant of this kind of work.

21
00:01:49,410 --> 00:01:57,690
And this kind of stuff is connected on con footing and of a data logger is connected on com 15.

22
00:01:57,700 --> 00:02:02,260
So now I will explain you the code the code is very simple.

23
00:02:02,550 --> 00:02:06,950
This is the data that we are going to see what others put it failed to face.

24
00:02:06,960 --> 00:02:09,740
And I have stored this data in this buffer.

25
00:02:09,990 --> 00:02:11,640
And the size of this before this drill.

26
00:02:12,010 --> 00:02:12,330
Okay.

27
00:02:12,630 --> 00:02:19,520
And after that okay we do need this variable averages to come into it.

28
00:02:19,830 --> 00:02:24,780
And after that here I have defined the iris footed it control beam.

29
00:02:24,870 --> 00:02:30,100
You can see in our schematic a schematic.

30
00:02:30,270 --> 00:02:36,520
This is the iris for the state parks and we have connected Addy and beeping together.

31
00:02:36,570 --> 00:02:44,720
And later this hour for it's a control pin is connected to pin number 76 on ACT negative physics and

32
00:02:44,720 --> 00:02:50,670
a PIN number 76 is basically PIN number 24 on ordinal Amiga.

33
00:02:50,670 --> 00:02:57,360
That's why I have written 24 here and I have defined this number to this variable.

34
00:02:57,360 --> 00:03:00,820
And after that we will use this variable in our.

35
00:03:00,860 --> 00:03:08,140
All right after that here I have initialized serial three and that is you are three at 9 6 double 0

36
00:03:08,140 --> 00:03:15,460
Baldrick because you know we have connected our Iris for it find to fish on you are 23.

37
00:03:15,460 --> 00:03:22,210
This is the you are three you can see this is the exception and this is the artic spin off.

38
00:03:22,300 --> 00:03:28,460
I just put it five and they are connected on you are three of aggregate 256.

39
00:03:28,510 --> 00:03:28,950
All right.

40
00:03:29,140 --> 00:03:36,690
So that's why I've initialized you are t act 96 double zero Baldrick and later here I have defined orders

41
00:03:36,700 --> 00:03:44,780
for its control pin as an output and after that the most important thing is of Venus to define for its

42
00:03:44,810 --> 00:03:46,840
flight control been as high.

43
00:03:46,870 --> 00:03:56,240
That means you need to generate logic high on this spin again you need to provide logic Hi Ira five

44
00:03:56,310 --> 00:04:02,500
would add on D two pinch whenever you are transmitting the data over others for it filing.

45
00:04:02,840 --> 00:04:10,420
OK so here you can see I have I have written high and deductible that will gendered logic high on these

46
00:04:10,420 --> 00:04:19,840
two pins of others for it that is Adi and the after that I'm just printing this system a certain assets

47
00:04:19,980 --> 00:04:29,220
and later with a delay of once again I'm continuously sending Hello word hello world data on you are

48
00:04:29,280 --> 00:04:39,240
three so now I will just upload decode and here this idea is connected to con 14 and this idea is connected

49
00:04:39,240 --> 00:04:43,970
to com 50 so the call is uploaded.

50
00:04:44,010 --> 00:04:49,740
Either I will just click on the serial monitor and even this one and you can see we are receiving the

51
00:04:49,740 --> 00:04:50,270
data.

52
00:04:50,620 --> 00:04:51,810
Hello.

53
00:04:52,230 --> 00:04:55,200
With a delay of one second on conflating

54
00:04:58,310 --> 00:05:03,320
and that is the delegates transmitting the data over others footed fly in the face of it a delay of

55
00:05:03,500 --> 00:05:05,780
one second and the data is held away.

56
00:05:06,650 --> 00:05:10,710
So it's that simple to send the data over at us put it face to face.

57
00:05:10,860 --> 00:05:16,750
And now if we write Lou here then let's see what happened what happens.

58
00:05:16,760 --> 00:05:22,710
So I will just upload decode now and let's see if we just clear this CRM when you do.

59
00:05:27,590 --> 00:05:37,160
And you can see V.A. getting the data again regarding God single system he those who at a list to the

60
00:05:37,200 --> 00:05:40,830
data logger okay.

61
00:05:40,930 --> 00:05:45,410
We're not getting system research on this a secret terminal.

62
00:05:45,430 --> 00:05:47,650
It's because I haven't it initialized.

63
00:05:47,950 --> 00:05:49,120
You interface yet.

64
00:05:49,560 --> 00:05:56,620
So I will just copy this but you are zero and I will be stored here and I will write you at zero here

65
00:05:57,790 --> 00:05:59,290
and also here.

66
00:05:59,290 --> 00:06:02,030
After that we will get that.

67
00:06:02,620 --> 00:06:04,310
So you don't need to write zero.

68
00:06:04,840 --> 00:06:05,400
Okay.

69
00:06:05,710 --> 00:06:14,100
So I will just upload it now and we should get no system reset on com 15.

70
00:06:14,180 --> 00:06:14,630
All right.

71
00:06:14,980 --> 00:06:22,990
So you can see that when I wrote here Lou at that time we're not getting any data on conflicting segments

72
00:06:23,470 --> 00:06:27,590
of a data logo is not transmitting the data or ideas for its interface.

73
00:06:27,610 --> 00:06:28,670
So whenever you are.

74
00:06:28,960 --> 00:06:32,150
Whenever you have to transmit the data what does it say interface.

75
00:06:32,170 --> 00:06:33,540
At that thank you note to.

76
00:06:33,550 --> 00:06:34,660
High here.

77
00:06:34,660 --> 00:06:43,480
And that is uniquely gendered logic on this being and later you will get the data that means your data

78
00:06:44,740 --> 00:06:50,290
and then you will be able to transmit the data or address for filing and you can see we are getting

79
00:06:50,290 --> 00:06:51,130
the data now.

80
00:06:51,790 --> 00:06:54,080
So that's how we can transmit the data.

81
00:06:54,160 --> 00:06:58,500
Or I just put it face to face and that's what I wanted to tell in this lecture.

82
00:06:58,510 --> 00:07:02,620
Now in next lecture we will see how to receive the data over others for it.

83
00:07:02,690 --> 00:07:03,050
Interface.

