Hello, and welcome to this new lesson in charcoal, to God or e-sport.
Now the first thing that we need to do is open up Arduino software, the software that we are going
to use to program Arduino or SB 32.
Now, what we need to do in this court is first, we need to connect to a Wi-Fi network or access point.
Then we need to connect to the Q to broadcast.
And we also need to send every new line received on Syria line to the MQ 30 broadcast.
So Aldwin all send data to the serial line and ISP will receive this data and it will send it to the
security broker or baby.
I whatever you want.
It's up to you.
But in this course we are using MQ dty now.
Create a new sketch.
The first thing that we need to do is include some libraries.
So we need to include the life.I library.
And we also need to include a public supply client library, which is basically a client library for
the SB 32 that provides support for IQ.
No, just try to include.
Hashtag include then inside it, you need to write Bob Saab planned attacks.
Now we need to initialize some variables before moving onto the setup and loop functions, and we will
start with consistent character.
For this is already for a lot of what I find at work on the inside here.
You must find our Wi-Fi network name and we need another constant character for the password and we
need to write our passwords here, though I forgot password after that.
We need the NQT server link, so any time she flies a strong character for an Q T server.
And so here you cut a server name.
We can change that later.
Now we need to define some variables, so define NQT part for them to describe what.
And we need to define a username, so on cue, T.
User.
And here we are right here.
It was earlier.
After that, we need to define the password, so I'm sure it.
Password.
Then we need the serial populist channel.
So we've come to the right, define NQT serial populous.
Challenge.
And here we can define it, depending on what we have.
We can't change this later.
Syrian data
and on.
OK, now we are done one defining and creating variables and including the libraries we can move on
to.
The.
Set up Wi-Fi function.
But first, let's save this world.
Now, if you did verify your code.
We'll see if that is on a roll of this library is not defined.
No such file or directory.
So I need to go to tools, manage libraries.
And here you need to write pub.
Public supplier has been hit enter, it will.
Search for the library, as you can see, this is it SB, I'm here to teach clients.
Click Install.
And click install all.
Now, let's verify that quote again.
As you can see now, it's recognizable.
Done combining, and we don't have any errors.
So that's it.
This is the first step.
Now let's move on.
We need to create a new Wi-Fi client
object and we need to create a public sub client
object as well.
So I find.
Glad to take Disqualify Client, which is this one as an import and its name will be client.
Now we can verify the quarterly.
That combining without errors.
That's it, this is the first step in cutting our yes people.
Next lesson We are going to explain how you can create Wi-Fi connection using various people.
Then we will start coding the syrup from the kitchen module.
Thanks for sharing this lesson.
If you have any question, please ask in the Q&A about.