1 00:00:00,720 --> 00:00:08,100 Hello and welcome to the stimulus money are going to court or export now, the first thing that we need 2 00:00:08,100 --> 00:00:15,840 to do is open up Arduino software, the software that you are going to use to program Arduino or E.S.P. 3 00:00:15,840 --> 00:00:16,410 Telstra to. 4 00:00:19,180 --> 00:00:28,060 Now, what we need to do this court is first we need to connect to Wi-Fi network or access point, then 5 00:00:28,060 --> 00:00:33,210 we need to connect to the, um, QCT broadcast. 6 00:00:34,570 --> 00:00:42,190 And we also need to send every new line received on Syria line to the MQ DETI. 7 00:00:43,840 --> 00:00:55,270 So Alduin all send data to the Syria line and ISP will receive this data and it will send it to the 8 00:00:55,270 --> 00:00:58,930 amputee broker or our FBI. 9 00:00:59,380 --> 00:01:01,570 Whatever you want, it's up to you. 10 00:01:01,570 --> 00:01:09,040 Button this cause we are using Amcu Deti now create a new sketch. 11 00:01:12,130 --> 00:01:15,680 The first thing that we need to do is include some libraries. 12 00:01:15,700 --> 00:01:18,970 So we need to include the wi fi library. 13 00:01:27,160 --> 00:01:35,860 And we also need to include a public subclans library, which is basically a client library for the 14 00:01:35,870 --> 00:01:39,980 SB 32 that provides support for Amcu. 15 00:01:41,770 --> 00:01:43,600 Now just try to include. 16 00:01:45,960 --> 00:01:52,860 Hashtag include them inside it. 17 00:01:53,160 --> 00:01:58,430 Right, Bob, some planned attacks. 18 00:02:00,690 --> 00:02:08,130 Now we need to initialize some variables before moving onto the set up and loop functions. 19 00:02:08,970 --> 00:02:14,130 And we will start with constant character. 20 00:02:17,540 --> 00:02:27,470 For this, it's already for our Wi-Fi network and inside here, you must try it on Wi-Fi network name, 21 00:02:28,250 --> 00:02:42,530 and we need another constant character for the password and we need to write our password here, the 22 00:02:42,530 --> 00:02:43,650 Wi-Fi password. 23 00:02:45,680 --> 00:02:51,520 After that, we need the uncute server link. 24 00:02:52,130 --> 00:03:02,200 So we need to initialize Christan character for NQ Treaty Server. 25 00:03:05,590 --> 00:03:09,130 And inside here, you got a server name. 26 00:03:15,460 --> 00:03:17,080 We can change that later. 27 00:03:19,710 --> 00:03:31,200 Now we need to define some variables, so define amputee port for cutie, Sir Robert. 28 00:03:34,880 --> 00:03:40,520 And we need to define a username so uncute. 29 00:03:42,150 --> 00:03:42,810 User. 30 00:03:45,500 --> 00:03:55,340 And here we are, right, you Kutty ouseley after that, we need to define the password, so I'm sure 31 00:03:55,350 --> 00:03:55,910 Deti. 32 00:04:00,040 --> 00:04:00,700 Password. 33 00:04:07,600 --> 00:04:22,330 Then we need that serial published channel, so we've come to that I define I'm Kutty Serial publish. 34 00:04:24,540 --> 00:04:24,900 Challenge. 35 00:04:25,740 --> 00:04:29,350 And here we can define it depending on what we have. 36 00:04:29,550 --> 00:04:31,080 We can change this later. 37 00:04:35,180 --> 00:04:36,290 Serial data 38 00:04:38,930 --> 00:04:39,920 and all. 39 00:04:43,360 --> 00:04:51,430 OK, now we are done with defining and creating variables and including the libraries we can move on 40 00:04:51,730 --> 00:04:52,150 to. 41 00:04:53,230 --> 00:04:53,770 The. 42 00:04:55,020 --> 00:04:56,700 Set up wi fi function. 43 00:04:59,410 --> 00:05:02,640 But first, let's see if this work. 44 00:05:06,840 --> 00:05:09,840 Now, if you did verify your code. 45 00:05:12,200 --> 00:05:17,660 You see, there is an error of this library is not defined, no such file or directory. 46 00:05:18,290 --> 00:05:21,860 So you need to go to Tool's managed libraries. 47 00:05:25,940 --> 00:05:28,160 And here you need to pub. 48 00:05:31,440 --> 00:05:38,310 Public subclans been hit enter and it will. 49 00:05:39,400 --> 00:05:44,770 Search for the library, as you can see, this is at E.S.P, I'm Kutty client. 50 00:05:46,480 --> 00:05:47,380 Click, install. 51 00:05:49,560 --> 00:05:51,060 And click install all. 52 00:05:56,100 --> 00:05:57,860 Now, let's verify that point again. 53 00:06:00,460 --> 00:06:03,130 As you can see now, it's recognizable. 54 00:06:09,680 --> 00:06:15,170 Done combining and we don't have any errors, so that's it, this is the first step. 55 00:06:15,860 --> 00:06:17,360 Now let's move on. 56 00:06:18,230 --> 00:06:23,120 We need to create a new Wi-Fi client 57 00:06:26,300 --> 00:06:35,390 object and we need to create a public sub client 58 00:06:38,150 --> 00:06:39,160 object as well. 59 00:06:40,790 --> 00:06:41,930 So wi fi. 60 00:06:45,170 --> 00:06:51,000 It will take a while for my client to choose this one as input and its name will be client. 61 00:06:51,710 --> 00:06:53,320 Now we can verify the quote again. 62 00:06:57,070 --> 00:07:03,970 Then combining without it, that's it, this is the first step in calling our E.S.P ball next lesson, 63 00:07:03,980 --> 00:07:11,790 we are going to explain how you can create a Wi-Fi connection using various people. 64 00:07:12,100 --> 00:07:16,360 Then we will start coding that Sirah communication module. 65 00:07:17,250 --> 00:07:18,570 Thanks for sharing this lesson. 66 00:07:18,610 --> 00:07:21,640 If you have any questions, please ask in the Q&A about.