WEBVTT

00:00.180 --> 00:03.300
Let's now add a new potential winner to our circuit.

00:03.630 --> 00:08.490
So, again, I'm going to do this on Dinga cat and also show you with Dereel Hardway.

00:08.880 --> 00:15.930
So we have our little secret here with the FDA, the Second Circuit, with the pushbutton and the energy.

00:16.110 --> 00:21.000
And know what we are going to do is we are going to start from the second to add the put on tremendo.

00:21.270 --> 00:24.270
So I'm going to click here and duplicate.

00:26.430 --> 00:34.140
So we have a copy of the push button separate from the last section, and I'm just going to name it,

00:34.890 --> 00:36.520
but I'm sure Mr..

00:38.300 --> 00:44.870
And we are going to at the bottom of the hour here with all the other components, so you can see here

00:44.870 --> 00:48.770
on the right with the components list, we already have the potential.

00:49.040 --> 00:54.680
But again, if you confine find it, just search for it and you would get it.

00:54.690 --> 00:57.340
So I'm going to put the product out here.

00:57.740 --> 01:02.230
And as you can see, we are asked to choose a resistance value.

01:02.720 --> 01:04.430
So what is that basically important?

01:04.460 --> 01:07.310
Jimm is a viable resistance.

01:07.610 --> 01:13.100
And when you turn the button here on the Amida, the resistance will vary.

01:13.220 --> 01:20.600
OK, and that valuation of the resistance will create a valuation of the voltage that you read on the

01:20.990 --> 01:21.340
bin.

01:21.530 --> 01:25.010
And this is how you will get so many different values.

01:25.310 --> 01:28.780
So what value to bet for the potential metal resistance?

01:28.790 --> 01:34.070
Well, as you can see here on the photo, I have a 10 can only put on Shimoda.

01:34.310 --> 01:39.830
And I guess that's if you have a starter kit, all that you got a standard put on Schmitter that is

01:39.830 --> 01:41.060
compatible with Ardino.

01:41.330 --> 01:44.770
You should have something like 10 chelate over.

01:45.410 --> 01:48.050
This is one of the most common values for put on Chamitoff.

01:48.050 --> 01:55.430
So I'm just going to also use Dinkytown for the pointer and this actually doesn't really matter that

01:55.430 --> 01:55.750
much.

01:56.270 --> 02:02.800
So we have our put on Shamila, but I'm going to do I'm going to put it here, so let's put it there.

02:05.350 --> 02:11.410
So the potential murder, we have three different things, OK, you can see here, terminal one, the

02:11.410 --> 02:17.680
middle is wiper here and terminal two, thoughtful terminal one and terminal to what you're going to

02:17.680 --> 02:23.890
do is you're going to take, let's say, terminal one and connect it to the ground here.

02:23.920 --> 02:27.040
OK, so make sure this is the ground, right.

02:27.040 --> 02:31.600
Color is black and then the terminal to the other side.

02:31.600 --> 02:34.480
You can not the middle one you're going to connect it to.

02:35.460 --> 02:39.050
Five-fold and Kweller is right.

02:41.420 --> 02:44.010
All right, and the other here doesn't really matter.

02:44.030 --> 02:51.410
You could connect this thing to Ibold and this spin to the ground, just make sure that you don't connect

02:51.410 --> 02:54.350
both pins to the ground of both pins to Facebook.

02:54.580 --> 02:55.000
All right.

02:55.010 --> 03:02.900
And now what we can do is to connect the middle pin here of the put on shimmied up to an analog input

03:02.900 --> 03:03.350
pin.

03:03.360 --> 03:07.640
So the analog input being right here, a zero to a five.

03:07.970 --> 03:11.920
And let's say I want to use I'm going to use a two.

03:11.960 --> 03:21.440
OK, just for this example, I'm going to take this one of the dots from this line and all the way down

03:21.440 --> 03:23.630
to a two.

03:26.310 --> 03:31.320
Let's put this cable in, let's change color, let's put it look.

03:32.480 --> 03:34.070
All right, and that's it for today.

03:34.130 --> 03:40.760
How do I sit up so one pinned to the ground, the other side to my vote, and the middle one goes to

03:40.760 --> 03:42.100
an analog input beam.

03:42.530 --> 03:48.470
And again, you can see here on this line, on the ground line, we have all of the components connected

03:48.470 --> 03:49.610
to the same ground.

03:51.630 --> 03:57.900
And here you can see on the real secret, so first, of course, I have disconnected this part of the

03:57.900 --> 03:59.290
USB cable from the computer.

03:59.820 --> 04:02.600
So the potential is right here.

04:03.210 --> 04:10.320
And you can see here it's a little bit different than the one that I have put on the simulation, because

04:10.530 --> 04:18.330
here the three pins are not on the same line and you have two pins on this side and one pin on this

04:18.330 --> 04:18.520
side.

04:18.540 --> 04:25.080
So I just but the potential matter here in the middle, simply because it's easier to manage, but basically

04:25.080 --> 04:30.450
make sure that all the three pins are connected in different lines.

04:30.450 --> 04:31.410
OK, of the breadboard.

04:32.280 --> 04:39.570
So here you can see we have one of the so we have the two external things, OK, one of them here is

04:39.570 --> 04:43.670
connected to ground, the other one is connected to a vote.

04:43.710 --> 04:45.600
So I use more cables.

04:45.600 --> 04:47.040
So black for brown.

04:47.640 --> 04:49.180
Red for Facebook.

04:49.200 --> 04:50.980
So I don't make any mistake, OK.

04:51.540 --> 05:02.810
And then the pin that goes here in the middle is connected to here the analog input, eight to nine,

05:02.820 --> 05:04.270
as you can see it.

05:04.650 --> 05:11.100
And so I don't need to do anything else, OK, with the ground and five out of the board because everything

05:11.100 --> 05:14.750
is already set up with those two wheels here which are connected.

05:14.760 --> 05:16.870
So make sure they always stay connected.

05:16.890 --> 05:17.190
OK.

05:19.540 --> 05:25.810
And then, OK, you might want to ask why, but these poor countries, which are very close to the bottom

05:25.810 --> 05:30.700
and not just in the middle, is because I'm trying to make some room, OK, because later on we're going

05:30.700 --> 05:31.950
to add more components.

05:32.380 --> 05:38.890
And so there is enough available space for all the components we want to add for discourse and for the

05:38.890 --> 05:39.700
final project.
