WEBVTT - This file was automatically generated by VIMEO

0
00:00:08.200 --> 00:00:11.700
Welcome back guys to video number 6.3. And in this video, why going

1
00:00:11.700 --> 00:00:14.500
 to do experiment how we can send the data?

2
00:00:15.300 --> 00:00:18.500
From one Laura vendor to another Laura van node, you

3
00:00:18.500 --> 00:00:22.500
 can say that P2P. So let's get started with that. Okay, here

4
00:00:21.500 --> 00:00:24.500
 is the wire terminal and firstly we're

5
00:00:24.500 --> 00:00:27.200
 going to set up a receiver node, because there's a no

6
00:00:27.200 --> 00:00:28.100
 sense of attached to that.

7
00:00:28.700 --> 00:00:31.200
And in the Box we will

8
00:00:31.200 --> 00:00:33.200
 get that white terminal.

9
00:00:34.900 --> 00:00:35.200
Okay.

10
00:00:38.800 --> 00:00:39.100
and

11
00:00:42.800 --> 00:00:43.900
here is the chases.

12
00:00:48.500 --> 00:00:48.600
just

13
00:00:49.900 --> 00:00:51.000
Dash the antenna.

14
00:00:51.600 --> 00:00:53.100
with that chases

15
00:00:53.900 --> 00:00:56.600
and here you will get the respiratory pie.

16
00:00:57.200 --> 00:01:00.900
Like gpio pins compatible GPS you can

17
00:01:00.900 --> 00:01:01.300
 say that.

18
00:01:03.200 --> 00:01:05.400
Okay, just stack on it.

19
00:01:07.600 --> 00:01:10.400
And here we're receiver node is good to

20
00:01:10.400 --> 00:01:15.100
 go. Okay, and here is the kit NCAP k1100

21
00:01:14.100 --> 00:01:16.200
 by the way.

22
00:01:17.300 --> 00:01:20.700
If you didn't need the complete kit, you can just purchase a

23
00:01:20.700 --> 00:01:23.800
 simple wire terminal and the E5 module. Okay.

24
00:01:23.800 --> 00:01:25.600
 So here is the wire terminal.

25
00:01:27.600 --> 00:01:30.700
And you will see the other modules like

26
00:01:30.700 --> 00:01:34.200
 I already mentioned this is the camera module.

27
00:01:36.300 --> 00:01:36.500
and

28
00:01:37.400 --> 00:01:39.800
there are different modules and here is our

29
00:01:40.600 --> 00:01:42.400
Laura van E5 module, okay

30
00:01:43.800 --> 00:01:44.100
and

31
00:01:45.500 --> 00:01:47.500
bunch of cables connect

32
00:01:48.400 --> 00:01:49.100
with that

33
00:01:51.900 --> 00:01:55.700
So just attach this lower

34
00:01:54.700 --> 00:01:57.500
 when E5 module cable connector.

35
00:01:58.200 --> 00:02:01.700
and on that right side of the wire terminal

36
00:02:04.200 --> 00:02:07.200
Now put on that side, okay and here is

37
00:02:07.200 --> 00:02:07.500
 our

38
00:02:08.500 --> 00:02:09.700
standard side area

39
00:02:10.600 --> 00:02:11.200
by the way

40
00:02:12.700 --> 00:02:15.300
Water terminal you consumes USB type-c

41
00:02:15.300 --> 00:02:19.000
 for the coding and the power and here's

42
00:02:18.100 --> 00:02:21.200
 a setup. Actually. I already have a

43
00:02:21.200 --> 00:02:22.200
 plan to

44
00:02:24.300 --> 00:02:27.300
Set up a agriculture node, but the issue is

45
00:02:27.300 --> 00:02:31.000
 that it will be more complex. But don't

46
00:02:30.200 --> 00:02:33.800
 worry. I already have a project uploaded on the heckster.io in

47
00:02:33.800 --> 00:02:36.800
 the end of video. I will provide you

48
00:02:36.800 --> 00:02:39.100
 the link so you guys can get started with that. So now

49
00:02:39.100 --> 00:02:40.000
 it's time to do the

50
00:02:40.700 --> 00:02:43.400
Coding so we can send and receive

51
00:02:43.400 --> 00:02:43.700
 the data.

52
00:02:46.400 --> 00:02:49.300
Welcome back guys to coding section and here are our.

53
00:02:50.100 --> 00:02:53.300
Wire Center code and this is our wire receiver node.

54
00:02:54.200 --> 00:02:57.800
So firstly we will discuss about the wire sander here. I didn't

55
00:02:57.800 --> 00:03:00.200
 connect it any sensor because it will make a

56
00:03:00.200 --> 00:03:00.700
 complex.

57
00:03:01.600 --> 00:03:04.700
To learn all the stuff. So just I put some dummy

58
00:03:04.700 --> 00:03:07.300
 random values to understand. Okay. So let's

