WEBVTT

00:00.140 --> 00:02.510
Let's start with the Raspberry Pi camera.

00:02.510 --> 00:07.220
And in this lesson, I will show you how to correctly plug it to your Raspberry Pi.

00:07.250 --> 00:10.640
Just before that, a quick parenthesis on the camera.

00:10.640 --> 00:13.940
So you have two available cameras for the Raspberry Pi.

00:13.970 --> 00:20.350
The standard camera, which is mounted on a green board, is a quite well standard and normal camera.

00:20.360 --> 00:22.070
It gives you good images.

00:22.070 --> 00:24.490
When the light of the room is good enough.

00:24.500 --> 00:29.210
Then you have the newer camera which is mounted on a black board.

00:29.240 --> 00:35.450
This camera works great in low light environments and actually doesn't need light to operate.

00:35.450 --> 00:40.040
So you can use it in a completely dark room or at night, for example.

00:40.070 --> 00:46.430
Note, however, that in daylight the images will not look as good as the standard camera.

00:46.430 --> 00:52.490
So for this section and for the final project, I will be using the standard Pi camera and I suggest

00:52.490 --> 00:53.960
you do the same.

00:53.960 --> 00:58.400
If, however, you only have the black version, well, no problem at all.

00:58.400 --> 01:04.770
You can follow the same instructions and your images will just have a slightly different look, which

01:04.770 --> 01:06.540
is not a problem for this course.

01:06.540 --> 01:11.700
And now let's see the hardware and let's plug the camera to our Raspberry Pi.

01:12.380 --> 01:14.300
So first of all, and that's important.

01:14.330 --> 01:18.900
Make sure you correctly shut down the Raspberry Pi like you would shut down a normal computer.

01:18.930 --> 01:19.130
Okay.

01:19.130 --> 01:21.260
So don't just remove the power cable.

01:21.290 --> 01:23.030
Shut it down from the software.

01:23.060 --> 01:25.130
Then you remove the power cable.

01:25.130 --> 01:31.130
And what we're going to do also is to remove the SD card for any manipulation we do on the Raspberry

01:31.130 --> 01:34.480
Pi so we don't have the risk of breaking the SD card.

01:34.490 --> 01:38.600
And I'm just going to put that on the side here and put it back at the end.

01:39.050 --> 01:43.010
I'm also going to disconnect anything from the Raspberry Pi, so.

01:44.250 --> 01:49.890
Okay, we are better like this and we are going to take the camera.

01:49.890 --> 01:51.300
So I have the camera here.

01:51.300 --> 01:52.230
You can see.

01:52.230 --> 01:56.520
Well, this is a very simple stuff with the wire here.

01:56.520 --> 01:58.320
And you can see you have a blue part.

01:58.320 --> 02:02.130
And here the connector, a metallic connector.

02:03.330 --> 02:07.290
So we are going to use this part here.

02:07.320 --> 02:07.770
Okay.

02:07.770 --> 02:12.900
You have another one that is similar here, but this is for the display screen that is compatible with

02:12.900 --> 02:13.650
Raspberry Pi.

02:13.650 --> 02:15.480
So we're going to use that one here.

02:15.480 --> 02:19.290
So you can just take out a bit.

02:19.770 --> 02:21.450
You can see the black part.

02:21.480 --> 02:22.050
Okay.

02:22.110 --> 02:22.470
Okay.

02:22.470 --> 02:23.340
This is close.

02:23.340 --> 02:28.710
And if you pull a little bit, this is open.

02:29.220 --> 02:37.950
Now what you do is you take this connector of the camera and the blue part is going to face the USB

02:37.950 --> 02:39.000
port here.

02:39.030 --> 02:39.510
Okay?

02:39.510 --> 02:43.080
And the connector here is going to face this side.

02:43.230 --> 02:45.130
So you plug it here.

02:46.410 --> 02:49.980
And you make sure it goes okay.

02:49.980 --> 02:51.360
It goes to the end.

02:52.080 --> 02:52.230
Okay.

02:52.230 --> 02:52.970
That's very important.

02:52.980 --> 02:59.790
You make sure it's correctly plugged and then you're going to push back the black.

03:01.310 --> 03:03.470
He the black plastic part.

03:05.910 --> 03:12.150
So that the camera is plugged and you can see now, okay, nothing should go out.

03:12.180 --> 03:12.390
Okay.

03:12.390 --> 03:14.490
It should be exactly like this.

03:14.490 --> 03:19.350
So now you have the camera which is correctly plugged.

03:19.350 --> 03:22.830
Let's put back the SD card.

03:23.430 --> 03:24.090
All right?

03:24.090 --> 03:31.320
And what you can do is you can put the camera like this facing facing the well, if you put the camera

03:31.350 --> 03:36.450
like this, it's going to face here and it's going to take photo of what's in front of it, of course.

03:36.720 --> 03:45.150
And one thing is that, well, try not to take this connector out and put it back too often, okay.

03:45.150 --> 03:47.370
Because as you can see, that's not like a USB cable.

03:47.370 --> 03:47.640
Okay.

03:47.730 --> 03:49.620
USB cable is very robust.

03:49.650 --> 03:53.310
It's been tested to be plugged unplugged like thousands of times.

03:53.310 --> 04:00.810
But this well, if you plug it, unplug it many times, you may break the connector.

04:00.810 --> 04:07.780
So I really recommend that once it is plugged, you really don't unplug it unless you have to travel

04:07.780 --> 04:11.710
with your Raspberry Pi or unless you have to move it somewhere or put it in a box.

04:11.830 --> 04:12.310
Okay.

04:12.310 --> 04:14.380
So just keep it like this.

04:14.380 --> 04:16.060
And now everything is good.

04:16.090 --> 04:23.830
You can just power on your Raspberry Pi and let's take some photos.
