WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.700 --> 00:00:10.500
Hello everyone. Welcome back to the video number six point

1
00:00:10.500 --> 00:00:12.500
 five. And in this video we're going to

2
00:00:13.900 --> 00:00:16.300
Connect mkr1300 to

3
00:00:16.300 --> 00:00:19.200
 the things Network. So guys, let's get started with

4
00:00:19.200 --> 00:00:22.600
 that. So firstly we need to set up an application. So just

5
00:00:22.600 --> 00:00:24.200
 click on the go to application.

6
00:00:27.200 --> 00:00:29.100
And here click on the create application.

7
00:00:31.600 --> 00:00:34.400
and air provide the application ID the

8
00:00:34.400 --> 00:00:36.800
 unique application, for example

9
00:00:40.100 --> 00:00:41.500
mkr when

10
00:00:43.400 --> 00:00:46.500
1300 and sagoda, okay,

11
00:00:46.500 --> 00:00:48.700
 and there will be application name.

12
00:00:50.100 --> 00:00:53.000
Mkr when 1300?

13
00:00:54.300 --> 00:00:55.200
so we'll go the

14
00:00:55.800 --> 00:00:58.600
and create a click on create application and

15
00:00:58.600 --> 00:01:01.800
 we have a application created Okay now click

16
00:01:01.800 --> 00:01:04.500
 on the end devices and here we

17
00:01:04.500 --> 00:01:07.500
 need to add the device click on the register and

18
00:01:07.500 --> 00:01:08.000
 device.

19
00:01:09.700 --> 00:01:12.500
So here we have a different options scan the end

20
00:01:12.500 --> 00:01:15.800
 device QR code or select the Android device from

21
00:01:15.800 --> 00:01:18.800
 the list enter and device specific manual

22
00:01:18.800 --> 00:01:21.600
 figure. So I'm going to choose that and click

23
00:01:21.600 --> 00:01:23.200
 on the Arduino.

24
00:01:24.500 --> 00:01:27.200
Arduino essay and here we

25
00:01:27.200 --> 00:01:31.100
 have Arduino. Mkr110 and okay,

26
00:01:30.100 --> 00:01:33.100
 that's the version and this is

27
00:01:33.100 --> 00:01:35.400
 the same version and the region profile.

28
00:01:36.300 --> 00:01:39.200
That's the region and from here.

29
00:01:39.200 --> 00:01:41.500
 We need to choose the

30
00:01:43.500 --> 00:01:47.100
frequency plan, which is sf9 that

31
00:01:46.100 --> 00:01:47.600
 we already.

32
00:01:49.200 --> 00:01:53.000
Use for the Gateway and here we need a join eui

33
00:01:52.400 --> 00:01:55.500
 of the device. Okay, here is the device.

34
00:01:56.800 --> 00:01:58.900
that I need to connect it with the

35
00:02:00.000 --> 00:02:00.400
system

36
00:02:02.800 --> 00:02:05.100
And we're good to go with that. Just open up

37
00:02:05.100 --> 00:02:09.100
 the Arduino it and from the tools and board

38
00:02:08.100 --> 00:02:09.800
 and from here.

39
00:02:10.800 --> 00:02:13.300
As AMD boards, okay and

40
00:02:13.300 --> 00:02:17.100
 select mk1300 or a 1310 depending

41
00:02:16.100 --> 00:02:19.500
 upon which board you have and here's

42
00:02:19.500 --> 00:02:22.900
 the port. Okay before moving on we need

43
00:02:22.900 --> 00:02:24.900
 to install the library.

44
00:02:26.200 --> 00:02:27.300
for the mkr van

45
00:02:32.900 --> 00:02:33.900
I can type the

46
00:02:34.500 --> 00:02:35.800
mkr van

47
00:02:40.600 --> 00:02:44.000
And here you will get the library. Okay, this is

48
00:02:43.100 --> 00:02:46.700
 for the sport library for mcavan 1300 or

