1
00:00:01,200 --> 00:00:02,880
Hello and welcome to this new lesson.

2
00:00:03,930 --> 00:00:11,850
Now it's time to set up the blink to monitor social values, and the first step will be installing the

3
00:00:11,850 --> 00:00:14,520
Blink app on your smartphone.

4
00:00:15,480 --> 00:00:18,330
Now go to your smartphone and go to the App Store.

5
00:00:18,750 --> 00:00:26,040
Depending on the type of smartphone that you have, that might be Google Play Store or Apple Play Store

6
00:00:26,190 --> 00:00:30,300
or App Store Android Blank.

7
00:00:33,640 --> 00:00:35,440
As you can see, you'll get it.

8
00:00:36,190 --> 00:00:37,650
And it's the first result.

9
00:00:38,380 --> 00:00:43,270
This is our uplink and internet of Things for Arduino.

10
00:00:44,140 --> 00:00:45,400
Yes, P32.

11
00:00:46,390 --> 00:00:51,070
Now, as you can see, I already have the app, so I wouldn't flip open.

12
00:00:51,340 --> 00:00:55,210
But if you don't have it, you have to click, install or download.

13
00:00:55,900 --> 00:00:58,940
You would wait some time and you will give up.

14
00:00:58,960 --> 00:01:03,400
And as you can see from the description, this app is used to control Arduino.

15
00:01:03,810 --> 00:01:11,620
Raspberry Pi ISP is two, six and SB 32 two and a lot of other boards.

16
00:01:12,010 --> 00:01:18,910
It's the first and only drag and drop mobile app builder for microcontrollers and Internet of Things.

17
00:01:20,140 --> 00:01:20,830
Click Open.

18
00:01:22,060 --> 00:01:24,850
And as you can see, you have more than one option to log in.

19
00:01:24,910 --> 00:01:26,890
You can log in if you already have an account.

20
00:01:27,400 --> 00:01:31,090
You can create your account or you can log in with your Facebook.

21
00:01:31,990 --> 00:01:42,130
Now you can create an account by clicking here and adding your email and password.

22
00:01:50,850 --> 00:01:54,870
Now, after biting off your passport, click Create New Account.

23
00:01:55,860 --> 00:01:57,330
It shouldn't take a lot of time.

24
00:02:00,800 --> 00:02:08,480
Creating a new account will give you a unique authentication code and will be sent to your email.

25
00:02:09,290 --> 00:02:15,370
This is very important since we are doing this to control our e-sport.

26
00:02:16,940 --> 00:02:24,110
Now, after creating a new account, you need to create a new project and select your hardware.

27
00:02:24,770 --> 00:02:27,140
Now click New Project.

28
00:02:28,010 --> 00:02:30,860
And as you can see, you need to name your project.

29
00:02:31,790 --> 00:02:34,550
I would call it smart go limp.

30
00:02:36,230 --> 00:02:38,120
And you need to select your board.

31
00:02:38,690 --> 00:02:47,690
And as you can see, you have a lot of pause that you can choose from the ones that we need.

32
00:02:47,930 --> 00:02:53,000
Is the ISP you have argued in the last bit about the other boards.

33
00:02:53,720 --> 00:03:00,530
We need ISP Filter to Dave board, and you can choose the connection time.

34
00:03:03,460 --> 00:03:06,040
As you can see here, we have Wi-Fi connection.

35
00:03:06,940 --> 00:03:14,800
And you can either choose dark online, I will choose light as since it's easier on the eye, then click

36
00:03:14,800 --> 00:03:15,730
Create the project.

37
00:03:16,990 --> 00:03:25,300
Now, as you can see, Authentication Token was sent to my email and you can also find it by clicking

38
00:03:25,300 --> 00:03:28,090
on this item on the right corner.

39
00:03:28,810 --> 00:03:32,350
Click OK and we will get it from our email.

40
00:03:32,560 --> 00:03:40,030
Now, the authentication codes are very important code that you will use to control your project.

41
00:03:40,810 --> 00:03:45,850
Now we need to create our smart gathering monitoring system inside this link.

42
00:03:47,320 --> 00:03:55,330
Now you have an empty canvas, as you can see, and we need to add four gauge widgets to monitor temperature,

43
00:03:55,330 --> 00:04:00,340
humidity, water level and soil moisture level sensor readings.

