It's now time to start the final project of the schools.
Congratulations already you have made it through all the sections of the class.
You now have a very strong foundation.
You can also use more advanced functionalities and interact with more hardware components.
Now, this final project will be your first complete original project and a great opportunity to practice
on everything you've seen before.
So what is this project about?
So this is the result you will get at the end of the final project.
So this circuit right here is the circuit that you have build in the schools with all the components
and you are going to use all the components.
So this project is an interactive obstacle detection application.
So you have the ultrasonic sensor here, which would measure the distance in front of it.
And you can see I also print the distance on the LCD display screen as well as increase.
Look at the yellow energy here.
I increase the frequency, the frequency, the closer I am to the sensor.
His breaking very fast here is blinking quite slowly.
I also have a warning.
If I get too close, that's less than 50 centimeters.
And then if I get ready to close less than 10 centimeters, you can see we are in what I call the locked
mode.
So the applications locked against the obstacle price to unlock here.
And then the two entities here right in yellow are blinking at the same time.
OK, so now what are you to do?
So remove the obstacle, OK?
And then I need in order to unlock the application, I need to press here on the push button and now
the application is unlocked.
And I can if I want, I can unlock it again by going to close to the sensor.
You can see here also that you have a green energy, which is Powelltown.
So you have the photoresistor sensor which will measure the luminosity and the higher the the lower
the brightness of the sensor.
And of course, the lower the immunity, the higher the brightness.
OK, so this is independent from the two other entities.
And then so with the remote controller you can use also the remote controller.
And when the application is blocked because of obstacles, so you can either pressing the button, but
you can also press on the play button to resume the operation.
And you can see the application is running again.
Normally then what you can do is so you can see here that the distance is in centimeters if I press
on the ECU.
But you can see now I have the distance in inches so you can toggle between centimeters and inches by
pressing on one button of the infrared remote control.
And no, the thing is that this value is also saved inside the original with the April memories.
So this is the settings that if I restore the audio with the reset button.
So you see, so I have initializing for one second and then you can see we still have entries.
OK, this was inside the April memorial.
So you can keep default settings like this and now you have additional functionality.
So if I toggle with the Ildong button, I can go see, for example, the luminosity, which is the relevance
of the you can see of the photoresistor.
I can put my hand.
This is going to be lower.
OK, you can see that you directly from the photoresistor stencil.
And then I can also go to this screen which says Price off to reset the settings.
And this I can place on the off button settings have been resits.
Now, if I go back to the previous screen with the distance, I can see now the distance is in centimeters.
So by going on the screen and pressing on the other button, I can reset all the default settings in
the application.
All right.
So you can see that is a quite complete project.
OK, first, the main functionality is to detect obstacles and to tell the secret all the robot or the
application to look and to wait until a user has, for example, removed the object and manually unlocked
the application.
And to that, we add a few functionalities to improve the interactiveness.
OK, so you can have more information with the LCD screen from the entity and also interact with the
screen using the remote controller and the push-Button right there.
And then we are also going to be able to use the simulation so you can see here the complete same Chicot
on the simulation with the same component.
I'm going to run the simulation so you will be able to do the project with the hardware, all with the
simulation.
And you can see the behavior is the same.
So, for example, I can set different distance here.
OK, we have one different 3D which blinks here and I can change here.
You can see the unit.
I can go to the different screens, OK?
And you can see everything is the same as the real secret.
So here you have the final results that you should aim to produce now to make it simpler to get all
the specs and functionalities in one place.
I have created a PDF for the project, which you can download as an additional resource of this class.
Read the PDF to get all the specs and then start to work on the project and a few quick notes before
you start the project.
Well, this project is a little bit more challenging than any activities we have done before, but this
is the way to progress.
If you manage to finish it, you will be ready for any other future project.
One very important thing is that you take enough time to work by yourself before watching the solution.
That's the only way to improve your skills with algorithm.
But then if you are really stuck at some point, don't stay stuck too long and don't feel bad about
watching the next solution.
Stick after this.
Continue to work on your own and maybe come back to this particular step a few days after to do it again
on your own.
So I will provide a Complete Step-By-Step solution where I explain everything and give some best practices
for your future projects for each step.
You can also download the project code until that specific step.
A few of the steps will be already familiar to you because that's very similar to what we've done in
some previous lessons or activities.
But in that case, I still recommend you write the code from scratch and do not copy and paste what
we have previously done before.
And finally, note that the solution that we give is just one solution.
This is not necessarily the solution.
You might end up with something different, but working as expected and this is totally fine now.
Well, I guess this is time for you to start working on this final project.