49
00:02:46.700 --> 00:02:49.100
 1310 provides the PHD communicate with the Laura and the lower

50
00:02:49.100 --> 00:02:52.400
 wind networks. Okay. I already have installed. You guys need to install that Library.

51
00:02:52.400 --> 00:02:54.200
 It will contain the examples. So now

52
00:02:55.700 --> 00:02:57.500
click on the file examples

53
00:02:58.500 --> 00:03:02.100
and here we have a mcareware. So just

54
00:03:01.100 --> 00:03:03.900
 click on the first configuration.

55
00:03:05.900 --> 00:03:09.100
Okay, and we need to upload and

56
00:03:08.100 --> 00:03:11.400
 this will provide us device.

57
00:03:12.200 --> 00:03:15.100
Code and we will configure all of

58
00:03:15.100 --> 00:03:16.900
 the stuff by using that example.

59
00:03:24.300 --> 00:03:28.300
Code has been uploaded successfully click on the serial Monitor and here

60
00:03:27.300 --> 00:03:30.100
 is the device eui. Just

61
00:03:30.100 --> 00:03:30.700
 copy that

62
00:03:33.100 --> 00:03:36.200
control C, or you can just right click right click is

63
00:03:36.200 --> 00:03:37.300
 not working copy that

64
00:03:39.700 --> 00:03:42.900
and here we need to paste control V.

65
00:03:43.500 --> 00:03:45.600
and confirm and

66
00:03:47.400 --> 00:03:50.400
As the device you can use the same one.

67
00:03:50.400 --> 00:03:53.600
 Okay, and then we need to generate the app key

68
00:03:53.600 --> 00:03:57.300
 and this is the end device ID. Okay, register

69
00:03:56.300 --> 00:03:58.000
 and device.

70
00:03:58.700 --> 00:04:00.800
And we are good to go with that. Okay.

71
00:04:01.700 --> 00:04:05.200
Now the device has been created here. But

72
00:04:04.200 --> 00:04:06.700
 again we need to go there.

73
00:04:08.200 --> 00:04:08.500
and

74
00:04:09.500 --> 00:04:12.800
Type R. You connecting wire OT AA or

75
00:04:12.800 --> 00:04:15.900
 a BP? So type 1 and press enter

76
00:04:15.900 --> 00:04:18.500
 enter app eui.

77
00:04:19.100 --> 00:04:20.300
Okay, so

78
00:04:21.300 --> 00:04:23.300
here is the app UI.

79
00:04:26.400 --> 00:04:29.500
We need to click on the application some care when

80
00:04:29.500 --> 00:04:31.500
 and this is the application ID.

81
00:04:33.900 --> 00:04:34.100
Okay.

82
00:04:40.700 --> 00:04:42.100
click on the device

83
00:04:44.300 --> 00:04:48.000
You need to find yes below are the app eui?

84
00:04:47.100 --> 00:04:48.800
 Okay copy that.

85
00:04:50.400 --> 00:04:53.500
And control V and press enter. Okay

86
00:04:53.500 --> 00:04:54.900
 Enter app key.

87
00:04:55.800 --> 00:04:57.200
So here you need to

88
00:04:58.100 --> 00:04:59.600
Click on copy to clipboard.

89
00:05:02.400 --> 00:05:05.500
Control V and enter okay, and it

90
00:05:05.500 --> 00:05:08.900
 will take some time just like a couple

91
00:05:08.900 --> 00:05:11.300
 of seconds or minute and it will be good to

92
00:05:11.300 --> 00:05:14.400
 go. And now you see here the last activity seven to

93
00:05:14.400 --> 00:05:18.200
 eight seconds ago. Now we are good to go with that device and the

94
00:05:17.200 --> 00:05:20.700
 data has been coming from the Gateway. Now

95
00:05:20.700 --> 00:05:23.600
 you see here. We didn't mention any detail of