44
00:04:01,060 --> 00:04:05,800
And to do that, tap on the canvas to open up the widget box.

45
00:04:06,460 --> 00:04:09,400
Now you can pick a gauge.

46
00:04:09,820 --> 00:04:15,580
As you can see, we have a lot of gauges and you need to choose one of these.

47
00:04:17,680 --> 00:04:18,580
You can choose.

48
00:04:18,790 --> 00:04:19,510
I know of them.

49
00:04:19,930 --> 00:04:21,880
As you can see, you have controls.

50
00:04:21,880 --> 00:04:23,530
We don't want this here.

51
00:04:23,530 --> 00:04:30,610
We have displays and we can choose this gauge, the one that's called gauge.

52
00:04:31,570 --> 00:04:38,980
And when you choose it, as you can see, you can control the size of the gauge by dragging and dropping

53
00:04:39,370 --> 00:04:41,680
using these four points, the corners.

54
00:04:42,670 --> 00:04:47,770
And when you tap on the widget, you can change its settings.

55
00:04:48,430 --> 00:04:55,000
So if you clicked once you can see that you can change the name, size, text size and color of the

56
00:04:55,000 --> 00:04:55,300
gauge.

57
00:04:56,020 --> 00:05:06,640
Now you can change the name and you can choose the range and you can change the font, size and text.

58
00:05:06,640 --> 00:05:08,560
As you can see, we need a large font size.

59
00:05:09,100 --> 00:05:10,990
We can choose this color.

60
00:05:11,740 --> 00:05:12,610
The blue one.

61
00:05:13,390 --> 00:05:16,630
And you can choose the refresh interval.

62
00:05:17,320 --> 00:05:22,060
Now, the two most important things are the pen and the refresh rate.

63
00:05:22,720 --> 00:05:29,920
You need to set a virtual pen for each case with two seconds or three seconds or six seconds of refresh

64
00:05:29,920 --> 00:05:30,310
time.

65
00:05:31,030 --> 00:05:37,330
And since we chose three seconds for the temperature and humidity, as you can see, we don't have it

66
00:05:37,330 --> 00:05:42,670
as an option here, so we will change it in the code to two seconds and click OK.

67
00:05:43,250 --> 00:05:53,440
And the code to match of that now two seconds and the next step is selecting the pin number.

68
00:05:54,130 --> 00:06:01,330
Now, when you click the pin number, as you can see, OK, click the pen when you click on the pin.

69
00:06:02,230 --> 00:06:11,260
You can see that we have V, which is basically a virtual pen, and we know for sure that for our temperature.

70
00:06:13,660 --> 00:06:22,420
And if you get a sense of we are getting these readings and the cold, if you went back to our code,

71
00:06:22,450 --> 00:06:26,830
you can see that the temperature is v four.

72
00:06:28,570 --> 00:06:30,220
So changed this to before.

73
00:06:32,670 --> 00:06:37,770
And as you can see, you can change the label, but we don't want to do that.

74
00:06:38,070 --> 00:06:45,150
And here we have the range now after changing the refresh rate and the pin number.

75
00:06:45,570 --> 00:06:48,600
You can go back to your canvas and make it look.

76
00:06:50,850 --> 00:06:51,660
The way you want.

77
00:06:51,780 --> 00:06:52,770
So click OK.

78
00:06:53,250 --> 00:06:56,880
And as you can see here, we have temperature before and it's in blue.

79
00:06:57,990 --> 00:06:58,530
You can.

80
00:07:01,220 --> 00:07:04,880
Move it anywhere, and you can change its size.

81
00:07:05,810 --> 00:07:08,120
No, the temperature here.

82
00:07:09,360 --> 00:07:10,680
You can change the size.

83
00:07:12,480 --> 00:07:13,980
Now we need another gauge.

84
00:07:16,600 --> 00:07:23,080
For the humidity and since we have for let's minimize this and of them next to each other.

85
00:07:26,380 --> 00:07:28,090
Now, let's move this one.

86
00:07:30,020 --> 00:07:33,920
Up here on this one, let's call it.

87
00:07:36,480 --> 00:07:37,230
Humidity.

88
00:07:39,550 --> 00:07:48,130
And that Senator Fisher, the two seconds make a font size large, changed the big number to be five

89
00:07:48,130 --> 00:07:49,580
since we have five.

90
00:07:50,260 --> 00:07:54,280
And as you can see, when you click here, you can see that we fall is busy.

