1
00:00:00,720 --> 00:00:06,300
In this lecture, I'll talk about the software requirements of this project, course, all of the software

2
00:00:06,300 --> 00:00:12,810
that were used in this project is open source and free in terms of monetary cost, online services like

3
00:00:12,810 --> 00:00:17,070
Google Sheets and efficient that are also free of charge, but not open source.

4
00:00:17,380 --> 00:00:18,620
So let's take a closer look.

5
00:00:20,230 --> 00:00:26,680
The software component that consists of the brain of the project is not read, not read is a powerful

6
00:00:26,680 --> 00:00:28,410
graphical programming environment.

7
00:00:28,810 --> 00:00:36,400
It's built on note JSA JavaScript framework from where it got its name not read is very good in enabling

8
00:00:36,400 --> 00:00:42,520
hardware devices, small and large APIs and all kinds of online services to work together.

9
00:00:43,510 --> 00:00:49,540
Note read is bundled in the European operating system, even in the light version that will be using.

10
00:00:49,820 --> 00:00:55,870
However, I'll show you how to install a fresh copy so that you can start the project with the latest

11
00:00:55,870 --> 00:01:02,680
available version, although will be using the E.S.P 32 to implement the hardware part of the terrarium

12
00:01:02,680 --> 00:01:03,280
controller.

13
00:01:03,580 --> 00:01:07,990
I've decided to use the original idea as a development environment for the sketch.

14
00:01:08,590 --> 00:01:15,280
I chose this as opposed to platform IO that are used in my course SB 32 unleashed because the sketch

15
00:01:15,280 --> 00:01:17,370
that will develop is actually fairly simple.

16
00:01:18,010 --> 00:01:23,980
The original idea is perfectly suitable and capable for what we are working towards here, and it's

17
00:01:23,980 --> 00:01:31,780
definitely allowing us to progress at a faster pace as opposed to using a more feature for ADT to keep

18
00:01:31,780 --> 00:01:33,070
a fast pace.

19
00:01:33,220 --> 00:01:37,870
I'm not showing how to set up the original idea to work with the ISP 32.

20
00:01:38,260 --> 00:01:45,970
It can learn how to do this by reviewing the relevant lectures in E.S.P 32 for people, or check out

21
00:01:45,970 --> 00:01:49,630
the relevant free guide on the Tech Expression's website.

22
00:01:49,780 --> 00:01:54,070
And you can see the real for that guide below the image in this slide.

23
00:01:56,430 --> 00:02:02,670
The default operating system for the Raspberry Pi is the Raspberry Pi OS, this used to be known as

24
00:02:02,670 --> 00:02:04,060
Rampion until recently.

25
00:02:04,710 --> 00:02:10,080
We won't be doing much at the operating system level other than running the necessary services such

26
00:02:10,080 --> 00:02:13,930
as S h note rate and the T Muskett a broker.

27
00:02:14,340 --> 00:02:18,720
I'll show you how to install the operating system and set up those services.

28
00:02:19,970 --> 00:02:27,290
Notarised is the brain of our terrorism controller, and quiddity is the glue and quiddity makes it

29
00:02:27,290 --> 00:02:30,930
possible for this software components to communicate with each other.

30
00:02:31,580 --> 00:02:33,860
Eclipse Miskito is an open source.

31
00:02:33,860 --> 00:02:41,180
Epel and IDEO licensed Message Broca that implement the EMCDDA protocol versions five three point one

32
00:02:41,180 --> 00:02:49,070
point one and three point one mosquito is lightweight and is suitable for use on all devices from low

33
00:02:49,070 --> 00:02:56,150
power, single board computers to full service and quiddity is a way of messaging that allows clients

34
00:02:56,150 --> 00:02:59,850
to talk to each other using the public and subscribe model.

35
00:03:01,070 --> 00:03:06,170
Of course, there are many open source implementations of the military protocol and any of them should

36
00:03:06,170 --> 00:03:08,100
work equally well in this project.

37
00:03:08,270 --> 00:03:14,240
There are no specific requirements that we have here that makes mosquito better than other options.