96
00:05:23.600 --> 00:05:26.400
 the Gateway here it automatically select

97
00:05:26.400 --> 00:05:29.800
 the Gateway which is available nearby in the area and

98
00:05:29.800 --> 00:05:31.800
 start sending the data because

99
00:05:32.700 --> 00:05:35.200
it's working on that app UI and

100
00:05:35.200 --> 00:05:38.200
 the app key and the things network is authenticating all

101
00:05:38.200 --> 00:05:41.100
 the stuff. So here's the data is coming click on the

102
00:05:41.100 --> 00:05:44.100
 live data and you will see the scheduled data downloading for the

103
00:05:44.100 --> 00:05:47.500
 transmission and the messaging you

104
00:05:47.500 --> 00:05:51.200
 can send the message from here location allow.

105
00:05:51.900 --> 00:05:54.100
Okay, and there are a

106
00:05:54.100 --> 00:05:55.600
 lot of other stuff. Okay, so

107
00:05:57.400 --> 00:06:00.400
Now in this video we understand how to create the

108
00:06:00.400 --> 00:06:04.300
 application how to add end devices and there

109
00:06:03.300 --> 00:06:06.500
 are some other options like integration. Okay,

110
00:06:06.500 --> 00:06:09.400
 after receiving the data where you want to send if you

111
00:06:09.400 --> 00:06:12.700
 want to send the data to mqtt broker then

112
00:06:12.700 --> 00:06:15.300
 here are the or you can listen the data from

113
00:06:15.300 --> 00:06:19.000
 that built-in mqtt broker. Okay, you

114
00:06:18.200 --> 00:06:21.100
 can use that specification and this is

115
00:06:21.100 --> 00:06:24.300
 the public IPA address. You can say that public domain

116
00:06:24.300 --> 00:06:27.500
 for the mqtt without SSL and this is the SSL. This

117
00:06:27.500 --> 00:06:30.700
 is the username and click generate new

118
00:06:30.700 --> 00:06:33.200
 API key and you will be good to go by the way

119
00:06:33.200 --> 00:06:36.600
 in the upcoming sections. You will learn how to use the mqtt. So don't

120
00:06:36.600 --> 00:06:39.300
 worry about that. Okay, we have option to send the

121
00:06:39.300 --> 00:06:43.000
 data to the webhooks like IFTTT or there

122
00:06:42.100 --> 00:06:45.600
 are some other service providers. There's a

123
00:06:45.600 --> 00:06:48.100
 complete list where you can send your Laura and device

124
00:06:48.100 --> 00:06:48.600
 data to

125
00:06:50.100 --> 00:06:53.700
And these third-party services via webbooks and

126
00:06:53.700 --> 00:06:57.900
 storage integration AWS iot

127
00:06:57.900 --> 00:07:00.300
 core is also available and it's easy.

128
00:07:00.300 --> 00:07:03.700
 You can select the region cloud formation stack name role air

129
00:07:03.700 --> 00:07:06.300
 and we're good to go with that as your

130
00:07:06.300 --> 00:07:08.700
 iot or you can also use the Laura Cloud to

131
00:07:09.800 --> 00:07:12.300
Are received the data in a proper way. So

132
00:07:12.300 --> 00:07:15.500
 guys, this is our complete Laura wind

133
00:07:15.500 --> 00:07:19.100
 section where we learned how to send the data P2P and

134
00:07:18.100 --> 00:07:19.700
 in the

135
00:07:20.500 --> 00:07:23.700
previous video we set up the Gateway. And in this video we set

136
00:07:23.700 --> 00:07:26.400
 up how to send the data how we

137
00:07:26.400 --> 00:07:30.400
 can connect with the things Network. Okay, and in

138
00:07:29.400 --> 00:07:32.400
 the next video, we're going to talk about pros and

139
00:07:32.400 --> 00:07:35.500
 cons of Laura, man, so guys see you in the next video. Have a good day, bye-bye.
