Let's have a quick look at the wiring before we move on to the software side of this project.
I've got my completed project on a report, and just to make it easier to make reference to individual
pins.
I've got my pin map right here.
So I've got the orientation the same as well between the pin map and the actual hardware.
Also having a look at the documentation that I have provided that the header of each script you see
there, I've got a listing of the connections here, the components and where those should be connected.
I have chosen the OLED screen and the sensor that can both be part of the same ice quazi interface.
The particular screen that I'm using is the page one one zero six OLED.
It has a one hundred and twenty eight by 64 pixel resolution.
And I chose this particular city because from a previous testing, I know that it works well on hardware.
I see.
So that means that I can be a little bit more efficient as compared to using software I could see.
I had also tested the image two hundred and eighty sensor to make sure that it does work with hardware.
I squared.
See, apart from the efficiency of hardware, I could see this as software.
I could see also wanted to economize on the amount of chip away.
So using the breadboard.
So I wanted both peripherals to either be connected together on the same software I could see interface
or hardware R-squared interface.
So I was able to find the components that match all of those criteria.
So the way that this works is I've got pins 18 and 19.
And as you can see from the documentation here, for the ease with the 32 and micro python, the hardware,
it's quite seabass and there are two interfaces, interfaces with IDC zero has S.L nine, 18 and state
of 19, that these are these two pins right here, Tapio 18 and 19.
And I just broken out those two pins on the two sides of the Bridport.
One goes to the OLED display and the other one goes to be EMY to remove that section which under it.
But just be careful with the pins.
Very often I personally mix the ground and the pins in this case basically.
And Genndy for the display, it can be a little bit sometimes confusing, but take a bit of time, take
care to make sure that you have broken out the correct pins to the correct columns on the breadboard
and then you'll be good.
So I'm going to plug in the welded back onto.
Britain would take good care, sure, they are properly lined, another criteria that are used to select
the components was that they wanted them to be on the same logic level and the same power level.
So both this display and the sensor can operate on three point three volts.
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
by two LCD display.
So with all of the above said, the wiring, as you can see, is fairly simple and just straightforward.
There was a minimum wiring necessary finally for the idea of just connected reality to a 21 year old.
It just shows me activity.
It just shows me with time that the script is taking a reading from the sensor or sending data to efficient
that in order to trigger the notification email.
OK, so let's compare it with the wiring and the hardware.
Let's move on to the next lecture where we'll talk about the script in its first version, a situation
where a whole lot is stored in a single file.