Hello and welcome this new.
Now it's time to set up the bling up to monitors and social values, and the first step will be installing
doubling up on your smartphone.
Now go to your smartphone and go to the App Store.
Depending on the type of smartphone that you have, that might be Google Play store or Apple Play store
or App Store and.
Right.
Who blink.
As you can see, you will get it and it's the first results.
This is our eyeblink and Internet of thing for Arduino E.S.P 32.
Now, as you can see, I already have the app, so I will flick open.
But if you don't have it, you have to click, install or download.
You will wait some time and you will give up.
And as you can see from the description, this app is used to control Arduino.
A Raspberry Pi E.S.P is 266 and E.S.P 32 and a lot of other boards.
It's the first and only drag and drop mobile app builder for microcontrollers and Internet of Things.
Click open and as you can see, you have more than one option to login.
You can log if you already have an account, you can create a new account or you can login with your
Facebook.
Now you can create an account by clicking here and adding your email and password.
Now, after writing your password, click, create new account, it shouldn't take a lot of time.
Creating a new account will give you a unique authentication code and will be sent to your email.
And this is very important since we are doing this to control our esport now.
Now, after creating an account, you need to create a new project and select your hardware.
Now click new project.
And as you can see, you need to name your project.
I will call it Smart Ghanim.
And you need to select your board and as.
You can see you have a lot of balls that you can choose from.
And the one that we need is the E.S.P, you have Arduino Raspier Pi and a lot of other boards.
We need E.S.P 32 Dev Board and you can choose the connection type.
As you can see here, we have Wi-Fi connection and you can either choose dark or light, I will choose
light as since it's easier on the eye.
Then click create a project.
Now, as you can see, authentication.
Tolkien was sent to my email and you can also find it by clicking on this icon on the upper right corner.
Click OK, and we will get it from our email.
Now, the authentication codes are very important code that you will use to control your project.
Now we need to create our smart guarding monitoring system inside this link up.
Now you have an empty canvas, as you can see, and we need to add four gauge widgets to monitor temperature,
humidity, water level and soil moisture level sensor readings and to do that tap on the canvas to open
up the widget box.
Now you can pick a gauge.
As you can see, we have a lot of gauges and you need to choose one of these.
You can choose any of them, as you can see here, we have controls, we don't want these here.
We have displays and we can choose.
This is the one that's called Cage.
And when you choose it, as you can see, you can control the size of the cage by dragging and dropping,
using these four points on the corners.
And when you tap on the widget, you can change its settings.
So if you click once, you can see that you can change the name.
Size takes size and color of the cage.
Now you can change the name and you can change the range and you can change the font size and text.
As you can see, we need a large font size.
We can choose this color, the blue one, and you can choose the refresh interval.
Now, the two most important things are the pen and the refrigerate.
You need to set a virtual pen for each GigE with two seconds or three seconds or six seconds of refresh
time.
And since we choose three seconds for the temperature and humidity, as you can see, we don't have
it as an option here.
So we will change it in the code to two seconds and click, OK, and we will do the code to match that.
Now, two seconds and the next step is selecting the PIN number.
Now, when you click the PIN number, as you can see, OK, click the pen.
When you click on the pen, you can see that we have V, which is basically a virtual pen and we know
for sure that for our temperature.
And humidity sensor, we are getting these readings in the cold, if you went back to our code, you
can see that the temperature is V4.
So change this to before.
And as you can see, you can change the label, but we don't want to do that, and here we have that
range now after changing the refrigerator and the PIN number, you can go back to your canvas and make
it look.
The way you want, so click OK, and as you can see here, we have temperature before and it's in blue.
You can.
Move it anywhere and you can change its size now would add the temperature here, you can change the
size.
Now we need another gauge
for the humidity.
And since we have four, let's minimize this and have them next to each other.
Now, let's move this one.
Up here.
And this one, let's call it.
Humidity.
And the under pressure to two seconds make the font size large change the PIN number to V5 since we
have five and as you can see when you click here, you can see that before is busy.
So it shows the five.
Refaat is busy because we already used it now, as you can see, this is the analog range from zero
to 1023.
We can change that later.
But for now, humidity at V5, just like an hour cold and the refrigerator is two seconds.
Now we need to mortgages.
Let's add our water level gauge and let's add another gauge for the soil moisture.
Now, this one is for water.
Live in.
And we know for sure that the water level is.
V. seven.
Avieson now.
We tried the refresh rate five seconds, then click, OK, you can change the color.
The steroids case since sort of does make it blue.
Now, the last one is for ASOL.
And it's V six.
Now, president, according to Orange, and that if to five.
That's it now let's look OK and make sure that we have everything correctly before we five-fold the
temperature and humidity V seven and we six for the water level and soil moisture.
Now, the next step, we need to add a button widget to control thoroughly.
Now click here, go up and choose button.
And this is our button.
Click once on the button bin.
Now, as you can see here, you can choose a digital or virtual button now.
Change the name of the button first and call it necessarily.
Enthrone.
After changing the name, you can change the button, Taieb, and the bin, that bin is the general
purpose input output pin of the E.S.P 32 Weatherley is connected and we already mentioned that it is
connected to a PIN number 22, the 22.
Now we have to send this.
So we have to go to the pin and choose g.P 22.
As you can see here now, you can choose either switch or push, I will choose switch and that's it.
Now click, OK, now that blink, we can change, OK, we can change this color now the blink abs ready,
we have four indicators and one button to control the relay and everything is chosen correctly.
That's it for the uplink set up in the next lesson, we will take the authentication code and we will
insert inside our E.S.P.
Thirty two code and we will add the wi fi and you name and password to our ISP hoped to board bar code
and we will applaud Dakotah E.S.P board so that we can start controlling and monitoring this.
As you can see, that is around.
But on the right to bright side, once you click on it, it will start trying to connect to your ISP
and if it is connected online, you will get the readings.
Thanks for watching this lesson.
This is Ashraf Compressional engineering team.