Hello and welcome to this new lesson.
Now it's time to set up the blink to monitor social values, and the first step will be installing the
Blink app 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 Android Blank.
As you can see, you'll get it.
And it's the first result.
This is our uplink and internet of Things for Arduino.
Yes, P32.
Now, as you can see, I already have the app, so I wouldn't flip open.
But if you don't have it, you have to click, install or download.
You would wait some time and you will give up.
And as you can see from the description, this app is used to control Arduino.
Raspberry Pi ISP is two, six and SB 32 two 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 log in.
You can log in if you already have an account.
You can create your account or you can log in with your Facebook.
Now you can create an account by clicking here and adding your email and password.
Now, after biting off your passport, 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.
This is very important since we are doing this to control our e-sport.
Now, after creating a new 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 would call it smart go limp.
And you need to select your board.
And as you can see, you have a lot of pause that you can choose from the ones that we need.
Is the ISP you have argued in the last bit about the other boards.
We need ISP Filter to Dave board, and you can choose the connection time.
As you can see here, we have Wi-Fi connection.
And you can either choose dark online, I will choose light as since it's easier on the eye, then click
Create the project.
Now, as you can see, Authentication Token was sent to my email and you can also find it by clicking
on this item on the 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 gathering monitoring system inside this link.
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.
I know of them.
As you can see, you have controls.
We don't want this here.
We have displays and we can choose this gauge, the one that's called gauge.
And when you choose it, as you can see, you can control the size of the gauge by dragging and dropping
using these four points, the corners.
And when you tap on the widget, you can change its settings.
So if you clicked once you can see that you can change the name, size, text size and color of the
gauge.
Now you can change the name and you can choose 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 refresh rate.
You need to set a virtual pen for each case with two seconds or three seconds or six seconds of refresh
time.
And since we chose 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 the code to match of 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 pin.
You can see that we have V, which is basically a virtual pen, and we know for sure that for our temperature.
And if you get a sense of we are getting these readings and the cold, if you went back to our code,
you can see that the temperature is v four.
So changed 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 the range now after changing the refresh rate 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.
No, the temperature here.
You can change the size.
Now we need another gauge.
For the humidity and since we have for let's minimize this and of them next to each other.
Now, let's move this one.
Up here on this one, let's call it.
Humidity.
And that Senator Fisher, the two seconds make a font size large, changed the big number to be five
since we have five.
And as you can see, when you click here, you can see that we fall is busy.
So we chose the five we thought as busy because we used it.
Now, as you can see, this is a look around from zero to 1000 points.
We can change that later.
But for now, humidity at three five, just like in our code and the refresh rate is two seconds.
Now we need two more gauges.
Let's add our water level gauge, and let's add another gauge for the soil moisture.
This one is for water.
Live in.
And we know for sure that the water level is v sovereign.
OK.
He said no.
We tried that office with five seconds, then kick, it can change the color to the said it's OK since
it's water, make it blue.
Now the last one is for the soul and it's V6.
No question, the coloring to orange on the refresh rate of five.
That's it.
Now let's click OK and make sure that we have everything correctly before we fight for the temperature
and humidity, V7 and V6 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 unchanged.
The button pin.
Now, as you can see here, you can choose a digital or virtual button.
Now.
Change the name of the baton first and call it certainly.
Control.
Now, after changing the name, you can't change the button type and up in the bin is does your purpose
input output of the ESB filter to work that is connected, and we already mentioned that it is connected
to a pin number twenty two 22.
Now we have to send this, so we have to go to the pin and choose the GP 20 tool.
As you can see here now, you can choose either switch or push button, which will switch, and that's
it.
Now, OK, now the blink, we can change, OK, can change this color.
None of the blink up is ready.
We have four indicators and one button to control thoroughly and everything is chosen correctly.
That's it for the blink swab and the next lesson, we will take the authentication code and we will
insert inside our USP 32 code and we will add the Wi-Fi and name and password to our ISP, to bar codes
and we will upload.
I clicked on ISP board so that we can start controlling and monitoring this.
As you can see, that is around button on the right two 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 from educational engineering team.