1
00:00:00,690 --> 00:00:06,540
This court will carry you through the construction of a control system, that deliverable is a terrorism

2
00:00:06,540 --> 00:00:07,150
controller.

3
00:00:07,740 --> 00:00:13,170
Along the way, you learn a great deal about useful technologies such as the node rate, programming,

4
00:00:13,170 --> 00:00:15,210
environment and and cut.

5
00:00:16,250 --> 00:00:22,040
Ideally, you want to complete this course because you want to learn new trade and market it and extend

6
00:00:22,040 --> 00:00:25,430
your existing knowledge of the Espiritu and the Raspberry Pi.

7
00:00:26,670 --> 00:00:33,630
Consider this project as a powerful tool because it provides you with clear and verifiable objectives

8
00:00:34,500 --> 00:00:40,620
in this lecture of talk about the deliverables so that you know what you've built and the main learning

9
00:00:40,620 --> 00:00:45,930
outcomes and also talk about the skills that you will need to have before you begin.

10
00:00:47,180 --> 00:00:53,060
Let's start with a project deliverable by the end of this project, you have created a control system

11
00:00:53,060 --> 00:00:54,230
for a terrarium.

12
00:00:55,010 --> 00:00:59,960
A terrarium is simply a container in which you add some soil and a small plant.

13
00:01:00,940 --> 00:01:07,180
Personally, my motivation for this project was not the terrorism itself, I'm not very good with plants

14
00:01:07,180 --> 00:01:10,140
and only have limited interest in being a gardener.

15
00:01:10,630 --> 00:01:16,170
But when I combined plants with technology, things became much more interesting.

16
00:01:16,630 --> 00:01:21,940
I decided to do this project because it gave me the opportunity to work with several technologies that

17
00:01:21,940 --> 00:01:23,440
I find very interesting.

18
00:01:23,440 --> 00:01:25,060
And more about this in a moment.

19
00:01:25,570 --> 00:01:30,940
That deliverable of the project is that the radium controller, which consists of the hardware and the

20
00:01:30,940 --> 00:01:36,340
software, you can see the hardware in the photo in this slide implemented on a breadboard.

21
00:01:36,820 --> 00:01:40,330
You can also choose to implement it on a piece of me that I've designed.

22
00:01:41,380 --> 00:01:47,950
The software part of the controller consists of the main logic implemented in Node Red and the E.S.P

23
00:01:47,950 --> 00:01:55,750
32 sketch note read is where all the decision making and logging takes place and the E.S.P 32 sketch

24
00:01:55,750 --> 00:02:00,970
is simply there to report sensor values and execute decisions from note.

25
00:02:00,970 --> 00:02:08,340
Read the layer that connects the two software components together is the market mosquito broker.

26
00:02:09,070 --> 00:02:13,870
OK, now that you know what you're about to build, I'll explain what you learned along the way, which

27
00:02:13,870 --> 00:02:15,340
I think is a lot more important.

28
00:02:16,780 --> 00:02:23,680
You learn how to use note, read, note, read is a powerful graphical programming environment, it's

29
00:02:23,680 --> 00:02:24,730
built on note.

30
00:02:24,730 --> 00:02:28,330
Dautrich is a JavaScript framework from where it got its name.

31
00:02:29,170 --> 00:02:37,240
Node read is very good in enabling hardware devices, small and large APIs and all kinds of online services

32
00:02:37,240 --> 00:02:38,310
to work together.

33
00:02:39,430 --> 00:02:45,850
I found that it's a learning curve was relatively gentle, and once I got my head around how flows are

34
00:02:45,850 --> 00:02:53,850
assembled, configured and executed, I was able to quickly create prototypes because node red is lightweight.

35
00:02:53,860 --> 00:02:59,490
It runs perfectly well on any Raspberry Pi, even the original in this project.

36
00:02:59,500 --> 00:03:07,000
I used an old Raspberry Pi to that I had forgotten in one of my drawers and uncounted no issues at all

37
00:03:07,000 --> 00:03:10,990
installing the new Raspberry Pi and running node red on it.

38
00:03:11,980 --> 00:03:17,080
Notar it actually comes with the Raspberry Pi OS, so you don't even need to install it.

39
00:03:18,040 --> 00:03:23,410
By going through this project, you'll become skilled in using node rate in a variety of control projects.

40
00:03:23,920 --> 00:03:30,400
You learn how to use the Raspberry Pi as the brain of these projects and implement elaborate control

41
00:03:30,400 --> 00:03:31,000
flows.

42
00:03:31,970 --> 00:03:37,630
As I mentioned, Node Red is designed to be light on resources so that it can be used on low powered

43
00:03:37,630 --> 00:03:38,250
computers.

44
00:03:38,920 --> 00:03:41,660
It's also designed to work well with it.

45
00:03:41,920 --> 00:03:46,690
A transport system that like node red is very light on resources as well.

46
00:03:47,990 --> 00:03:55,970
First, have a look at mentality now, nudity is a way of messaging that allows clients to talk to each

47
00:03:55,970 --> 00:03:59,250
other using the public and subscribe model.

48
00:04:00,050 --> 00:04:01,250
The idea is simple.

49
00:04:01,670 --> 00:04:07,790
If a client wants to send data to another client, it will publish the data to a topic that is maintained

