Hello and welcome to this you lesson and watch are going to design our circuits now, we will use our
soil moisture sensors to measure the volume of water content in the soil.
And we will mainly use that the H.T. 11 sensor, which we will use to measure temperature and humidity
levels in the plant's surroundings, and the water level sensor will measure the water level in a small
tank.
And this is an optional sensor.
You can choose to add it or not, depending on your water, say, state.
If you have a continuous water supply, you shouldn't worry about the tank level.
Now, to design our circuit, what we need to do is simple.
We will need to open up.
Surprising up that we just downloaded Double-Click on it.
Now, this will simulate the real life connection, so you need to concentrate, go to the breadboard
view up here and you will see a Bridport.
Now, move this aside, we will need SB 32 Balde.
And as you can see, we have a lot of yes people we need a ASPEY 32 aboard this one.
OK, now we will also need a ruling with you.
Now, you can see that here we have a lot of really module's out components, we will take this one.
We will need the H 11 Sencer DHT.
OK, let's try another.
We.
Gay, when you face this problem, when you try to adolescence, you don't find it by another name.
This means that this sensor is not here.
And as you can see here, we have one of these sensors.
It's called, ah, a sensor.
And we can see that it almost have the same terminal's ground and PTC and that signal.
So we can use it for this connection.
And you can either look for alternative or you can download it online.
A lot of libraries are already available by people who are creating these components.
So you can download it and add it.
But this will take a lot of time.
So we will use this instead now.
Now we need the soil, more
moisture sensor and this is it, we will need the water level sensor and when you look for it, you
won't find it.
So in this case, you need to go to Google here and in here.
Right.
Water level, Centonze.
Fritzing.
As you can see, you'll get water level.
OK, this is all indicator, let's look for them.
Strip search.
OK.
That is more than one.
The Lesli distorter liberal.
Fritzing goal, OK?
The first result is this, as you can see, this is the water level sensor and this is the flooding
that we are going to download.
It has a water level sensor connected to our drill and we only need this item.
So download the fritzing file from here.
Here it is.
Now, to open it up, you need to go to Fritzing.
Drag and drop the file on that, on your open flooding software, you will see that now you'll have
a new window.
And this is the water level sensor.
Now, what you need to do is simple.
Copy and paste the sensor.
And here you have it.
Sorry.
Okay, now now let's connect these items to our E.S.P board.
We'll start with the edge sensor.
We know that we need ground connection, which is the black one.
And we will also need.
Five volts, so in order to get five volts, we need to make sure this vent will provide you with five
volts.
And you need to make sure that you are, you know, what you are doing, because if you connected your
ISP more through your ISP, you will get five volts from this veltman.
Otherwise, you have to connect an external power source that provides five volts.
Now we need to connect the first and fourth, which is that the edge sensor.
Now, as you can see here, we have more than one terminal that we need to connect and depending on
that terminal that you are trying to connect.
Now.
We need to connect the VXI and ground.
Now, the reason he must be connected here, but we need to connect.
That is due out here and the black way out here.
Just to make sure that we have our up there, that, OK, now the Viscusi will be connected here.
So now we have other alternatives.
This is the letter signal and we will send it to our ISP 32 Balde.
Let's send it to this spin.
Carry a spoon and let's go next to Ben, number 32.
Change the color to yellow.
And here we have the ground pen and we must continue to ground the car to block and this one turret.
Now, this ban is the second ground and you can connect it to the ground.
You depending on the module that you have, you can check the data sheet for the connection, but this
is the connection for the one that we have here now.
Now, to connect the relay module, we can't use this one as it has a lot of input output panels and
it's a dedicated module.
So let's remove this.
I already downloaded a relay module and I'll provide a link for you to use it.
This is it.
You can drag it.
And Robert on your fritzing.
And as you can see here, we have it.
You just need to drag this module and Roberte.
Now we have these three bends.
The signal must be connected to your board.
And let's choose a different color.
Let's say green and the blast must be connected to the five volt.
The miners must be connected to ground.
And we can't allow him to block.
Angela.
Or OK, now.
We come to this module, which is the water level module, we need to connect the glass to five volts,
the black.
The ground, which is the minus.
And the signal can be connected to the 21.
Let's show this to, let's say all us now, we have three signals, one output and two inputs from sensors.
We also have other sensor.
Which is this one?
The soil moisture sensor, now let's connect the ground.
To the ground that we see.
To the recency and the signal to the 19.
Let's show the different coloring.
And.
That's it.
I will show the colors to read.
On this one.
I will change it to black.
Now we have connected the soil moisture sensor, the water level sensor, the humidity and the sensor
as input, and we have completed the relay as output.
I will say this are.
Let's call it circuit design.
I will provide this circuit design and resources so that you can get these modules for your fritzing
design.
Now.
Again, make sure that you take note of all of this and also now we have thoroughly connected to a number
22.
So let me open up a notepad.
A life click new, not bad, let's call it Penns.
Now, inside it, we need to make sure that we have everything now the sensor.
It's connected to the 23 relay is connected to the toilet all and water level.
It's connected to the.
To anyone and soil is connected to the 19.
As you can see here, the 19, the 21, the 22 and 23, this will be used in the coding section.
Now you can see the schematic for your design here, as you can see.
You can't read these components.
And you can also make the wedding.
No cattle trade these items.
You can go through them so that they are connected with wires.
As you can see, Fritzing is trying to wipe out these components together.
As you can see here, we have a problem, so we need to all with this and you can't even create a PCB
design.
By moving these components.
Or at the very least, increasing the size of this layout.
Now, as you can see, it's a piece of cake.
And you can also use.
Potoroos.
Click on to Ruth.
We'll take some time, then you will get your PCB design ready for manufacturing.
Now, there are still some miles that you need to do manually, as you can see this one.
We need to connect out from here to here manually.
And you can do the same for the rest of these wires, and as you can see, you can then move to fabricating
and that's it.
Thanks for watching this.
If you have any questions, please ask the Q&A about this is an educational engineering.