Let's create your First Avenue secrets with were not in a bold and one elegies, so we will start simple
and then all along the coast will add more components and more functionalities to our secrets.
To show you how to create the circuit, I will first use the Dinko simulation.
And then just after this, in the same video, I will show you how to do it with the real how do we
know in real hardware component.
I start to think, OK, because this is easier to explain things because the interface is really well-made
and you can clearly see what are the different connections of the circuit.
So and think, OK, I'm going to create a new circuit.
OK, and the first thing we are going to need, of course, is the andrina about something to import
about and I'm going to impart also a breadboard.
So not the small one, but the kind of the normal one.
And I'm going to put it here.
And the Arduino.
You OK?
And then what are the components we need for the security?
Well, we first need an energy.
I'm going to pick an energy.
You can choose the colour of the energy.
So we're willing to keep red and I am going to use a register.
OK, and let's pick and register here.
And we are going to use two hundred and twenty on register.
So choose on here and 220.
And you should see here, red, red and brown.
All right, so we have all the components we need and actually for the wires, we are going to directly
be able to create wires like this key by clicking on the different dots so you can press if you create
a wire, you can press scape.
To conceal the action and now the first thing we are going to do is if you remember, we are going to
connect the ground with all the components.
So first we have a breadboard and an outline of all we need to connect the ground of those two components.
So where is the ground on the area where the ground is represented here, as you can see by the end.
So you have one Genndy here.
You have also one Genndy here and another one just on the side.
I'm going to use that one.
But you can use any gender.
You want a.
So let's make something nice here.
You can make some clicks, OK, let's connect the blue line here.
We've done so now.
Everything you connect to this line will be connected to the Andrina grant ground.
And for Grant, there is a standard across all the convention is to use black wires.
So I'm going to use black wires for ground stuff.
So everything related in Connecticut ground will be black.
And any other wires, I will choose another color then black.
OK, so now the breadboard and Adreno are correctly connected through the ground.
I will, but first the energy here.
Let's put it there.
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
line of dots, OK, don't connect the two together.
And then you have so you can see we have two legs and one that is called cathode is actually the shorter
leg and one that is called A. is the longer leg.
So as you're going to see with the real entity, one leg is bigger than the other one.
So now that we have pledged our energy to the secret, we are going to take the initiative and connect
it to the ground.
So to connect to the ground, we do need to connect directly to the island where we can just connected
to this land any point in this land.
So I'm going to click here and click here, use the color black and that's it.
So I chose this point, but I could have chosen any point here on this line.
And also instead of here, I could have connected this wire to any point in this line.
But I'm doing that to keep things organized.
And then what we need to do is to connect the longer leg of the entity to a digital pin of the Adreno.
So you can see digital pins are here.
So we can actually control the area and we are going to use PIN number 12, but we are not going to
connect directly this to PIN number one, because we need to use a resistor between the PIN 12 and the
energy so we can limit the current that goes through the air.
So.
I'm going to make it rotate like this and I'm going to connect one leg of the stool to the longer leg
of the elephant.
OK, so there are two different legs.
You need to pay attention to that.
But far as thought, well, you don't really need to care about what sense you plug like a resistance.
There is no direction for resistance.
OK, so this on this leg will be fine.
So now we have this leg which is connected here.
As you can see, this is the same line.
So we could but there is a here, here, here, here.
It's the scene.
And then we need to connect, of course, these parts of the resistance.
I'm going to click here.
And let's connect it to PIN number 12 and follow the courier on the wire.
Well, I can keep grain here.
No problem.
I'm going to rename the circuit to Andy.
And well, that's it for a second.
And now let's see how to do the secrets with the real hardware components.
So first of all, you can just unplug, your honor.
I'm going to remove the USB cable.
You have you out of here, which had nothing for now.
The BRADBOURN.
We will need a LCD.
So you can see here I have a energy and.
One leg is shorter than the other one can, you can see we have a longer leg here on the left and the
right leg is shorter.
Then we have our two hundred twenty all registered.
OK, and.
We have two wires, so one wire that should be black, if you can so need to make wire and another one.
OK, that can be any color.
I have chosen green here, but do with what you have.
So the first thing I'm going to do, I'm going to connect the grants are just going to do the same steps
I did for Tinker Color.
Right.
So I'm going to connect this ground here because you can see we have grown so the same one as before.
I'm going to connect it to right here.
This line, OK, with Demitasse, all this line here will be connected to Iran of the Qaeda.
I think the energy, the shorter.
The shorter leg here will go to the ground.
But what I did with Tinker is I first liked the idea like this and then connected this leg to the ground.
But what I can do with the aready directly is simply to connect the shorter leg to the ground.
OK, just like this.
I don't need to add another layer to this.
We made a secret little bit simpler, OK, with less Weyers.
OK, so now you can see I have one leg, so the shuttle one going to ground and then the longer one
is connected to one of the lines here.
But then I take my resistor.
I read between one.
You know, let's put it there.
So between the longer leg of the year and another dot with another layer, this is important.
And finally, what I'm going to do is I take my last wire.
I put.
They connect with one dot here on the line connected to this side of the door and I'm going to put it
to PIN number 12.
Actually, I'm going to.
Use the.
How do you like this?
So it's like, Tinker, can we just reversed and I'm going to choose between number 12, which is the
right here.
So quick recap here, we have ground connected to the minus line here and then we have the energy between
ground and this that.
And then we have a register between the longer leg of the lady and another on another line.
And finally, this leg of the stool is connected to PIN number 12.
And the secret is not complete, so what you can do now, after you double and triple check that you
can go on the Adreno simply by connecting it to your computer, and then you will be able to write a
program and uploaded the program to do something with this editing.