1
00:00:00,800 --> 00:00:08,770
Ireland will come this Wilson and what going to upload new firmware or to or over to our ISP, that

2
00:00:08,780 --> 00:00:14,750
toolbox, so we will upload the same code, but we will change this sentence.

3
00:00:15,230 --> 00:00:22,640
So let's save it and a new project save as analysts call it all to.

4
00:00:24,540 --> 00:00:27,420
Underscore symbol called SB 32.

5
00:00:28,440 --> 00:00:34,680
I'll save you called and make sure that any code that you are uploading has the piercing, elegant or

6
00:00:34,690 --> 00:00:43,710
taglines so that when you want to make a future update, you can have access to the update section of

7
00:00:43,710 --> 00:00:44,400
the observer.

8
00:00:44,940 --> 00:00:48,960
So it depends on any code you are trying to upload.

9
00:00:49,530 --> 00:00:50,880
You have to make a few edits.

10
00:00:50,880 --> 00:00:52,350
You have to add these two lines.

11
00:00:52,740 --> 00:00:56,790
You have to add the lines relevant to the elegant server.

12
00:00:56,880 --> 00:01:02,550
Like this line and these three libraries?

13
00:01:04,010 --> 00:01:11,270
Now, adding this would make sure that if you want to send a new update, it will be something you can

14
00:01:11,270 --> 00:01:18,200
do because you already have the Iligan server enabled inside your new project or on your code.

15
00:01:18,920 --> 00:01:20,570
So let's say that this is a new code.

16
00:01:21,830 --> 00:01:27,050
And we have added the elegant OTM again, so that whenever we have a future update, we can also send

17
00:01:27,050 --> 00:01:27,850
it off to.

18
00:01:28,550 --> 00:01:29,840
Now let's update this line.

19
00:01:29,990 --> 00:01:30,920
Let's make it.

20
00:01:32,530 --> 00:01:33,040
This.

21
00:01:35,050 --> 00:01:40,300
Ford's update was sent over the end of the year.

22
00:01:41,580 --> 00:01:43,330
Now let's combine.

23
00:01:45,140 --> 00:01:49,520
Now, the first thing that I will show you is that mine air sport is not connected.

24
00:01:49,580 --> 00:01:52,940
So go to the tools and here we have it connected at home.

25
00:01:52,940 --> 00:01:56,570
For now, I will disconnected and connected to our power supply.

26
00:01:56,990 --> 00:02:00,650
And instead of connecting it to my computer.

27
00:02:02,810 --> 00:02:03,860
So now.

28
00:02:05,100 --> 00:02:12,060
If we went to the device manager, as you can see here and the components, we don't have an ESB board.

29
00:02:14,820 --> 00:02:22,890
Now done compiling every file or every project that we need to upload or to air over the air should

30
00:02:22,890 --> 00:02:24,690
be in dustbin format.

31
00:02:25,350 --> 00:02:32,280
Now to get your document format for our project that you are working on using the Arduino IEEE, make

32
00:02:32,460 --> 00:02:39,030
to open your sketch, then go to sketch and select export combined.

33
00:02:40,140 --> 00:02:40,710
Binary.

34
00:02:41,430 --> 00:02:49,530
Once you click here, it will start compiling the sketch and will create a pin file for you inside your

35
00:02:49,530 --> 00:02:50,310
sketch folder.

36
00:02:51,640 --> 00:02:56,640
That's the pin or bin file that you should applaud.

37
00:02:56,940 --> 00:03:05,300
Using the elegant or to your beige if you want to update the firmware on your ISP, there's to all of

38
00:03:05,300 --> 00:03:07,950
if you want to send a code update to your ISP.

39
00:03:07,950 --> 00:03:08,550
32.

40
00:03:09,570 --> 00:03:17,580
Now, to get your binary file, you can click shows kids folder called Skitch.

41
00:03:18,330 --> 00:03:20,640
Once done combining Click Show Sketch Folder.