59
00:03:07.300 --> 00:03:10.600
 get started with that here. We have a software serial E5

60
00:03:10.600 --> 00:03:14.900
 the E5 module is initiated on

61
00:03:14.900 --> 00:03:17.300
 zero comma one pin number, okay.

62
00:03:18.800 --> 00:03:19.500
and

63
00:03:20.900 --> 00:03:24.000
so firstly let's get started with the setup. Okay?

64
00:03:26.100 --> 00:03:29.400
Firstly we will initiate the screen where we have TVs this

65
00:03:29.400 --> 00:03:31.100
 year to and some other stuff.

66
00:03:31.900 --> 00:03:35.300
Temperature and the humidity and here

67
00:03:34.300 --> 00:03:36.200
 we are very fine.

68
00:03:37.000 --> 00:03:37.200
the

69
00:03:38.900 --> 00:03:41.200
E5 modules so firstly we will begin the

70
00:03:41.200 --> 00:03:44.300
 serial begin which is our wire terminal serial. And

71
00:03:44.300 --> 00:03:47.300
 here is the E5 in the previous we mentioned here.

72
00:03:47.300 --> 00:03:50.200
 This is the E5 software serial zero comma one

73
00:03:50.200 --> 00:03:53.200
 okay, and after initiating all the

74
00:03:53.200 --> 00:03:56.300
 stuff here, we find that this is

75
00:03:56.300 --> 00:03:59.200
 connected or not connected by sending the 80 command by

76
00:03:59.200 --> 00:04:02.300
 using that method at 1800 square centers. Go

77
00:04:02.300 --> 00:04:03.200
 check in our school response.

78
00:04:04.500 --> 00:04:07.700
And here we have mentioned the configuration that we

79
00:04:07.700 --> 00:04:10.200
 want to use the 868 frequency SF 12

80
00:04:10.200 --> 00:04:13.700
 and the other specification and here's a

81
00:04:13.700 --> 00:04:16.400
 200 millisecond delay. If the

82
00:04:16.400 --> 00:04:19.400
 module found then we are good to go. If not, then it will display the

83
00:04:19.400 --> 00:04:22.300
 error. No E5 module and is exit is equal

84
00:04:22.300 --> 00:04:23.300
 to pause.

85
00:04:24.500 --> 00:04:27.400
Mean we cannot continue. If it's true. Then the

86
00:04:27.400 --> 00:04:30.600
 node sand will start extending the data after every the

87
00:04:30.600 --> 00:04:33.100
 three second delay. Okay. So now

88
00:04:33.100 --> 00:04:36.300
 let's get to the node anderscore sent method. So

89
00:04:36.300 --> 00:04:39.400
 here is our method note send and we have a one two

90
00:04:39.400 --> 00:04:41.900
 three and the four variables where I'm using the random.

91
00:04:43.400 --> 00:04:46.600
Methods Arduino built-in method and airware specifying

92
00:04:46.600 --> 00:04:49.900
 their ranges and it is sending the random values

93
00:04:49.900 --> 00:04:52.900
 that you guys are also seeing on the screens. Okay, and

94
00:04:52.900 --> 00:04:55.400
 after that we are displaying that data

95
00:04:55.400 --> 00:04:58.100
 on the screen and here we are

96
00:04:58.100 --> 00:04:59.800
 sending all of the stuff.

97
00:05:00.500 --> 00:05:03.700
To the Laura when using the 80 commands and after

98
00:05:03.700 --> 00:05:06.800
 that we will see that Command Center successfully. Okay,

99
00:05:06.800 --> 00:05:09.400
 and this is the our Center node

100
00:05:09.400 --> 00:05:12.800
 and if we come to the receiver node, we are using the Laura van.

101
00:05:14.100 --> 00:05:17.600
Chases for the chess is we have a e540 comma

102
00:05:17.600 --> 00:05:18.600
 41 okay.

103
00:05:19.500 --> 00:05:22.800
It's a different because air we have

104
00:05:22.800 --> 00:05:25.300
 a different pin number on the center side,

105
00:05:25.300 --> 00:05:28.800
 but on the receiver side, we have a chases rack mounted.

106
00:05:28.800 --> 00:05:31.900
 So it have a 40 and 41 pin and

107
00:05:31.900 --> 00:05:34.200
 if we come here and the setup same

108
00:05:34.800 --> 00:05:38.100
we are initiating the screen and everywhere

109
00:05:37.100 --> 00:05:40.400
 opening the E5 dot begin

110
00:05:40.400 --> 00:05:43.100
 and verifying the module is attached or not

111
00:05:43.100 --> 00:05:46.300
 if attached then okay, if not yet, then it will say is

112
00:05:46.300 --> 00:05:48.300
 exit false and we will not.

113
00:05:49.500 --> 00:05:52.400
Be able to listen, but if yes, then the node

114
00:05:52.400 --> 00:05:55.300
 receive function will be started. Okay, and

115
00:05:56.800 --> 00:05:59.300
We need to put the 2000 or

