WEBVTT

00:00.480 --> 00:08.010
Let's create your First Avenue secrets with were not in a bold and one elegies, so we will start simple

00:08.010 --> 00:14.190
and then all along the coast will add more components and more functionalities to our secrets.

00:14.580 --> 00:20.700
To show you how to create the circuit, I will first use the Dinko simulation.

00:20.980 --> 00:26.970
And then just after this, in the same video, I will show you how to do it with the real how do we

00:26.970 --> 00:28.680
know in real hardware component.

00:29.160 --> 00:36.060
I start to think, OK, because this is easier to explain things because the interface is really well-made

00:36.390 --> 00:40.830
and you can clearly see what are the different connections of the circuit.

00:41.280 --> 00:44.760
So and think, OK, I'm going to create a new circuit.

00:46.580 --> 00:52.730
OK, and the first thing we are going to need, of course, is the andrina about something to import

00:53.670 --> 00:57.320
about and I'm going to impart also a breadboard.

00:57.320 --> 01:01.840
So not the small one, but the kind of the normal one.

01:02.180 --> 01:03.970
And I'm going to put it here.

01:03.980 --> 01:05.330
And the Arduino.

01:07.130 --> 01:08.500
You OK?

01:12.030 --> 01:16.560
And then what are the components we need for the security?

01:16.590 --> 01:18.470
Well, we first need an energy.

01:18.940 --> 01:20.430
I'm going to pick an energy.

01:21.180 --> 01:23.220
You can choose the colour of the energy.

01:23.520 --> 01:29.760
So we're willing to keep red and I am going to use a register.

01:30.480 --> 01:33.660
OK, and let's pick and register here.

01:34.260 --> 01:38.960
And we are going to use two hundred and twenty on register.

01:39.120 --> 01:42.030
So choose on here and 220.

01:42.360 --> 01:46.050
And you should see here, red, red and brown.

01:48.520 --> 01:54.650
All right, so we have all the components we need and actually for the wires, we are going to directly

01:54.670 --> 02:03.010
be able to create wires like this key by clicking on the different dots so you can press if you create

02:03.010 --> 02:04.750
a wire, you can press scape.

02:05.570 --> 02:13.190
To conceal the action and now the first thing we are going to do is if you remember, we are going to

02:13.190 --> 02:16.170
connect the ground with all the components.

02:16.760 --> 02:23.180
So first we have a breadboard and an outline of all we need to connect the ground of those two components.

02:24.020 --> 02:31.130
So where is the ground on the area where the ground is represented here, as you can see by the end.

02:31.430 --> 02:33.490
So you have one Genndy here.

02:34.160 --> 02:39.170
You have also one Genndy here and another one just on the side.

02:39.860 --> 02:41.180
I'm going to use that one.

02:41.270 --> 02:42.800
But you can use any gender.

02:42.810 --> 02:43.760
You want a.

02:44.770 --> 02:49.730
So let's make something nice here.

02:50.470 --> 02:57.240
You can make some clicks, OK, let's connect the blue line here.

02:57.670 --> 02:59.650
We've done so now.

03:00.190 --> 03:04.660
Everything you connect to this line will be connected to the Andrina grant ground.

03:05.380 --> 03:12.940
And for Grant, there is a standard across all the convention is to use black wires.

03:13.330 --> 03:16.390
So I'm going to use black wires for ground stuff.

03:16.390 --> 03:20.260
So everything related in Connecticut ground will be black.

03:20.800 --> 03:25.630
And any other wires, I will choose another color then black.

03:25.660 --> 03:32.160
OK, so now the breadboard and Adreno are correctly connected through the ground.

03:33.160 --> 03:36.270
I will, but first the energy here.

03:36.280 --> 03:38.880
Let's put it there.

03:41.370 --> 03:51.360
So I'm going to connect one leg of the 80 to one here, one line of dots and the other leg to a different

03:51.630 --> 03:54.480
line of dots, OK, don't connect the two together.

03:55.200 --> 04:03.750
And then you have so you can see we have two legs and one that is called cathode is actually the shorter

04:03.750 --> 04:07.650
leg and one that is called A. is the longer leg.

04:07.680 --> 04:13.740
So as you're going to see with the real entity, one leg is bigger than the other one.

04:15.630 --> 04:24.660
So now that we have pledged our energy to the secret, we are going to take the initiative and connect

04:24.660 --> 04:25.890
it to the ground.

04:25.890 --> 04:31.020
So to connect to the ground, we do need to connect directly to the island where we can just connected

04:31.020 --> 04:33.940
to this land any point in this land.

04:34.530 --> 04:43.000
So I'm going to click here and click here, use the color black and that's it.

04:43.770 --> 04:49.770
So I chose this point, but I could have chosen any point here on this line.

04:49.950 --> 04:56.400
And also instead of here, I could have connected this wire to any point in this line.

04:56.400 --> 04:59.690
But I'm doing that to keep things organized.

05:00.360 --> 05:08.820
And then what we need to do is to connect the longer leg of the entity to a digital pin of the Adreno.

05:08.820 --> 05:10.880
So you can see digital pins are here.

05:11.520 --> 05:19.110
So we can actually control the area and we are going to use PIN number 12, but we are not going to

05:19.110 --> 05:28.620
connect directly this to PIN number one, because we need to use a resistor between the PIN 12 and the

05:28.740 --> 05:32.980
energy so we can limit the current that goes through the air.

