Ireland will come this Wilson and what going to upload new firmware or to or over to our ISP, that
toolbox, so we will upload the same code, but we will change this sentence.
So let's save it and a new project save as analysts call it all to.
Underscore symbol called SB 32.
I'll save you called and make sure that any code that you are uploading has the piercing, elegant or
taglines so that when you want to make a future update, you can have access to the update section of
the observer.
So it depends on any code you are trying to upload.
You have to make a few edits.
You have to add these two lines.
You have to add the lines relevant to the elegant server.
Like this line and these three libraries?
Now, adding this would make sure that if you want to send a new update, it will be something you can
do because you already have the Iligan server enabled inside your new project or on your code.
So let's say that this is a new code.
And we have added the elegant OTM again, so that whenever we have a future update, we can also send
it off to.
Now let's update this line.
Let's make it.
This.
Ford's update was sent over the end of the year.
Now let's combine.
Now, the first thing that I will show you is that mine air sport is not connected.
So go to the tools and here we have it connected at home.
For now, I will disconnected and connected to our power supply.
And instead of connecting it to my computer.
So now.
If we went to the device manager, as you can see here and the components, we don't have an ESB board.
Now done compiling every file or every project that we need to upload or to air over the air should
be in dustbin format.
Now to get your document format for our project that you are working on using the Arduino IEEE, make
to open your sketch, then go to sketch and select export combined.
Binary.
Once you click here, it will start compiling the sketch and will create a pin file for you inside your
sketch folder.
That's the pin or bin file that you should applaud.
Using the elegant or to your beige if you want to update the firmware on your ISP, there's to all of
if you want to send a code update to your ISP.
32.
Now, to get your binary file, you can click shows kids folder called Skitch.
Once done combining Click Show Sketch Folder.
Now, as you can see here, we have the sketch folder and we have the bin file that we need to upload.
This is all sketch.
This is the bin file.
Now we have our ISP connected to a power supply.
So we need to try to access the IP address.
Now, as you can see when you write 192 168 zero 100, which is the IP, that's what our ESB board.
You will get the default message from our previous code.
So let's refresh the page to make sure that it works.
As you can see, we are still getting the same code.
Now, to update the firmware, you need to write slash dates.
And you will give the speech now, simply copy this directory.
Go to choose file again, the IP address, that update shows file and in here you need to paste your
folder and here we have the Duckpin file that we created.
And again, we created this file by going to our sketch and export combined.
Binary Bin stands for binary.
Now, double click on it.
And as you can see, it's already uploaded to our ISP.
32 bought.
Now, 100 percent means that the code is uploaded and ready for us to see now what a success the checkmark
means that there were no errors and you can select the back button.
Now unique to it, a few seconds, then you need to visit the IP address.
As you can see, once we visited the IP address, we have a new code uploaded and running, this code
update was sent over the air or TV.
And to make sure that this is indeed sent over the air, you can always go and check the port.
We don't have come forward and and the device manager, we don't have control as well.
So we don't have any more connected, and we just sent the cord over that year.
Now, let's do it again by updating this code.
Let's try to.
Version 2.0.
They.
Wireless.
Why, obviously, so let's verify the code.
Now, after notifying, we need to create the unused binary file with the method that we already mentioned.
Now go to sketch export combined binary.
Done combining novel water tools.
Oh, sorry, sketch show, sketch folder.
And here we have the updated MultiAir binary.
Now again, go to your web browser.
Now, when you refresh the page, you will see that we have this cold bite slash update.
Lectures file and select the binary file.
Wait until you see the successful Mark.
Now, this court is being sent over the internet or overall network without any wired connections success.
Now back, you can visit the IP address.
And as you can see on the air, veteran two updated wirelessly.
That's it.
Now, one last thing that we need to mention again is that when you have a cord and you want to update
it over all to send it over the air, you need to make sure that you are adding these lines.
And this line.
And scroll down.
Also of these lines.
He'll make sure that in any future update.
And if you want to send it over the air, you know, your code will be enabled and ready to receive
RTA updates.
If you forgot to add these lines and you updated the codes, you won't have access to the I think it
again or to update feature now if I can comment on these lines here.
OK, here.
We can do this if we come into this line as well.
We can leave this one if to the libraries.
And left just the Observer Library, and if we uploaded the code.
Exports combined.
Binary.
Now this cold won't have the to feature because we remove these two lines and we remove the sink line.
OK, we move the server feature, which is a feature that we should have kept because it's ESB server
or web server.
This is the problem.
Now go explore Campbell by again.
Export compiled by binary.
OK, now I'm compiling now.
The previous gold has the odd feature.
So we come.
Lectures phone.
Update now the new call that you are uploading does not have the RTA update for each other elegant or
to a library, so it will successfully be uploaded to our board, but it will not support the OTA update.
So when we could go back, you will see that we have the new code, but when we select Update.
As you can see, this page is not working.
We don't have the audio feature.
It's just because we forgot to add this line.
These two lines for the libraries.
So by enabling these three lines and our code, it will be obtainable.
It's as simple as that.
Thanks for sharing this lesson.
Now, if you have any questions, I'll be more than happy to help.
This is Ashraf from educational engineering team.