91
00:07:55,780 --> 00:08:01,600
So we chose the five we thought as busy because we used it.

92
00:08:02,500 --> 00:08:06,040
Now, as you can see, this is a look around from zero to 1000 points.

93
00:08:06,250 --> 00:08:07,660
We can change that later.

94
00:08:08,080 --> 00:08:14,200
But for now, humidity at three five, just like in our code and the refresh rate is two seconds.

95
00:08:14,890 --> 00:08:17,140
Now we need two more gauges.

96
00:08:19,790 --> 00:08:27,740
Let's add our water level gauge, and let's add another gauge for the soil moisture.

97
00:08:28,400 --> 00:08:29,810
This one is for water.

98
00:08:32,610 --> 00:08:33,060
Live in.

99
00:08:35,190 --> 00:08:42,110
And we know for sure that the water level is v sovereign.

100
00:08:49,220 --> 00:08:49,580
OK.

101
00:08:49,890 --> 00:08:52,340
He said no.

102
00:08:54,550 --> 00:09:04,810
We tried that office with five seconds, then kick, it can change the color to the said it's OK since

103
00:09:04,810 --> 00:09:06,340
it's water, make it blue.

104
00:09:08,050 --> 00:09:15,970
Now the last one is for the soul and it's V6.

105
00:09:25,430 --> 00:09:32,450
No question, the coloring to orange on the refresh rate of five.

106
00:09:37,060 --> 00:09:37,630
That's it.

107
00:09:38,800 --> 00:09:45,520
Now let's click OK and make sure that we have everything correctly before we fight for the temperature

108
00:09:45,520 --> 00:09:50,650
and humidity, V7 and V6 for the water level and soil moisture.

109
00:09:51,190 --> 00:10:00,050
Now the next step, we need to add a button widget to control thoroughly now.

110
00:10:01,000 --> 00:10:04,240
Click here, go up and choose button.

111
00:10:05,110 --> 00:10:06,340
And this is our button.

112
00:10:09,070 --> 00:10:10,660
Click once unchanged.

113
00:10:10,910 --> 00:10:11,920
The button pin.

114
00:10:13,430 --> 00:10:18,640
Now, as you can see here, you can choose a digital or virtual button.

115
00:10:19,420 --> 00:10:19,900
Now.

116
00:10:21,480 --> 00:10:26,970
Change the name of the baton first and call it certainly.

117
00:10:30,090 --> 00:10:30,690
Control.

118
00:10:32,830 --> 00:10:39,460
Now, after changing the name, you can't change the button type and up in the bin is does your purpose

119
00:10:39,460 --> 00:10:47,620
input output of the ESB filter to work that is connected, and we already mentioned that it is connected

120
00:10:48,220 --> 00:10:52,080
to a pin number twenty two 22.

121
00:10:52,960 --> 00:11:02,260
Now we have to send this, so we have to go to the pin and choose the GP 20 tool.

122
00:11:05,280 --> 00:11:14,550
As you can see here now, you can choose either switch or push button, which will switch, and that's

123
00:11:14,550 --> 00:11:14,790
it.

124
00:11:16,960 --> 00:11:25,270
Now, OK, now the blink, we can change, OK, can change this color.

125
00:11:25,960 --> 00:11:27,460
None of the blink up is ready.

126
00:11:27,790 --> 00:11:36,220
We have four indicators and one button to control thoroughly and everything is chosen correctly.

127
00:11:36,820 --> 00:11:43,270
That's it for the blink swab and the next lesson, we will take the authentication code and we will

128
00:11:43,270 --> 00:11:54,610
insert inside our USP 32 code and we will add the Wi-Fi and name and password to our ISP, to bar codes

129
00:11:55,060 --> 00:11:56,030
and we will upload.

130
00:11:56,050 --> 00:12:00,400
I clicked on ISP board so that we can start controlling and monitoring this.

131
00:12:01,090 --> 00:12:05,620
As you can see, that is around button on the right two bright side.

132
00:12:05,980 --> 00:12:11,590
Once you click on it, it will start trying to connect to your ISP, and if it is connected online,

133
00:12:12,250 --> 00:12:13,480
you will get the readings.

134
00:12:14,020 --> 00:12:15,310
Thanks for watching this lesson.

135
00:12:15,460 --> 00:12:18,490
This is Ashraf from educational engineering team.