116
00:05:59.300 --> 00:06:00.300
 the 6000, okay.

117
00:06:03.300 --> 00:06:05.700
But it works fine. So no worries. Okay, here is the

118
00:06:08.700 --> 00:06:10.100
node receive method

119
00:06:11.200 --> 00:06:13.400
it's receiving the data and then calling the

120
00:06:14.200 --> 00:06:15.600
receive underscore parts

121
00:06:16.600 --> 00:06:19.500
method to manipulate the data from White

122
00:06:19.500 --> 00:06:23.700
 into the real data. So this is the receiver parts

123
00:06:23.700 --> 00:06:26.800
 method which is listening the E5 and

124
00:06:26.800 --> 00:06:29.300
 for States checking that if E5 is available then

125
00:06:29.300 --> 00:06:32.300
 start reading and after reading it will

126
00:06:32.300 --> 00:06:35.800
 convert the data into different. Sorry. I

127
00:06:35.800 --> 00:06:38.400
 didn't modify the code. It is the TV

128
00:06:38.400 --> 00:06:41.300
 OC this is the CO2. This is the temperature and

129
00:06:41.300 --> 00:06:44.700
 this is the humidity and after that we are displaying all

130
00:06:44.700 --> 00:06:46.200
 the data on the screen.

131
00:06:47.200 --> 00:06:50.800
So these are the course. So both boards

132
00:06:50.800 --> 00:06:53.700
 are connected before moving on you need to select the board. And

133
00:06:53.700 --> 00:06:56.400
 here's the seat and the seat wire terminal and

134
00:06:56.400 --> 00:06:59.300
 on the port. We have a two boards connected

135
00:06:59.300 --> 00:06:59.400
 here.

136
00:07:00.100 --> 00:07:03.200
A receiver is attached on the com4 and the sender is

137
00:07:03.200 --> 00:07:06.600
 on the home 10 and all the code as

138
00:07:06.600 --> 00:07:10.000
 been uploaded successfully. If you see the readings the E5

139
00:07:09.300 --> 00:07:13.300
 Center is sending the data TV OC 117

140
00:07:12.300 --> 00:07:15.300
 co2352 and on the receiver

141
00:07:15.300 --> 00:07:19.600
 node, you can see the same data but with some delays so

142
00:07:19.600 --> 00:07:24.000
 now this is all the stuff that I

143
00:07:22.500 --> 00:07:25.600
 demonstrated how we can communicate

144
00:07:25.600 --> 00:07:29.200
 P2P but air is my complete project.

145
00:07:30.700 --> 00:07:33.700
Which is lower when based smart agriculture, it's easy.

146
00:07:33.700 --> 00:07:36.800
 You can just navigate to extra.io/m of

147
00:07:36.800 --> 00:07:39.200
 cell and you will get my profile and from that

148
00:07:39.200 --> 00:07:42.600
 profile you can get all the projects and this

149
00:07:42.600 --> 00:07:46.300
 is the project Laura when based smart agriculture monitoring. What

150
00:07:45.300 --> 00:07:48.500
 I am doing here is actually the

151
00:07:48.500 --> 00:07:51.400
 sender node contains the three sensors one is

152
00:07:51.400 --> 00:07:55.100
 outdoor temperature and humidity, which is DHD 22 and

153
00:07:54.100 --> 00:07:57.400
 one is a soil temperature sensor and another

154
00:07:57.400 --> 00:08:00.400
 soil moisture sensor and all the sensors are sending the

155
00:08:00.400 --> 00:08:02.900
 data to the white terminal and white terminal is sending the data.

156
00:08:03.700 --> 00:08:06.300
To the receiver node using the Laura van

157
00:08:06.300 --> 00:08:09.300
 E5 module and then the receiver node is receiving the

158
00:08:09.300 --> 00:08:12.900
 data and sending that data to the things Peak

159
00:08:12.900 --> 00:08:15.600
 Cloud all the documentation and all

160
00:08:15.600 --> 00:08:18.800
 the stuff including the video course. Everything is

161
00:08:18.800 --> 00:08:21.600
 there and you guys can do the practice.

162
00:08:21.600 --> 00:08:24.800
 Actually it took a lot of time to

163
00:08:24.800 --> 00:08:27.700
 make a video. So I just plan to

164
00:08:27.700 --> 00:08:30.200
 make a P2P communication video to just show you

165
00:08:30.200 --> 00:08:33.100
 how you can communicate from one module to another

166
00:08:33.100 --> 00:08:37.000
 module and later. You can follow that

167
00:08:36.300 --> 00:08:39.400
 project and it will be good to go. Okay guys in

168
00:08:39.400 --> 00:08:42.400
 the next video. We're going to set up the indoor.

169
00:08:43.600 --> 00:08:46.300
Gateway with the ttn and see you

170
00:08:46.300 --> 00:08:47.500
 next video. Have a good day. Bye.
