Hello, and welcome to this annual lesson.
I know you're going to talk about SPF 30 to print out which purpose Input-Output pens should you use.
Now.
This is how the physical layout of that, yes, be board locks, and as you can see, it's very similar
to the Arduino Nano, but it has a lifetime built and now VSP felt too powerful on include 18 analog
to digital converter or ADC channel, where you can receive analog signals, and these signals can be
converted to digital internally.
It also has three USB interfaces for communication and three other interfaces for communication and
to I2C interfaces for Seattle communication.
So these, let's say, eight modules or eight pins can be used to allow cell communication with multiple
devices that support a spy I2C or Isaac Worsley and other art.
It also has 16 P.W. arm output channels, which help, uh, produce an analog output from the ISP pins.
It also has two digital to analog converters and two are two US interfaces.
It also has thin capacitive sensing, sharp elbows, input output.
I provide more data and more details about each of these pens.
And that is also the lecture.
But since we have a lot of them, we don't want to get caught in the details.
Now what we need to know is that print out itself, as you can see, this is how the board looks.
This is the USB port and you are going to hook up your two USB connector here, and the other side will
be connect to your computer, as you can see.
These are the pens g p i o means drought purpose input output.
Now that is more than one general purpose input output, as you can see here, and each of these pens
has more than one function.
As you can see, usually, pens comes with many names each S Pi and ADC analog digital converter and
purpose, and so you can use it as input output pen or to receive analog signal or for us or for all
to see.
So the choice is yours now, as you can see these pins, all of them are numbered for easy access so
that you can easily know what spin is connected to which now.
Additionally, there are pins with specific features that make them suitable or not for a specific project.
The following demonstration shows you some of these pins, and I'm going to talk about each of these
pins entities and if it can be used as input output.
Now the pins highlighted in green here.
I'll show you a table to summarize this information.
Again, the pins highlighted in green are OK to use the ones highlighted in yellow are OK to use, but
you need to pay attention because they may have unexpected behavior, mainly at boat time.
While the pins highlighted in red are not recommended to use as input or output.
Now the general purpose input output pin number zero is, as you can see, OK to use.
But you need to pay extra attention because it may have unexpected behavior at time so it can be used
as a pull up input or as output.
It outputs P.W. signal output, but no one can be used as text pin for other communication or output
pen.
Debug output output PIN number two is OK to be used as input or output, and usually it is connected
to onboard lid so you can use it to test a code or to test our function because you don't have to connect
extra component at all that you have built in.
LED pin number three is OK to use as in both, but you can't use it as output.
It's high output, so it will read one output.
Bin Laden's number four and five are OK to use as Input-Output and PIN number five also outputs P.W.
and signal output bin from six to 11 are connected to the integrated spy flash.
So you can't use them as input or output, but number 12 is OK to yours, but both will fail if bold
high.
So it's OK to use as input, but you need to pay extra attention for this.
Not.
And if you are connecting it as output, it's OK.
You don't have any problems.
Bins from 13 to 16 are OK to be used as input or output without paying extra attention.
Now, as you can see, same four pins from 17 to 33, while 34, 35, 36 and 39 are input only pens.
You can't you can't use them as output.
Now, in our example and our practice tests, we are going to use PIN number two, which has built in
LED, onboard, built and led.
And using that onboard built and led wouldn't make it easier for us to test out or to try different
things if we are making a page with a button to control it via internet.
Now that's it for the pin out.
Now I will add extra information as articles to this section of the course, so let you know more information
about the general purpose input output bins.
But for me, what I need you to know at this point is that we have pins that can be used easily without
any extra attention as input output, which are basically these bins two, four, five, 13 to 16 and
17 to 33.
And if we want and not only pens, we can use 34, 35, 36 or 39.
Now, if we need extra features, if we need BW, I'm ADC or DSC.
If we need a capacitor enabled bean or BW pen, we can go on and check this schematic.
And from these bins, you can see that in our case, Jar Purple Spin Number 36 can be used as a DC of
these converter.
As you can see, and it has what only state you can use this schematic, print it out to refer to it
whenever you need to do something.
Same for here.
You can see from this image that pin number 25 can be used as digital to analog converter and pin number
26 can also be used used as a tool to help converter automatic converter.
So depending on what you need or what's your end goal, you are going to check this schematic and make
sure that you choose the bin that fits your needs.
So if you are going to use a bin as output, you can't use bin number 34 because as you can see here,
it's only input only PIN.
And if you want to use, let's say, analog to digital converter, you can't use this bin bin number
17 because it only supports Syria communication and input output, regular input output or digital input
output.
So before using any bin.
Take a minute or two to make sure that it supports what you are going to do and the sensors or the stuff
that you are going to connect it to, whether they are analog or digital, they are input like push
button or output like LEDs.
You need to connect the element to the right pin before start coding to avoid having problems in the
future.
Once you start testing your code, if you have any question, or if you have a project that you don't
exactly know which bins might fit for that project, you can leave a question in the Q&A board.
I'll be more than happy to help answer all of your concerns.
Thanks for watching.
This is Ashraf from educational engineering team.