1
00:00:00,710 --> 00:00:02,430
Hello, and welcome to this annual lesson.

2
00:00:02,450 --> 00:00:11,150
I know you're going to talk about SPF 30 to print out which purpose Input-Output pens should you use.

3
00:00:12,300 --> 00:00:12,530
Now.

4
00:00:14,180 --> 00:00:21,800
This is how the physical layout of that, yes, be board locks, and as you can see, it's very similar

5
00:00:21,800 --> 00:00:31,880
to the Arduino Nano, but it has a lifetime built and now VSP felt too powerful on include 18 analog

6
00:00:31,880 --> 00:00:40,370
to digital converter or ADC channel, where you can receive analog signals, and these signals can be

7
00:00:40,370 --> 00:00:42,230
converted to digital internally.

8
00:00:42,920 --> 00:00:53,030
It also has three USB interfaces for communication and three up interfaces for communication and to

9
00:00:53,030 --> 00:00:55,790
I2C interfaces for Seattle communication.

10
00:00:55,800 --> 00:01:04,010
So these, let's say, eight modules or eight pens can be used to allow cell communication with multiple

11
00:01:04,010 --> 00:01:09,830
devices that support a spy I2C or Isaac Mercy and other art.

12
00:01:10,910 --> 00:01:22,490
It also has 16 P.W. arm output channels, which help, uh, produce an analog output from the ISP pens.

13
00:01:23,120 --> 00:01:28,640
It also has two digital to analog converters and two are two US interfaces.

14
00:01:29,120 --> 00:01:33,890
It also has thin capacitive sensing, sharp elbows, input output.

15
00:01:34,880 --> 00:01:41,720
I provide more data and more details about each of these pens and the resources lecture, but since

16
00:01:41,720 --> 00:01:46,310
we have a lot of them, we don't want to get caught in the details.

17
00:01:46,910 --> 00:01:52,970
Now what we need to know is that pen out itself, as you can see, this is how the board looks.

18
00:01:53,540 --> 00:02:01,130
This is the USB port and you are going to hook up your speech connector here, and the other side will

19
00:02:01,160 --> 00:02:04,430
be connect to your computer, as you can see.

20
00:02:04,550 --> 00:02:10,880
These are the pens g p i o means draft purpose input output.

21
00:02:11,030 --> 00:02:17,510
Now that is more than one general purpose input output, as you can see here, and each of these pens

22
00:02:17,510 --> 00:02:19,070
has more than one function.

23
00:02:20,030 --> 00:02:24,140
As you can see, usually pens comes with many names.

24
00:02:24,470 --> 00:02:30,950
Each S Pi and ADC and digital converter and purpose.

25
00:02:30,950 --> 00:02:40,130
And so you can use it as input output pen or to receive analog signal or for us PI or for all to see.

26
00:02:41,490 --> 00:02:50,070
So the choice is yours now, as you can see these pins, all of them are numbered for easy access so

27
00:02:50,070 --> 00:02:54,300
that you can easily know what spin is connected to which now.

28
00:02:54,300 --> 00:03:02,040
Additionally, there are pins with specific features that make them suitable or not for a specific project.

29
00:03:02,760 --> 00:03:11,300
The following demonstration shows you some of these pins, and I'm going to talk about each of these

30
00:03:11,300 --> 00:03:18,960
spins in details and if it can be used as input output now the pins highlighted in green here.

31
00:03:20,720 --> 00:03:23,960
I'll show you a table to summarize this information.

32
00:03:26,350 --> 00:03:33,640
Again, the pins highlighted in green are OK to use the ones highlighted in yellow are OK to use, but

33
00:03:33,640 --> 00:03:40,810
you need to pay attention because they may have unexpected behavior, mainly at boat time.

34
00:03:41,650 --> 00:03:47,140
While the pins highlighted in red are not recommended to use as input or output.

35
00:03:47,230 --> 00:03:54,560
Now that general purpose input output pin number zero is, as you can see, OK to use.

36
00:03:54,560 --> 00:04:02,830
But you need to pay extra attention because it may have unexpected behavior at time so it can be used

37
00:04:02,830 --> 00:04:06,070
as a pull up input or as output.

38
00:04:06,520 --> 00:04:15,160
It outputs P.W. signal output, but no one can be used as text pin for clear communication or output

39
00:04:15,160 --> 00:04:17,920
when it debug output output.

40
00:04:18,610 --> 00:04:26,080
PIN number two is OK to be used as input or output, and usually it is connected to onboard lid so you

41
00:04:26,080 --> 00:04:33,340
can use it to test a code or to test our function because you don't have to connect extra components

42
00:04:33,490 --> 00:04:35,380
at all that you have built in.

43
00:04:35,380 --> 00:04:41,830
LED pin number three is OK to use as in both, but you can't use it as output.

44
00:04:42,400 --> 00:04:46,000
It's high output, so it will read one output.

