1
00:00:00,360 --> 00:00:06,630
Hey, in this lecture, want to do a quick recap of what we have implemented in this section of the

2
00:00:06,630 --> 00:00:12,420
project and then talk a little bit about what we are going to be doing in the next section of the bridge,

3
00:00:12,940 --> 00:00:17,260
the next iteration of our prototyping process.

4
00:00:17,730 --> 00:00:27,240
So what we have implemented is the terrorism controller hardware or the circuit on a breadboard, which

5
00:00:27,240 --> 00:00:37,440
includes the motor, the motor control circuitry and the potential motor which simulates the soil humidity

6
00:00:37,440 --> 00:00:43,800
sensor, taking external power from the benchtop power supply for the motor specifically.

7
00:00:43,800 --> 00:00:45,600
And then there to be 30 plus.

8
00:00:46,350 --> 00:00:50,250
It's potentially powered by USB at the moment.

9
00:00:50,970 --> 00:00:59,130
On the software side, we've implemented the first iteration of the terrorism controller, ESP 32 sketch,

10
00:00:59,400 --> 00:01:06,060
which simply takes readings from the potential mirror and publishes them to a appropriate social committee.

11
00:01:06,070 --> 00:01:10,350
The topic of the and Braco right here.

12
00:01:10,800 --> 00:01:11,670
This is a topic.

13
00:01:11,910 --> 00:01:19,920
And then the sketch is subscribed to the control topic so that it can use information stored there were

14
00:01:19,920 --> 00:01:25,710
sent there from the note read flow to turn the motor on and off.

15
00:01:26,400 --> 00:01:31,770
In terms of the flow itself, we've implemented a simple user interface which looks like this.

16
00:01:32,130 --> 00:01:40,110
We can manually control the pump from the switch or via the potential motor.

17
00:01:41,900 --> 00:01:50,320
And test that that it works and the flu itself is fairly simple, as you can see, we've got one subscriber

18
00:01:50,510 --> 00:01:56,120
to the soil humidity topic using the immunity in node.

19
00:01:56,900 --> 00:02:02,540
And then we've got a simple calculation happening here, a comparison to determine whether the pump

20
00:02:02,540 --> 00:02:03,680
should be on or off.

21
00:02:04,140 --> 00:02:10,970
And then we use the R, b, e node to throw messages that are going to the hospital to and finally,

22
00:02:11,480 --> 00:02:18,620
whatever the state of the pump is calculated to be, we publishing it to this.

23
00:02:19,660 --> 00:02:26,230
Topic here on the kitty mosquito, Brooke, a very sad thought on the scene, frustrated point, what

24
00:02:26,230 --> 00:02:33,370
we are going to do in the next iteration of this project to add these two circuit components, which

25
00:02:33,370 --> 00:02:42,840
are two voltage devices which allow us to measure the voltages or for the motor and for the motor control

26
00:02:42,870 --> 00:02:53,770
unity SB 32 and will publish this information to the Broca as well so that we can see these voltages

27
00:02:54,100 --> 00:02:56,910
in our red dashboard.

28
00:02:56,920 --> 00:03:06,100
And this is something that is useful to do if you decide to use battery power for your project and therefore

29
00:03:06,100 --> 00:03:11,170
you'll be able to monitor the battery power levels and know when to change or recharge the batteries.

30
00:03:11,380 --> 00:03:16,870
It's also an interesting thing to do anyway, I think, because it allows us to see how easy it is to

31
00:03:16,870 --> 00:03:23,860
implement features like that that do require some back and forth communication between the two parts

32
00:03:23,860 --> 00:03:25,430
of our controller.

33
00:03:26,110 --> 00:03:31,960
So let's move on to the next picture and implement the voltage sensing circuits and the necessary changes

34
00:03:31,960 --> 00:03:35,080
to the script and to the new Drechsler.