42
00:03:23,130 --> 00:03:29,430
Now, as you can see here, we have the sketch folder and we have the bin file that we need to upload.

43
00:03:29,580 --> 00:03:30,450
This is all sketch.

44
00:03:31,230 --> 00:03:32,310
This is the bin file.

45
00:03:33,030 --> 00:03:37,290
Now we have our ISP connected to a power supply.

46
00:03:37,980 --> 00:03:41,550
So we need to try to access the IP address.

47
00:03:42,390 --> 00:03:50,780
Now, as you can see when you write 192 168 zero 100, which is the IP, that's what our ESB board.

48
00:03:51,120 --> 00:03:54,000
You will get the default message from our previous code.

49
00:03:54,240 --> 00:03:57,330
So let's refresh the page to make sure that it works.

50
00:03:58,080 --> 00:04:00,360
As you can see, we are still getting the same code.

51
00:04:00,930 --> 00:04:04,350
Now, to update the firmware, you need to write slash dates.

52
00:04:05,400 --> 00:04:10,320
And you will give the speech now, simply copy this directory.

53
00:04:12,270 --> 00:04:21,960
Go to choose file again, the IP address, that update shows file and in here you need to paste your

54
00:04:21,960 --> 00:04:26,820
folder and here we have the Duckpin file that we created.

55
00:04:26,940 --> 00:04:32,610
And again, we created this file by going to our sketch and export combined.

56
00:04:32,610 --> 00:04:35,760
Binary Bin stands for binary.

57
00:04:36,400 --> 00:04:37,440
Now, double click on it.

58
00:04:38,190 --> 00:04:42,360
And as you can see, it's already uploaded to our ISP.

59
00:04:42,360 --> 00:04:43,290
32 bought.

60
00:04:44,270 --> 00:04:54,680
Now, 100 percent means that the code is uploaded and ready for us to see now what a success the checkmark

61
00:04:54,680 --> 00:04:58,400
means that there were no errors and you can select the back button.

62
00:04:59,820 --> 00:05:04,230
Now unique to it, a few seconds, then you need to visit the IP address.

63
00:05:05,430 --> 00:05:11,400
As you can see, once we visited the IP address, we have a new code uploaded and running, this code

64
00:05:11,400 --> 00:05:14,130
update was sent over the air or TV.

65
00:05:14,820 --> 00:05:22,540
And to make sure that this is indeed sent over the air, you can always go and check the port.

66
00:05:22,560 --> 00:05:27,510
We don't have come forward and and the device manager, we don't have control as well.

67
00:05:28,950 --> 00:05:33,720
So we don't have any more connected, and we just sent the cord over that year.

68
00:05:34,650 --> 00:05:39,000
Now, let's do it again by updating this code.

69
00:05:39,780 --> 00:05:41,070
Let's try to.

70
00:05:44,010 --> 00:05:45,420
Version 2.0.

71
00:05:48,980 --> 00:05:49,310
They.

72
00:05:50,580 --> 00:05:51,330
Wireless.

73
00:05:53,380 --> 00:05:56,020
Why, obviously, so let's verify the code.

74
00:06:00,430 --> 00:06:07,390
Now, after notifying, we need to create the unused binary file with the method that we already mentioned.

75
00:06:15,260 --> 00:06:19,400
Now go to sketch export combined binary.

76
00:06:37,060 --> 00:06:39,250
Done combining novel water tools.

77
00:06:40,000 --> 00:06:42,460
Oh, sorry, sketch show, sketch folder.

78
00:06:43,510 --> 00:06:47,050
And here we have the updated MultiAir binary.

79
00:06:48,010 --> 00:06:50,380
Now again, go to your web browser.

80
00:06:52,200 --> 00:06:57,570
Now, when you refresh the page, you will see that we have this cold bite slash update.

81
00:07:00,340 --> 00:07:03,460
Lectures file and select the binary file.

