WEBVTT

00:00.080 --> 00:02.420
You have just finished the course.

00:02.450 --> 00:03.920
Congratulations.

00:03.920 --> 00:09.120
If you've made it until that point, it means that you also have made huge progress.

00:09.140 --> 00:15.740
You can now apply your knowledge to any project of your own or start any other project from scratch.

00:15.740 --> 00:21.770
And before we wrap things up, just a quick recap on how to build an application with both Raspberry

00:21.770 --> 00:23.090
Pi and Arduino.

00:23.120 --> 00:29.000
The step by step process is kind of a best practice you can follow, which will help you progress faster

00:29.000 --> 00:30.380
when doing a project.

00:30.380 --> 00:38.030
So once you have a project ID, start by finding what functionalities do you need to implement in order

00:38.030 --> 00:39.410
to achieve the project.

00:39.410 --> 00:45.860
Then from those functionalities, choose which ones are going to be on the Arduino side and which ones

00:45.860 --> 00:52.520
are going to be on the Raspberry Pi side for some functionalities like taking a photo with the Pi camera,

00:52.520 --> 00:58.490
well, this is kind of obvious, but for other functionalities is going to be quite challenging to know

00:58.490 --> 01:02.940
on which side you should implement them to correctly choose.

01:02.970 --> 01:09.480
Remember that the application logic is on the Raspberry Pi and the execution of hardware command is

01:09.480 --> 01:10.410
on the Arduino.

01:10.500 --> 01:16.530
And well, if you realize that you need to change one functionality later on when doing the project,

01:16.560 --> 01:17.520
no problem.

01:17.520 --> 01:17.710
Okay.

01:17.760 --> 01:19.200
You can still modify it.

01:19.200 --> 01:25.860
After that, the functionalities are clear to you and you know on which side they are going to be implemented.

01:25.860 --> 01:29.420
Then it's time to define a communication protocol.

01:29.430 --> 01:35.220
Basically what commands and messages you are going to send and receive on both sides.

01:35.220 --> 01:40.470
It's important to do this now so you know what to do when you are going to write the code.

01:40.620 --> 01:44.280
And finally, we arrive at the coding part.

01:44.310 --> 01:47.790
At this point, you have a good idea of what you need to do.

01:48.000 --> 01:54.240
I recommend you start with the Arduino code, implement the Arduino functionalities and with serial

01:54.270 --> 01:58.350
send some messages and process the comments that you receive.

01:58.380 --> 02:01.110
If you correctly down the previous steps.

02:01.110 --> 02:04.770
This should not be hard to do when writing the Arduino code.

02:04.770 --> 02:07.230
You can debug using the serial monitor.

02:07.260 --> 02:12.930
Once this part of the application is working, then write the code on the Raspberry Pi.

02:12.960 --> 02:18.900
You will implement the functionalities that are specific to the Raspberry Pi and also the application

02:18.900 --> 02:19.590
logic.

02:19.620 --> 02:26.610
I suggest you iterate on the code one step at a time with a clear intermediate goal where you can see

02:26.610 --> 02:33.510
a real result after you've done and tested one step right the next one until you finish the application.

02:33.510 --> 02:40.830
And well, if you follow this work structure, you should be able to create any product you want in

02:40.830 --> 02:41.760
no time.
