1
00:00:00,720 --> 00:00:05,640
Let's have a quick look at the wiring before we move on to the software side of this project.

2
00:00:06,600 --> 00:00:13,350
I've got my completed project on a report, and just to make it easier to make reference to individual

3
00:00:13,350 --> 00:00:13,570
pins.

4
00:00:13,960 --> 00:00:15,930
I've got my pin map right here.

5
00:00:16,350 --> 00:00:22,600
So I've got the orientation the same as well between the pin map and the actual hardware.

6
00:00:23,710 --> 00:00:31,320
Also having a look at the documentation that I have provided that the header of each script you see

7
00:00:31,320 --> 00:00:36,930
there, I've got a listing of the connections here, the components and where those should be connected.

8
00:00:37,380 --> 00:00:46,650
I have chosen the OLED screen and the sensor that can both be part of the same ice quazi interface.

9
00:00:47,130 --> 00:00:53,250
The particular screen that I'm using is the page one one zero six OLED.

10
00:00:53,670 --> 00:00:58,920
It has a one hundred and twenty eight by 64 pixel resolution.

11
00:00:59,160 --> 00:01:07,110
And I chose this particular city because from a previous testing, I know that it works well on hardware.

12
00:01:07,510 --> 00:01:08,870
I see.

13
00:01:09,150 --> 00:01:15,050
So that means that I can be a little bit more efficient as compared to using software I could see.

14
00:01:15,420 --> 00:01:21,350
I had also tested the image two hundred and eighty sensor to make sure that it does work with hardware.

15
00:01:21,810 --> 00:01:22,560
I squared.

16
00:01:22,560 --> 00:01:28,560
See, apart from the efficiency of hardware, I could see this as software.

17
00:01:28,560 --> 00:01:32,610
I could see also wanted to economize on the amount of chip away.

18
00:01:32,610 --> 00:01:33,710
So using the breadboard.

19
00:01:33,720 --> 00:01:41,280
So I wanted both peripherals to either be connected together on the same software I could see interface

20
00:01:41,280 --> 00:01:43,710
or hardware R-squared interface.

21
00:01:44,070 --> 00:01:47,780
So I was able to find the components that match all of those criteria.

22
00:01:48,330 --> 00:01:52,650
So the way that this works is I've got pins 18 and 19.

23
00:01:52,980 --> 00:02:01,500
And as you can see from the documentation here, for the ease with the 32 and micro python, the hardware,

24
00:02:01,500 --> 00:02:12,210
it's quite seabass and there are two interfaces, interfaces with IDC zero has S.L nine, 18 and state

25
00:02:12,780 --> 00:02:19,350
of 19, that these are these two pins right here, Tapio 18 and 19.

26
00:02:19,680 --> 00:02:24,330
And I just broken out those two pins on the two sides of the Bridport.

27
00:02:24,330 --> 00:02:32,040
One goes to the OLED display and the other one goes to be EMY to remove that section which under it.

28
00:02:32,670 --> 00:02:35,760
But just be careful with the pins.

29
00:02:36,000 --> 00:02:42,810
Very often I personally mix the ground and the pins in this case basically.

30
00:02:42,810 --> 00:02:51,390
And Genndy for the display, it can be a little bit sometimes confusing, but take a bit of time, take

31
00:02:51,390 --> 00:02:56,910
care to make sure that you have broken out the correct pins to the correct columns on the breadboard

32
00:02:57,390 --> 00:02:59,190
and then you'll be good.

33
00:02:59,190 --> 00:03:03,300
So I'm going to plug in the welded back onto.

34
00:03:04,760 --> 00:03:13,540
Britain would take good care, sure, they are properly lined, another criteria that are used to select

35
00:03:13,540 --> 00:03:18,510
the components was that they wanted them to be on the same logic level and the same power level.

36
00:03:18,780 --> 00:03:24,480
So both this display and the sensor can operate on three point three volts.

37
00:03:24,600 --> 00:03:32,530
So I didn't need to use the five four vote output pin on the E.S.P 32 as I would if I had used the 16

38
00:03:32,550 --> 00:03:34,680
by two LCD display.

39
00:03:35,340 --> 00:03:43,190
So with all of the above said, the wiring, as you can see, is fairly simple and just straightforward.

40
00:03:43,470 --> 00:03:51,280
There was a minimum wiring necessary finally for the idea of just connected reality to a 21 year old.

41
00:03:51,300 --> 00:03:52,510
It just shows me activity.

42
00:03:52,530 --> 00:04:00,060
It just shows me with time that the script is taking a reading from the sensor or sending data to efficient

43
00:04:00,060 --> 00:04:02,820
that in order to trigger the notification email.

44
00:04:03,800 --> 00:04:07,800
OK, so let's compare it with the wiring and the hardware.

45
00:04:07,940 --> 00:04:16,640
Let's move on to the next lecture where we'll talk about the script in its first version, a situation

46
00:04:16,640 --> 00:04:20,050
where a whole lot is stored in a single file.