50
00:04:07,790 --> 00:04:09,500
by the broker.

51
00:04:10,520 --> 00:04:12,560
Think of a topic as an address.

52
00:04:13,010 --> 00:04:18,200
The client essentially will post or publish the data to this address.

53
00:04:18,980 --> 00:04:23,480
When another client wants to get the data, it will subscribe to the same topic.

54
00:04:24,380 --> 00:04:30,670
The mediated broker operates as the intermediary between publishing and subscribing clients.

55
00:04:31,490 --> 00:04:33,800
Think of it as the server in this set up.

56
00:04:34,670 --> 00:04:41,000
Many clients can subscribe or publish to the same topic, making it possible to design all kinds of

57
00:04:41,000 --> 00:04:42,380
topologies you can think of.

58
00:04:43,430 --> 00:04:49,930
The military Berocca sits in the middle of these communications when a client publishes data to a topic,

59
00:04:49,940 --> 00:04:57,440
the broker will immediately push it to any client that has subscribed to the same topic for the clients.

60
00:04:57,500 --> 00:05:04,190
This means total freedom from having to maintain information about who that data should go to as an

61
00:05:04,190 --> 00:05:10,070
extension for us, the terrorism control designers, we don't have to worry about programming complicated

62
00:05:10,070 --> 00:05:15,410
client relationships in the note read flow or the ability to sketch.

63
00:05:16,190 --> 00:05:23,030
All we need to do is to know which topic a client should publish or subscribe to and the broker will

64
00:05:23,040 --> 00:05:24,680
take care of the messaging.

65
00:05:25,400 --> 00:05:29,240
And Quiddity is a technology that is very useful to Iot projects.

66
00:05:29,240 --> 00:05:34,610
And by completing this Tyrolean project, you'll get hands on experience in using it.

67
00:05:35,390 --> 00:05:42,410
And with no trade, you have a complete solution for control and messaging between lightweight clients.

68
00:05:43,490 --> 00:05:47,320
Because and quiddity is lightweight, it works very well on low power.

69
00:05:47,360 --> 00:05:52,100
I do not like the UNO or the more powerful E.S.P 32.

70
00:05:53,480 --> 00:05:59,000
Although in this project, we are using the E.S.P study to mainly because I wanted a simple way to connect

71
00:05:59,000 --> 00:06:00,650
to my Wi-Fi network.

72
00:06:00,950 --> 00:06:06,590
You can use the exact same knowledge to implement encoded messaging in any arduino.

73
00:06:08,350 --> 00:06:12,880
A project gives us an opportunity to branch out and explore.

74
00:06:14,020 --> 00:06:20,890
While my primary learning objectives were not red, and could it be a more complete deliverable required

75
00:06:20,890 --> 00:06:22,600
adding additional components?

76
00:06:23,170 --> 00:06:29,410
I decided to use Google's drive and sheet APIs and if this and that as representative technologies of

77
00:06:29,410 --> 00:06:35,200
what is available to make us right now, both technologies are mature and very useful.

78
00:06:35,200 --> 00:06:40,480
No fluff there, of course, not yet made it easy to interface my float with both.

79
00:06:40,870 --> 00:06:46,570
Integrating these two in the terrorism controller project made the project itself much more complete,

80
00:06:46,810 --> 00:06:50,920
but also proved to me that there is massive potential for growth.

81
00:06:51,580 --> 00:06:57,250
I feel that I'm only confined by my imagination and time, for example.

82
00:06:58,650 --> 00:07:05,190
Think about what might be possible if I somehow integrate Tancer flow in my terrorism controller project.

83
00:07:05,820 --> 00:07:12,280
Tenzer Flow is a public service by Google for creating machine learning models on the cloud.

84
00:07:12,960 --> 00:07:19,560
Imagine using tenso offload technology to get artificial intelligence to learn using sensor data from

85
00:07:19,560 --> 00:07:24,990
your terrarium, which can then be used to automatically control it for optimal growth of your plant.

86
00:07:25,800 --> 00:07:32,220
Many of the elements of utilizing technologies such as tends to flow are same or very similar to using

87
00:07:32,220 --> 00:07:35,730
a regular Google API or if this and that.

88
00:07:37,610 --> 00:07:44,480
Last, what do you need to know before starting this project, so to complete this project, you do

89
00:07:44,480 --> 00:07:48,980
need to be comfortable with a few technologies and I have listed the minimum knowledge requirements

90
00:07:48,980 --> 00:07:52,040
in this slide if you are watching this video.

91
00:07:52,070 --> 00:07:54,680
Chances are that you are already insured.

92
00:07:54,680 --> 00:08:00,620
If you completed my two other courses, E.S.P 32 for busy people and Raspberry Pi full stack, then

93
00:08:00,620 --> 00:08:03,650
you are ready to start with this new project and challenge.

94
00:08:04,400 --> 00:08:07,940
But if not, I suggest that you do some work on these two courses.

95
00:08:07,940 --> 00:08:13,220
First, you don't need to complete them, but at least go through the first three or four sections to

96
00:08:13,220 --> 00:08:19,310
get up to speed with things such as installing the operating system on the Raspberry Pi, getting comfortable

97
00:08:19,310 --> 00:08:25,610
with the command line and understanding how to use the Arduino idea with the E.S.P 32.