38
00:03:14,750 --> 00:03:20,930
But in this project I have chosen to use the Mosquito Breuker because it's well documented and mature

39
00:03:21,080 --> 00:03:25,730
and also comes with convenient publish and subscribed tools that we can use for testing.

40
00:03:25,910 --> 00:03:27,790
Apart from the broker itself.

41
00:03:29,980 --> 00:03:36,500
To make this project a true Iot project, I decided to make use of online cloud resources and services.

42
00:03:37,090 --> 00:03:38,830
There are many excellent options out there.

43
00:03:38,840 --> 00:03:43,780
So I wanted to make use of services that are genuine representatives of what is available to make us

44
00:03:43,780 --> 00:03:44,190
today.

45
00:03:45,400 --> 00:03:51,310
Most such services are not open source, but are free of charge, at least at a basic level, which

46
00:03:51,310 --> 00:03:51,980
is all we need.

47
00:03:52,810 --> 00:03:56,270
The first cloud application that I wanted to use is Google Sheets.

48
00:03:56,860 --> 00:04:03,730
It's possible to use Google Sheets via a specialized API because al Qaeda is integrated with Google

49
00:04:03,730 --> 00:04:04,370
Drive.

50
00:04:04,390 --> 00:04:07,780
We also need to make use of the Good Drive API.

51
00:04:08,410 --> 00:04:14,770
The main challenge to use Google Sheet is the security and authentication mechanism, which requires

52
00:04:14,770 --> 00:04:17,590
the creation of certificates and keys.

53
00:04:18,430 --> 00:04:23,350
This is a common and very secure way to getting access to online resources.

54
00:04:23,350 --> 00:04:25,390
And I'll show you exactly how to do this.

55
00:04:26,470 --> 00:04:31,120
Will use Google Sheet to log data from the terrorism controller, sensors and actuators.

56
00:04:31,390 --> 00:04:36,370
But you can use the same techniques to access any of the many other Google services.

57
00:04:37,920 --> 00:04:44,370
If this and that is the leading platform for bringing together hundreds of registered services and using

58
00:04:44,370 --> 00:04:50,370
them in virtually any way you want, I'll be using if this and that to send me notifications when the

59
00:04:50,370 --> 00:04:54,890
voltage level of the ISP 32 battery drops below a certain threshold.

60
00:04:55,290 --> 00:04:57,590
But that is just one simple example.

61
00:04:58,170 --> 00:04:59,050
It can do much more.

62
00:04:59,430 --> 00:05:05,130
For example, you can use if they send that to automatically make an entry in your calendar to remind

63
00:05:05,130 --> 00:05:12,450
you to charge the terrorism battery or to replenish the water reservoir, it can use Amazon, Alexa

64
00:05:12,570 --> 00:05:14,650
to set up voice commands or alerts.

65
00:05:14,650 --> 00:05:16,490
And that's just scratching the surface.

66
00:05:17,340 --> 00:05:19,060
If this and that is an amazing tool.

67
00:05:19,170 --> 00:05:24,330
And in this project, I'll show you how to easily integrate it to your no red flow.

68
00:05:25,540 --> 00:05:30,400
As with Google services, if this and that is not open source, but you can use it free of charge.

69
00:05:32,570 --> 00:05:37,130
There are various other software components that will use in this project, for example, there are

70
00:05:37,130 --> 00:05:43,010
libraries for the Espiritu and they are doing your I.D., such as the Task Scheduler Library, which

71
00:05:43,010 --> 00:05:48,230
allows us to schedule specific things to happen on the ESB 32 that follow a specific schedule.

72
00:05:48,860 --> 00:05:53,930
There are also note, read, note libraries that will be installing and using.

73
00:05:54,590 --> 00:06:00,230
As with the Ardino, there are thousands of contributors who have written thousands of note, read notes

74
00:06:00,230 --> 00:06:02,000
and even complete flows.

75
00:06:02,000 --> 00:06:08,360
And they are sharing those with other makers so that we can integrate them to our projects and it's

76
00:06:08,360 --> 00:06:08,780
about it.

77
00:06:09,230 --> 00:06:13,460
Now let's move on to the next lecture of talk about the required hardware.
