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,220 --> 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:52,670
It also has three USB interfaces for communication and three other interfaces for communication and

9
00:00:52,670 --> 00:00:55,790
to I2C interfaces for Seattle communication.

10
00:00:55,810 --> 00:01:04,010
So these, let's say, eight modules or eight pins 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 Worsley 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 pins.

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:38,550
I provide more data and more details about each of these pens.

16
00:01:39,170 --> 00:01:40,640
And that is also the lecture.

17
00:01:40,910 --> 00:01:46,310
But since we have a lot of them, we don't want to get caught in the details.

18
00:01:46,910 --> 00:01:52,970
Now what we need to know is that print out itself, as you can see, this is how the board looks.

19
00:01:53,510 --> 00:02:01,130
This is the USB port and you are going to hook up your two USB connector here, and the other side will

20
00:02:01,160 --> 00:02:04,430
be connect to your computer, as you can see.

21
00:02:04,550 --> 00:02:10,880
These are the pens g p i o means drought purpose input output.

22
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

23
00:02:17,510 --> 00:02:19,070
has more than one function.

24
00:02:20,030 --> 00:02:30,280
As you can see, usually, pens comes with many names each S Pi and ADC analog digital converter and

25
00:02:30,500 --> 00:02:39,680
purpose, and so you can use it as input output pen or to receive analog signal or for us or for all

26
00:02:39,680 --> 00:02:40,130
to see.

27
00:02:41,500 --> 00:02:50,080
So the choice is yours now, as you can see these pins, all of them are numbered for easy access so

28
00:02:50,080 --> 00:02:54,280
that you can easily know what spin is connected to which now.

29
00:02:54,280 --> 00:03:02,020
Additionally, there are pins with specific features that make them suitable or not for a specific project.

30
00:03:02,770 --> 00:03:11,330
The following demonstration shows you some of these pins, and I'm going to talk about each of these

31
00:03:11,350 --> 00:03:15,220
pins entities and if it can be used as input output.

32
00:03:15,430 --> 00:03:18,940
Now the pins highlighted in green here.

33
00:03:20,720 --> 00:03:23,960
I'll show you a table to summarize this information.

34
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

35
00:03:33,640 --> 00:03:40,810
you need to pay attention because they may have unexpected behavior, mainly at boat time.

36
00:03:41,650 --> 00:03:47,140
While the pins highlighted in red are not recommended to use as input or output.

37
00:03:47,230 --> 00:03:54,560
Now the general purpose input output pin number zero is, as you can see, OK to use.

38
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

39
00:04:02,830 --> 00:04:06,070
as a pull up input or as output.

40
00:04:06,520 --> 00:04:15,160
It outputs P.W. signal output, but no one can be used as text pin for other communication or output

41
00:04:15,160 --> 00:04:15,520
pen.

42
00:04:15,940 --> 00:04:24,160
Debug output output PIN number two is OK to be used as input or output, and usually it is connected

43
00:04:24,160 --> 00:04:31,990
to onboard lid so you can use it to test a code or to test our function because you don't have to connect

44
00:04:32,230 --> 00:04:35,380
extra component at all that you have built in.

45
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.

46
00:04:42,400 --> 00:04:46,000
It's high output, so it will read one output.

47
00:04:47,630 --> 00:04:55,790
Bin Laden's number four and five are OK to use as Input-Output and PIN number five also outputs P.W.

48
00:04:55,790 --> 00:05:02,360
and signal output bin from six to 11 are connected to the integrated spy flash.

49
00:05:02,870 --> 00:05:12,740
So you can't use them as input or output, but number 12 is OK to yours, but both will fail if bold

50
00:05:12,740 --> 00:05:13,100
high.

51
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.

52
00:05:18,410 --> 00:05:18,800
Not.

53
00:05:19,520 --> 00:05:22,730
And if you are connecting it as output, it's OK.

54
00:05:22,940 --> 00:05:24,350
You don't have any problems.

55
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.

56
00:05:34,790 --> 00:05:45,860
Now, as you can see, same four pins from 17 to 33, while 34, 35, 36 and 39 are input only pens.

57
00:05:45,860 --> 00:05:48,770
You can't you can't use them as output.

58
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

59
00:05:58,910 --> 00:06:00,680
LED, onboard, built and led.

60
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

61
00:06:07,010 --> 00:06:12,140
things if we are making a page with a button to control it via internet.

62
00:06:12,590 --> 00:06:14,660
Now that's it for the pin out.

63
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

64
00:06:23,540 --> 00:06:26,030
about the general purpose input output bins.

65
00:06:26,360 --> 00:06:33,350
But for me, what I need you to know at this point is that we have pins that can be used easily without

66
00:06:33,350 --> 00:06:44,240
any extra attention as input output, which are basically these bins two, four, five, 13 to 16 and

67
00:06:44,240 --> 00:06:46,040
17 to 33.

68
00:06:46,490 --> 00:06:51,650
And if we want and not only pens, we can use 34, 35, 36 or 39.

69
00:06:52,250 --> 00:06:59,180
Now, if we need extra features, if we need BW, I'm ADC or DSC.

70
00:06:59,390 --> 00:07:06,170
If we need a capacitor enabled bean or BW pen, we can go on and check this schematic.

71
00:07:06,170 --> 00:07:15,270
And from these bins, you can see that in our case, Jar Purple Spin Number 36 can be used as a DC of

72
00:07:15,330 --> 00:07:16,340
these converter.

73
00:07:17,970 --> 00:07:24,450
As you can see, and it has what only state you can use this schematic, print it out to refer to it

74
00:07:24,450 --> 00:07:26,100
whenever you need to do something.

75
00:07:26,700 --> 00:07:27,660
Same for here.

76
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

77
00:07:34,650 --> 00:07:40,470
26 can also be used used as a tool to help converter automatic converter.

78
00:07:42,200 --> 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

79
00:07:48,350 --> 00:07:50,420
sure that you choose the bin that fits your needs.

80
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,

81
00:07:57,410 --> 00:07:59,540
it's only input only PIN.

82
00:08:00,530 --> 00:08:06,680
And if you want to use, let's say, analog to digital converter, you can't use this bin bin number

83
00:08:06,680 --> 00:08:15,380
17 because it only supports Syria communication and input output, regular input output or digital input

84
00:08:15,380 --> 00:08:15,950
output.

85
00:08:16,220 --> 00:08:18,430
So before using any bin.

86
00:08:19,820 --> 00:08:26,360
Take a minute or two to make sure that it supports what you are going to do and the sensors or the stuff

87
00:08:26,360 --> 00:08:34,130
that you are going to connect it to, whether they are analog or digital, they are input like push

88
00:08:34,130 --> 00:08:36,470
button or output like LEDs.

89
00:08:36,920 --> 00:08:47,360
You need to connect the element to the right pin before start coding to avoid having problems in the

90
00:08:47,360 --> 00:08:48,020
future.

91
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

92
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&amp;A board.

93
00:09:01,220 --> 00:09:04,220
I'll be more than happy to help answer all of your concerns.

94
00:09:04,790 --> 00:09:05,760
Thanks for watching.

95
00:09:05,780 --> 00:09:08,130
This is Ashraf from educational engineering team.
