1
00:00:00,750 --> 00:00:05,220
Hello, and welcome to this new lesson in charcoal, to God or e-sport.

2
00:00:05,940 --> 00:00:12,240
Now the first thing that we need to do is open up Arduino software, the software that we are going

3
00:00:12,240 --> 00:00:16,410
to use to program Arduino or SB 32.

4
00:00:19,180 --> 00:00:26,800
Now, what we need to do in this court is first, we need to connect to a Wi-Fi network or access point.

5
00:00:27,580 --> 00:00:33,160
Then we need to connect to the Q to broadcast.

6
00:00:34,600 --> 00:00:43,630
And we also need to send every new line received on Syria line to the MQ 30 broadcast.

7
00:00:43,930 --> 00:00:55,250
So Aldwin all send data to the serial line and ISP will receive this data and it will send it to the

8
00:00:55,450 --> 00:00:58,370
security broker or baby.

9
00:00:58,490 --> 00:01:00,430
I whatever you want.

10
00:01:00,790 --> 00:01:01,530
It's up to you.

11
00:01:01,570 --> 00:01:05,830
But in this course we are using MQ dty now.

12
00:01:07,330 --> 00:01:08,980
Create a new sketch.

13
00:01:12,100 --> 00:01:15,610
The first thing that we need to do is include some libraries.

14
00:01:15,700 --> 00:01:18,940
So we need to include the life.I library.

15
00:01:27,220 --> 00:01:35,710
And we also need to include a public supply client library, which is basically a client library for

16
00:01:35,710 --> 00:01:39,950
the SB 32 that provides support for IQ.

17
00:01:41,800 --> 00:01:43,570
No, just try to include.

18
00:01:46,020 --> 00:01:58,410
Hashtag include then inside it, you need to write Bob Saab planned attacks.

19
00:02:00,690 --> 00:02:10,050
Now we need to initialize some variables before moving onto the setup and loop functions, and we will

20
00:02:10,050 --> 00:02:14,100
start with consistent character.

21
00:02:17,540 --> 00:02:24,560
For this is already for a lot of what I find at work on the inside here.

22
00:02:25,250 --> 00:02:38,840
You must find our Wi-Fi network name and we need another constant character for the password and we

23
00:02:38,840 --> 00:02:46,610
need to write our passwords here, though I forgot password after that.

24
00:02:46,730 --> 00:03:02,180
We need the NQT server link, so any time she flies a strong character for an Q T server.

25
00:03:05,620 --> 00:03:09,120
And so here you cut a server name.

26
00:03:15,490 --> 00:03:17,050
We can change that later.

27
00:03:19,740 --> 00:03:31,140
Now we need to define some variables, so define NQT part for them to describe what.

28
00:03:34,940 --> 00:03:40,500
And we need to define a username, so on cue, T.

29
00:03:42,180 --> 00:03:42,780
User.

30
00:03:45,530 --> 00:03:47,460
And here we are right here.

31
00:03:48,660 --> 00:03:49,430
It was earlier.

32
00:03:51,620 --> 00:03:55,610
After that, we need to define the password, so I'm sure it.

33
00:04:00,010 --> 00:04:00,640
Password.

34
00:04:07,630 --> 00:04:11,570
Then we need the serial populist channel.

35
00:04:12,520 --> 00:04:22,300
So we've come to the right, define NQT serial populous.

36
00:04:24,510 --> 00:04:24,880
Challenge.

37
00:04:25,800 --> 00:04:29,310
And here we can define it, depending on what we have.

38
00:04:29,580 --> 00:04:31,050
We can't change this later.

39
00:04:35,210 --> 00:04:36,260
Syrian data

40
00:04:38,990 --> 00:04:39,890
and on.

41
00:04:43,360 --> 00:04:51,400
OK, now we are done one defining and creating variables and including the libraries we can move on

42
00:04:51,730 --> 00:04:52,150
to.

43
00:04:53,350 --> 00:04:53,710
The.

44
00:04:55,050 --> 00:04:56,670
Set up Wi-Fi function.

45
00:04:59,380 --> 00:05:02,590
But first, let's save this world.

46
00:05:06,900 --> 00:05:09,780
Now, if you did verify your code.

47
00:05:12,260 --> 00:05:15,990
We'll see if that is on a roll of this library is not defined.

48
00:05:16,020 --> 00:05:17,660
No such file or directory.

49
00:05:18,290 --> 00:05:21,830
So I need to go to tools, manage libraries.

50
00:05:25,970 --> 00:05:28,100
And here you need to write pub.

51
00:05:31,470 --> 00:05:38,280
Public supplier has been hit enter, it will.

52
00:05:39,400 --> 00:05:44,710
Search for the library, as you can see, this is it SB, I'm here to teach clients.

53
00:05:46,450 --> 00:05:47,350
Click Install.

54
00:05:49,620 --> 00:05:51,060
And click install all.

55
00:05:56,130 --> 00:05:57,840
Now, let's verify that quote again.

56
00:06:00,490 --> 00:06:03,070
As you can see now, it's recognizable.

57
00:06:09,710 --> 00:06:12,670
Done combining, and we don't have any errors.

58
00:06:13,430 --> 00:06:14,060
So that's it.

59
00:06:14,090 --> 00:06:15,110
This is the first step.

60
00:06:15,860 --> 00:06:17,330
Now let's move on.

61
00:06:18,060 --> 00:06:23,090
We need to create a new Wi-Fi client

62
00:06:26,330 --> 00:06:35,360
object and we need to create a public sub client

63
00:06:38,210 --> 00:06:39,110
object as well.

64
00:06:40,820 --> 00:06:41,900
So I find.

65
00:06:44,150 --> 00:06:50,960
Glad to take Disqualify Client, which is this one as an import and its name will be client.

66
00:06:51,740 --> 00:06:53,290
Now we can verify the quarterly.

67
00:06:57,070 --> 00:06:58,600
That combining without errors.

68
00:06:58,720 --> 00:07:02,520
That's it, this is the first step in cutting our yes people.

69
00:07:03,100 --> 00:07:11,770
Next lesson We are going to explain how you can create Wi-Fi connection using various people.

70
00:07:12,100 --> 00:07:16,330
Then we will start coding the syrup from the kitchen module.

71
00:07:17,230 --> 00:07:18,520
Thanks for sharing this lesson.

72
00:07:18,610 --> 00:07:21,580
If you have any question, please ask in the Q&amp;A about.