82
00:07:04,800 --> 00:07:07,890
Wait until you see the successful Mark.

83
00:07:11,230 --> 00:07:19,900
Now, this court is being sent over the internet or overall network without any wired connections success.

84
00:07:20,020 --> 00:07:23,590
Now back, you can visit the IP address.

85
00:07:24,610 --> 00:07:29,950
And as you can see on the air, veteran two updated wirelessly.

86
00:07:31,120 --> 00:07:31,630
That's it.

87
00:07:32,320 --> 00:07:39,100
Now, one last thing that we need to mention again is that when you have a cord and you want to update

88
00:07:39,100 --> 00:07:44,770
it over all to send it over the air, you need to make sure that you are adding these lines.

89
00:07:46,430 --> 00:07:47,480
And this line.

90
00:07:48,890 --> 00:07:50,630
And scroll down.

91
00:07:52,020 --> 00:07:54,330
Also of these lines.

92
00:07:55,980 --> 00:07:59,520
He'll make sure that in any future update.

93
00:08:00,570 --> 00:08:08,730
And if you want to send it over the air, you know, your code will be enabled and ready to receive

94
00:08:08,730 --> 00:08:10,050
RTA updates.

95
00:08:10,620 --> 00:08:19,380
If you forgot to add these lines and you updated the codes, you won't have access to the I think it

96
00:08:19,380 --> 00:08:24,930
again or to update feature now if I can comment on these lines here.

97
00:08:27,150 --> 00:08:28,560
OK, here.

98
00:08:29,960 --> 00:08:32,870
We can do this if we come into this line as well.

99
00:08:34,160 --> 00:08:36,590
We can leave this one if to the libraries.

100
00:08:38,130 --> 00:08:42,990
And left just the Observer Library, and if we uploaded the code.

101
00:08:45,150 --> 00:08:46,200
Exports combined.

102
00:08:47,920 --> 00:08:48,490
Binary.

103
00:08:49,180 --> 00:08:56,290
Now this cold won't have the to feature because we remove these two lines and we remove the sink line.

104
00:08:56,890 --> 00:09:03,670
OK, we move the server feature, which is a feature that we should have kept because it's ESB server

105
00:09:04,480 --> 00:09:05,350
or web server.

106
00:09:05,950 --> 00:09:07,210
This is the problem.

107
00:09:08,410 --> 00:09:11,530
Now go explore Campbell by again.

108
00:09:14,220 --> 00:09:16,290
Export compiled by binary.

109
00:09:19,140 --> 00:09:21,120
OK, now I'm compiling now.

110
00:09:21,600 --> 00:09:24,000
The previous gold has the odd feature.

111
00:09:25,300 --> 00:09:26,470
So we come.

112
00:09:27,620 --> 00:09:28,610
Lectures phone.

113
00:09:30,030 --> 00:09:36,900
Update now the new call that you are uploading does not have the RTA update for each other elegant or

114
00:09:36,900 --> 00:09:46,230
to a library, so it will successfully be uploaded to our board, but it will not support the OTA update.

115
00:09:46,230 --> 00:09:52,500
So when we could go back, you will see that we have the new code, but when we select Update.

116
00:09:54,420 --> 00:09:57,300
As you can see, this page is not working.

117
00:09:57,840 --> 00:09:59,670
We don't have the audio feature.

118
00:10:00,090 --> 00:10:03,870
It's just because we forgot to add this line.

119
00:10:07,860 --> 00:10:09,540
These two lines for the libraries.

120
00:10:10,410 --> 00:10:16,140
So by enabling these three lines and our code, it will be obtainable.

121
00:10:16,470 --> 00:10:17,940
It's as simple as that.

122
00:10:20,110 --> 00:10:21,400
Thanks for sharing this lesson.

123
00:10:21,430 --> 00:10:24,610
Now, if you have any questions, I'll be more than happy to help.

124
00:10:25,420 --> 00:10:28,750
This is Ashraf from educational engineering team.
