Hi and welcome to a new section in this course, what we do in this section is to get our construction
of the terrorism patrol a step further from the breadboard and the simulated inputs and outputs, as
we've been doing so far.
I remind you that up to now, instead of using the actual sensor for the soil humidity, I've been using
a potential mirror and instead of an actual pump, we've been using a DC motor.
So in this lecture, I'm going to walk you through the modifications that have made to my circuit and
how I'm using now the actual terrarium and the water container with a pump immersed in it.
When we walk you through the circuit and see the changes that have made.
And then in the next lecture, we are going to test this set up and see how it works in real life.
So let's have a look at the modifications I've made to the circuit.
Let's start with the motor and the pump.
Instead of using the Holby five Volt motor that we've been doing so far to do the testing, I have replaced
it.
With an actual water pump, so this is the water pump and from the camera here, I'm going to jump in.
You can see that I've got the pump immersed in water, this is just the jar that I've got of the kitchen
and I just connected the pump to a hose like this.
This is about four millimeters in diameter, internal diameter, that seven millimeters the outer diameter.
And just use this photograph of this.
And I've just connected the hose to the top outlet of the pump in this particular kind of pump.
The water comes in from this side and from this opening and then it comes out of this opening to the
hose will go on this side like that.
So just attach that and then for power they lead.
That comes with the pump.
It's actually fairly short.
So I extended it so that can reach the power screw terminals on my report right there.
Just you a.
All right, so nothing special about the water pump in terms of the job itself.
I'm just going to rearrange things a little so you can see the top of this job.
It's just a job with a metal top.
And I've just drilled a couple of holes that are big enough for the hose and for the power wires to
come out of in a to just keep it and closed at all times since I've been working on my bench.
So it gives me a little bit of additional protection and keeps in case I took the job and spill the
water on my desk.
Not a good idea.
So that's all about the pump.
Now let's have a look at the soil humidity sensor for the soil humidity, since originally I just remind
you, I had.
The potential medal attached on my Bridport like this, and then because I am planning changes and I'm
planning to continue the development of my prototype with the breadboard, I will want to put my potential
back on the breadboard.
So instead of rearranging the jumper wires on the breadboard to accomodate the soil humidity and break
out this device here, I just use a jumper wire to break out the row of columns where this orange wire
connects to the wire on the breadboard a bit further to the right, and then provided a ground and power
to the breakout.
So I'm just going to plug it in like this.
Make sure that I've got the right the right location like that, and then when I want to continue using
my potential, they're just going to plug this one out and plug in my potential mirror right here.
I'll be able to continue working to get this right with one hand.
Like that, and then I'll be able to use that to the Tumelo.
All right, so for our test that's coming up in the next lecture, I am simply going to plug in high
humidity sensor like except now this humidity sensor comes in two parts.
The first part is the sensor itself.
Which you simply stick into the soil and I've got it right here in the NEWSROOM in.
To the terrariums, take a closer look.
All right, sir, you can see the sensor in the soil like that, right?
And then again, it comes with a fairly short.
Why you so I had to extend it to make sure that can reach all the way to where the breakout is, this
breakout contains an amplifier.
That's all there is to it.
And it also has a particular mirror here and it's got both analogue and a digital output.
Having a look at the breakout from the front that there is keeping this ground, then this pin here
is digital output and you've got the analog Atwood here and only using the analog output.
But the digital output allows you to send a one four five zero or higher or no signal to your microcontroller.
So instead of sending the actual analog value for the sensor, you just sent them on and off.
And you can calibrate when the sensor goes on or off by turning the knob of the consumer up on board
the breakout.
So I'm not connecting anything to digital output.
I'm just going to use the analog output as I do with the buttons.
You can control the on and off set of the pump through my work.
All right.
So that's all there is to it.
Let's move on to the next lecture where we'll do a test of our terrariums set up.