05:34.170 --> 05:34.590
So.

05:36.850 --> 05:48.490
I'm going to make it rotate like this and I'm going to connect one leg of the stool to the longer leg

05:48.490 --> 05:49.890
of the elephant.

05:50.260 --> 05:53.520
OK, so there are two different legs.

05:53.740 --> 05:55.180
You need to pay attention to that.

05:55.540 --> 06:02.250
But far as thought, well, you don't really need to care about what sense you plug like a resistance.

06:02.620 --> 06:04.430
There is no direction for resistance.

06:04.500 --> 06:08.210
OK, so this on this leg will be fine.

06:08.650 --> 06:12.280
So now we have this leg which is connected here.

06:12.290 --> 06:14.170
As you can see, this is the same line.

06:14.180 --> 06:17.110
So we could but there is a here, here, here, here.

06:17.290 --> 06:17.980
It's the scene.

06:18.730 --> 06:23.120
And then we need to connect, of course, these parts of the resistance.

06:23.140 --> 06:25.000
I'm going to click here.

06:26.480 --> 06:33.650
And let's connect it to PIN number 12 and follow the courier on the wire.

06:33.680 --> 06:35.620
Well, I can keep grain here.

06:35.690 --> 06:36.370
No problem.

06:37.850 --> 06:41.380
I'm going to rename the circuit to Andy.

06:43.140 --> 06:45.220
And well, that's it for a second.

06:46.470 --> 06:51.140
And now let's see how to do the secrets with the real hardware components.

06:51.470 --> 06:54.790
So first of all, you can just unplug, your honor.

06:55.120 --> 06:57.320
I'm going to remove the USB cable.

06:57.330 --> 06:59.970
You have you out of here, which had nothing for now.

07:00.510 --> 07:01.440
The BRADBOURN.

07:01.890 --> 07:04.350
We will need a LCD.

07:04.350 --> 07:08.220
So you can see here I have a energy and.

07:10.010 --> 07:18.610
One leg is shorter than the other one can, you can see we have a longer leg here on the left and the

07:18.610 --> 07:20.520
right leg is shorter.

07:21.570 --> 07:25.920
Then we have our two hundred twenty all registered.

07:26.860 --> 07:28.960
OK, and.

07:30.810 --> 07:41.740
We have two wires, so one wire that should be black, if you can so need to make wire and another one.

07:41.850 --> 07:43.890
OK, that can be any color.

07:43.920 --> 07:48.300
I have chosen green here, but do with what you have.

07:49.110 --> 07:56.040
So the first thing I'm going to do, I'm going to connect the grants are just going to do the same steps

07:56.050 --> 07:58.400
I did for Tinker Color.

07:58.410 --> 07:58.680
Right.

07:59.040 --> 08:08.160
So I'm going to connect this ground here because you can see we have grown so the same one as before.

08:08.480 --> 08:12.030
I'm going to connect it to right here.

08:13.240 --> 08:19.120
This line, OK, with Demitasse, all this line here will be connected to Iran of the Qaeda.

08:20.400 --> 08:23.770
I think the energy, the shorter.

08:25.510 --> 08:28.320
The shorter leg here will go to the ground.

08:28.660 --> 08:36.820
But what I did with Tinker is I first liked the idea like this and then connected this leg to the ground.

08:37.330 --> 08:46.270
But what I can do with the aready directly is simply to connect the shorter leg to the ground.

08:46.930 --> 08:48.490
OK, just like this.

08:50.860 --> 08:53.360
I don't need to add another layer to this.

08:53.380 --> 08:59.200
We made a secret little bit simpler, OK, with less Weyers.

09:00.660 --> 09:09.450
OK, so now you can see I have one leg, so the shuttle one going to ground and then the longer one

09:09.450 --> 09:12.630
is connected to one of the lines here.

09:13.560 --> 09:15.380
But then I take my resistor.

09:17.400 --> 09:19.710
I read between one.

09:21.990 --> 09:23.730
You know, let's put it there.

09:27.110 --> 09:36.180
So between the longer leg of the year and another dot with another layer, this is important.

09:37.070 --> 09:43.090
And finally, what I'm going to do is I take my last wire.

09:43.850 --> 09:44.630
I put.

09:46.040 --> 09:55.240
They connect with one dot here on the line connected to this side of the door and I'm going to put it

09:55.280 --> 09:57.830
to PIN number 12.

09:59.370 --> 10:00.600
Actually, I'm going to.

10:02.160 --> 10:03.570
Use the.

10:05.330 --> 10:06.300
How do you like this?

10:06.300 --> 10:12.590
So it's like, Tinker, can we just reversed and I'm going to choose between number 12, which is the

10:12.590 --> 10:14.240
right here.

10:18.780 --> 10:32.210
So quick recap here, we have ground connected to the minus line here and then we have the energy between

10:32.220 --> 10:35.520
ground and this that.

10:37.420 --> 10:45.930
And then we have a register between the longer leg of the lady and another on another line.

10:46.210 --> 10:53.380
And finally, this leg of the stool is connected to PIN number 12.

10:54.490 --> 11:01.000
And the secret is not complete, so what you can do now, after you double and triple check that you

11:01.000 --> 11:12.850
can go on the Adreno simply by connecting it to your computer, and then you will be able to write a

11:12.850 --> 11:17.590
program and uploaded the program to do something with this editing.
