1
00:00:00,450 --> 00:00:08,430
Hi and welcome to a new section in this course, what we do in this section is to get our construction

2
00:00:08,430 --> 00:00:15,540
of the terrorism patrol a step further from the breadboard and the simulated inputs and outputs, as

3
00:00:15,540 --> 00:00:16,830
we've been doing so far.

4
00:00:17,190 --> 00:00:24,870
I remind you that up to now, instead of using the actual sensor for the soil humidity, I've been using

5
00:00:24,870 --> 00:00:31,420
a potential mirror and instead of an actual pump, we've been using a DC motor.

6
00:00:31,840 --> 00:00:37,980
So in this lecture, I'm going to walk you through the modifications that have made to my circuit and

7
00:00:37,980 --> 00:00:44,880
how I'm using now the actual terrarium and the water container with a pump immersed in it.

8
00:00:45,550 --> 00:00:48,840
When we walk you through the circuit and see the changes that have made.

9
00:00:49,080 --> 00:00:54,360
And then in the next lecture, we are going to test this set up and see how it works in real life.

10
00:00:54,830 --> 00:00:58,000
So let's have a look at the modifications I've made to the circuit.

11
00:00:58,140 --> 00:01:00,690
Let's start with the motor and the pump.

12
00:01:01,230 --> 00:01:08,720
Instead of using the Holby five Volt motor that we've been doing so far to do the testing, I have replaced

13
00:01:08,760 --> 00:01:09,030
it.

14
00:01:10,550 --> 00:01:16,850
With an actual water pump, so this is the water pump and from the camera here, I'm going to jump in.

15
00:01:18,490 --> 00:01:25,450
You can see that I've got the pump immersed in water, this is just the jar that I've got of the kitchen

16
00:01:25,870 --> 00:01:32,210
and I just connected the pump to a hose like this.

17
00:01:32,260 --> 00:01:39,460
This is about four millimeters in diameter, internal diameter, that seven millimeters the outer diameter.

18
00:01:40,240 --> 00:01:43,600
And just use this photograph of this.

19
00:01:43,600 --> 00:01:53,260
And I've just connected the hose to the top outlet of the pump in this particular kind of pump.

20
00:01:53,620 --> 00:01:59,680
The water comes in from this side and from this opening and then it comes out of this opening to the

21
00:01:59,680 --> 00:02:02,810
hose will go on this side like that.

22
00:02:02,830 --> 00:02:07,960
So just attach that and then for power they lead.

23
00:02:07,960 --> 00:02:09,990
That comes with the pump.

24
00:02:10,000 --> 00:02:11,530
It's actually fairly short.

25
00:02:11,890 --> 00:02:21,130
So I extended it so that can reach the power screw terminals on my report right there.

26
00:02:21,220 --> 00:02:22,270
Just you a.

27
00:02:25,110 --> 00:02:30,810
All right, so nothing special about the water pump in terms of the job itself.

28
00:02:31,420 --> 00:02:36,510
I'm just going to rearrange things a little so you can see the top of this job.

29
00:02:36,840 --> 00:02:39,470
It's just a job with a metal top.

30
00:02:39,480 --> 00:02:45,570
And I've just drilled a couple of holes that are big enough for the hose and for the power wires to

31
00:02:45,570 --> 00:02:51,990
come out of in a to just keep it and closed at all times since I've been working on my bench.

32
00:02:51,990 --> 00:02:58,290
So it gives me a little bit of additional protection and keeps in case I took the job and spill the

33
00:02:58,290 --> 00:03:00,000
water on my desk.

34
00:03:00,240 --> 00:03:01,450
Not a good idea.

35
00:03:01,950 --> 00:03:05,020
So that's all about the pump.

36
00:03:05,040 --> 00:03:12,810
Now let's have a look at the soil humidity sensor for the soil humidity, since originally I just remind

37
00:03:12,810 --> 00:03:13,740
you, I had.

38
00:03:15,000 --> 00:03:24,090
The potential medal attached on my Bridport like this, and then because I am planning changes and I'm

39
00:03:24,090 --> 00:03:30,870
planning to continue the development of my prototype with the breadboard, I will want to put my potential

40
00:03:31,020 --> 00:03:32,150
back on the breadboard.

41
00:03:32,160 --> 00:03:43,080
So instead of rearranging the jumper wires on the breadboard to accomodate the soil humidity and break

42
00:03:43,120 --> 00:03:51,960
out this device here, I just use a jumper wire to break out the row of columns where this orange wire

43
00:03:52,260 --> 00:04:00,930
connects to the wire on the breadboard a bit further to the right, and then provided a ground and power

44
00:04:01,380 --> 00:04:02,420
to the breakout.

45
00:04:02,430 --> 00:04:04,200
So I'm just going to plug it in like this.

46
00:04:06,220 --> 00:04:13,870
Make sure that I've got the right the right location like that, and then when I want to continue using

47
00:04:13,870 --> 00:04:19,900
my potential, they're just going to plug this one out and plug in my potential mirror right here.

48
00:04:20,690 --> 00:04:24,790
I'll be able to continue working to get this right with one hand.

49
00:04:35,480 --> 00:04:38,070
Like that, and then I'll be able to use that to the Tumelo.

50
00:04:39,760 --> 00:04:47,650
All right, so for our test that's coming up in the next lecture, I am simply going to plug in high

51
00:04:48,130 --> 00:04:55,420
humidity sensor like except now this humidity sensor comes in two parts.

52
00:04:55,420 --> 00:04:58,660
The first part is the sensor itself.

53
00:05:00,790 --> 00:05:07,930
Which you simply stick into the soil and I've got it right here in the NEWSROOM in.

54
00:05:08,920 --> 00:05:11,670
To the terrariums, take a closer look.

55
00:05:13,760 --> 00:05:19,380
All right, sir, you can see the sensor in the soil like that, right?

56
00:05:19,430 --> 00:05:23,450
And then again, it comes with a fairly short.

57
00:05:24,550 --> 00:05:31,630
Why you so I had to extend it to make sure that can reach all the way to where the breakout is, this

58
00:05:31,630 --> 00:05:34,090
breakout contains an amplifier.

59
00:05:34,100 --> 00:05:35,230
That's all there is to it.

60
00:05:35,770 --> 00:05:41,410
And it also has a particular mirror here and it's got both analogue and a digital output.

61
00:05:41,920 --> 00:05:48,740
Having a look at the breakout from the front that there is keeping this ground, then this pin here

62
00:05:48,790 --> 00:05:54,460
is digital output and you've got the analog Atwood here and only using the analog output.

63
00:05:54,730 --> 00:06:02,490
But the digital output allows you to send a one four five zero or higher or no signal to your microcontroller.

64
00:06:02,650 --> 00:06:08,620
So instead of sending the actual analog value for the sensor, you just sent them on and off.

65
00:06:08,620 --> 00:06:15,070
And you can calibrate when the sensor goes on or off by turning the knob of the consumer up on board

66
00:06:15,430 --> 00:06:16,670
the breakout.

67
00:06:17,140 --> 00:06:20,070
So I'm not connecting anything to digital output.

68
00:06:20,080 --> 00:06:25,120
I'm just going to use the analog output as I do with the buttons.

69
00:06:25,130 --> 00:06:29,050
You can control the on and off set of the pump through my work.

70
00:06:29,980 --> 00:06:30,470
All right.

71
00:06:31,090 --> 00:06:33,520
So that's all there is to it.

72
00:06:33,670 --> 00:06:38,590
Let's move on to the next lecture where we'll do a test of our terrariums set up.