45
00:04:47,630 --> 00:04:55,780
Bin Laden's number four and five are OK to use as Input-Output and PIN number five also outputs P.W.

46
00:04:55,790 --> 00:05:02,370
and signal output bin from six to 11 are connected to the integrated spy flash.

47
00:05:02,870 --> 00:05:13,100
So you can't use them as input or output, but number 12 is OK to use, but both will fail if bold high.

48
00:05:13,580 --> 00:05:18,410
So it's OK to use as input, but you need to pay extra attention for this.

49
00:05:18,410 --> 00:05:22,730
Not, and if you are connecting it as output, it's OK.

50
00:05:22,940 --> 00:05:24,350
You don't have any problems.

51
00:05:24,770 --> 00:05:33,800
Bins from 13 to 16 are OK to be used as input or output without paying extra attention.

52
00:05:34,790 --> 00:05:45,850
Now, as you can see, same four bins from 17 to 33, while 34, 35, 36 and 39 are input only pens.

53
00:05:45,860 --> 00:05:48,770
You can't you can't use them as output.

54
00:05:49,100 --> 00:05:58,910
Now, in our example and our practice tests, we are going to use PIN number two, which has built in

55
00:05:58,910 --> 00:06:00,680
LED, onboard, built and led.

56
00:06:00,980 --> 00:06:07,010
And using that onboard built and led wouldn't make it easier for us to test out or to try different

57
00:06:07,010 --> 00:06:12,140
things if we are making a page with a button to control it via internet.

58
00:06:12,590 --> 00:06:14,660
Now that's it for the pin out.

59
00:06:15,500 --> 00:06:23,540
Now I will add extra information as articles to this section of the course, so let you know more information

60
00:06:23,540 --> 00:06:26,030
about the general purpose input output bins.

61
00:06:26,360 --> 00:06:33,350
But for me, what I need you to know at this point is that we have bins that can be used easily without

62
00:06:33,350 --> 00:06:45,200
any extra attention as input output, which are basically this bins two four, five, 13 to 16 and 17

63
00:06:45,200 --> 00:06:46,040
to thirty three.

64
00:06:46,490 --> 00:06:51,650
And if we want and not only pens, we can use 34, 35, 56 or 39.

65
00:06:52,250 --> 00:06:59,180
Now, if we need extra features, if we need BW, I'm ADC or DSC.

66
00:06:59,390 --> 00:07:06,170
If we need a capacitor enabled bean or BW um pen, we can go on and check this schematic.

67
00:07:06,170 --> 00:07:13,670
And from these bins, you can see that in our case, Jar Purple Spin Number Thirty six can be used as

68
00:07:14,150 --> 00:07:16,340
a DC or these are converters.

69
00:07:17,970 --> 00:07:24,300
As you can see, and it has in what only state you can use this schematic, print it out to refer to

70
00:07:24,300 --> 00:07:26,100
it whenever you need to do something.

71
00:07:26,700 --> 00:07:27,660
Same for here.

72
00:07:27,810 --> 00:07:34,650
You can see from this image that pin number 25 can be used as digital to analog converter and pin number

73
00:07:34,650 --> 00:07:40,470
26 can also be used used as central converter automatic converter.

74
00:07:42,230 --> 00:07:48,350
So depending on what you need or what's your end goal, you are going to check this schematic and make

75
00:07:48,350 --> 00:07:50,420
sure that you choose the bin that fits your needs.

76
00:07:50,750 --> 00:07:57,410
So if you are going to use a bin as output, you can't use bin number 34 because as you can see here,

77
00:07:57,410 --> 00:07:59,540
it's only input only PIN.

78
00:08:00,530 --> 00:08:06,220
And if you want to use, let's say, analog to digital converter, you can't use this bin.

79
00:08:06,230 --> 00:08:14,720
But number 17 because it only supports Syria communication and input output, regular input output or

80
00:08:14,720 --> 00:08:15,950
digital input output.

81
00:08:16,250 --> 00:08:23,780
So before using any bin, take a minute or two to make sure that it supports what you are going to do

82
00:08:24,290 --> 00:08:30,950
and the sensors or the stuff that you are going to connect it to, whether they are analog or digital,

83
00:08:31,400 --> 00:08:36,450
they are input like push button or output like LEDs.

84
00:08:36,919 --> 00:08:47,210
You need to connect the element to the right pin before start recording to avoid having problems in

85
00:08:47,210 --> 00:08:48,020
the future.

86
00:08:48,050 --> 00:08:54,590
Once you start testing your code, if you have any question, or if you have a project that you don't

87
00:08:54,710 --> 00:09:00,710
exactly know which bins might fit for that project, you can leave a question in the Q&A board.

88
00:09:01,220 --> 00:09:04,190
I'll be more than happy to help answer all of your concerns.

89
00:09:04,790 --> 00:09:08,150
Thanks for watching this is Ashraf from educational engineering team.

