WEBVTT

1
00:00:00.000 --> 00:00:04.240
<v Speaker 1>All right, so today we are going all about Raspberry Pie.

2
00:00:04.639 --> 00:00:06.519
<v Speaker 1>You know, you want the quick rundown on what it is,

3
00:00:06.559 --> 00:00:08.199
<v Speaker 1>what you can do with it, and how do you

4
00:00:08.199 --> 00:00:11.759
<v Speaker 1>even get started, all without getting lost in the technical weeds.

5
00:00:12.560 --> 00:00:15.439
<v Speaker 1>And to make sure we're giving you the best info,

6
00:00:16.160 --> 00:00:19.359
<v Speaker 1>we're pulling straight from the official Raspberry Pie Beginner's Guide.

7
00:00:19.519 --> 00:00:21.960
<v Speaker 1>Oh wow, no better place to start.

8
00:00:22.079 --> 00:00:25.640
<v Speaker 2>Absolutely, it's a fantastic resource, especially for those just starting out.

9
00:00:25.839 --> 00:00:29.879
<v Speaker 1>Yeah, so first things first, what exactly is a Raspberry Pie.

10
00:00:30.760 --> 00:00:34.359
<v Speaker 1>It's described as a fully functional computer. Okay, but it's

11
00:00:34.399 --> 00:00:38.359
<v Speaker 1>so tiny. Yeah. Is it like squeezing an entire desktop

12
00:00:38.399 --> 00:00:39.439
<v Speaker 1>onto a circuit board.

13
00:00:39.600 --> 00:00:42.799
<v Speaker 2>That's a great way to visualize it. It's a complete computer,

14
00:00:42.960 --> 00:00:44.799
<v Speaker 2>shrunk down to the size of a credit card.

15
00:00:44.920 --> 00:00:45.240
<v Speaker 1>Wow.

16
00:00:45.880 --> 00:00:50.079
<v Speaker 2>But what's really remarkable is it's versatility. You're not limited

17
00:00:50.119 --> 00:00:54.039
<v Speaker 2>to just browsing the web or playing games. We're talking programming,

18
00:00:54.079 --> 00:00:58.679
<v Speaker 2>building gadgets, even controlling robots all from this little device.

19
00:00:59.079 --> 00:01:03.200
<v Speaker 1>Wow. Robots. Yeah, Okay, that definitely caught my attention. Yeah,

20
00:01:03.240 --> 00:01:05.879
<v Speaker 1>but I know there are different Raspberry Pie models out there.

21
00:01:06.040 --> 00:01:10.079
<v Speaker 1>Uh huh is the software compatible across all of them? Yeah,

22
00:01:10.200 --> 00:01:12.480
<v Speaker 1>that seems like it would be a game changer if

23
00:01:12.519 --> 00:01:12.760
<v Speaker 1>it is.

24
00:01:13.719 --> 00:01:17.359
<v Speaker 2>You're right that compatibility is crucial and the answer is yes.

25
00:01:18.120 --> 00:01:21.719
<v Speaker 2>The software is designed to work seamlessly across all models.

26
00:01:21.840 --> 00:01:23.120
<v Speaker 1>Wow, think about it.

27
00:01:23.200 --> 00:01:25.760
<v Speaker 2>Okay, you can start with a basic model and as

28
00:01:25.799 --> 00:01:30.159
<v Speaker 2>your skills and projects grow, right, seamlessly transition to a

29
00:01:30.200 --> 00:01:34.159
<v Speaker 2>more powerful one without having to relearn everything. Your code,

30
00:01:34.239 --> 00:01:36.400
<v Speaker 2>your projects, they all move with you.

31
00:01:36.599 --> 00:01:39.159
<v Speaker 1>That's impressive. It really makes it accessible for people to

32
00:01:39.239 --> 00:01:40.920
<v Speaker 1>jump in wherever they are in their tech journey.

33
00:01:41.000 --> 00:01:41.560
<v Speaker 2>Absolutely.

34
00:01:42.560 --> 00:01:45.599
<v Speaker 1>So, let's talk about a specific model, the Raspberry Pie

35
00:01:45.680 --> 00:01:49.680
<v Speaker 1>four Model B. The Guide calls it the latest and greatest.

36
00:01:50.120 --> 00:01:51.200
<v Speaker 1>What makes this one special?

37
00:01:51.280 --> 00:01:54.000
<v Speaker 2>Well, the Raspberry Pie four Model B is a real powerhouse.

38
00:01:54.159 --> 00:01:54.480
<v Speaker 1>Okay.

39
00:01:54.719 --> 00:01:57.040
<v Speaker 2>One of the key features that sets it apart is

40
00:01:57.200 --> 00:02:01.040
<v Speaker 2>the system on a chip right or so see for sure? Okay,

41
00:02:01.040 --> 00:02:02.719
<v Speaker 2>basically the brain of the device.

42
00:02:03.680 --> 00:02:07.920
<v Speaker 1>And this model has a significantly upgraded SOCI compared to

43
00:02:07.959 --> 00:02:08.840
<v Speaker 1>its predecessors.

44
00:02:08.919 --> 00:02:11.960
<v Speaker 2>Okay, so a more powerful brain for our little computer.

45
00:02:12.759 --> 00:02:15.000
<v Speaker 2>What does that translate to in terms of what we

46
00:02:15.039 --> 00:02:16.280
<v Speaker 2>can actually do with it?

47
00:02:16.280 --> 00:02:21.400
<v Speaker 1>It means faster processing speeds okay, smoother multitasking, and the

48
00:02:21.439 --> 00:02:25.439
<v Speaker 1>ability to handle more demanding tasks. Oh wow, think high

49
00:02:25.479 --> 00:02:31.400
<v Speaker 1>definition video, playback, running, more complex software, even light gaming.

50
00:02:31.919 --> 00:02:34.360
<v Speaker 1>It's all within reach with the piform model B.

51
00:02:34.560 --> 00:02:37.400
<v Speaker 2>So it's not just a toy. It's a legitimate tool

52
00:02:38.000 --> 00:02:39.639
<v Speaker 2>for learning and creating.

53
00:02:39.800 --> 00:02:40.400
<v Speaker 1>Absolutely.

54
00:02:40.439 --> 00:02:42.800
<v Speaker 2>I'm seeing a diagram of the pieform model be in

55
00:02:42.919 --> 00:02:45.120
<v Speaker 2>the guide. Okay, And there are a lot of ports

56
00:02:45.520 --> 00:02:48.879
<v Speaker 2>US B, Ethernet, even an audio video jack. It's like

57
00:02:49.039 --> 00:02:52.599
<v Speaker 2>they packed every possible connection into this tiny device.

58
00:02:52.840 --> 00:02:55.719
<v Speaker 1>It's amazing, isn't it. Yeah, And each port opens up

59
00:02:55.719 --> 00:02:59.080
<v Speaker 1>a world of possibility. For example, the USB ports let

60
00:02:59.120 --> 00:03:04.080
<v Speaker 1>you connect external hard drives, keyboards, mice, webcams, and more.

61
00:03:05.080 --> 00:03:08.639
<v Speaker 2>The Ethernet port provides a stable and fast Internet connection

62
00:03:08.840 --> 00:03:11.639
<v Speaker 2>right crucial for certain projects and applications.

63
00:03:11.800 --> 00:03:14.199
<v Speaker 1>And that audio video jack is at just for headphones

64
00:03:14.199 --> 00:03:14.800
<v Speaker 1>and speakers.

65
00:03:15.360 --> 00:03:18.360
<v Speaker 2>It is, but there's a hidden feature the guide points out.

66
00:03:18.800 --> 00:03:21.800
<v Speaker 2>You can actually use it to carry a video signal. Really,

67
00:03:21.840 --> 00:03:24.759
<v Speaker 2>so if you have an older TV or projector that

68
00:03:24.800 --> 00:03:28.039
<v Speaker 2>doesn't have an HDMI port, you can still connect your

69
00:03:28.120 --> 00:03:30.199
<v Speaker 2>Raspberry Pie using an adapter cable.

70
00:03:30.400 --> 00:03:30.879
<v Speaker 1>Oh wow.

71
00:03:31.039 --> 00:03:33.719
<v Speaker 2>It's all about making the Pie accessible no matter what

72
00:03:33.800 --> 00:03:34.639
<v Speaker 2>equipment you have.

73
00:03:34.879 --> 00:03:37.240
<v Speaker 1>That's a great example of how they've really thought about

74
00:03:37.280 --> 00:03:41.439
<v Speaker 1>making this technology adaptable. Yeah. Okay, so we have our

75
00:03:41.479 --> 00:03:45.400
<v Speaker 1>Pie four Model B. We're excited about the possibilities, but

76
00:03:45.479 --> 00:03:47.360
<v Speaker 1>what else do we need to actually get it up

77
00:03:47.360 --> 00:03:51.919
<v Speaker 1>and running. I'm picturing a tangled mess of wires and components.

78
00:03:52.159 --> 00:03:54.400
<v Speaker 2>Don't worry, it's not as complicated as it might seem

79
00:03:54.400 --> 00:03:59.159
<v Speaker 2>at first glance. The essential peripherals are surprisingly straightforward. You'll

80
00:03:59.199 --> 00:04:01.879
<v Speaker 2>need a micro d card which acts as the pie

81
00:04:01.919 --> 00:04:04.599
<v Speaker 2>is hard drive, and it's best if it comes pre

82
00:04:04.719 --> 00:04:07.680
<v Speaker 2>loaded with NOOBS.

83
00:04:07.599 --> 00:04:09.240
<v Speaker 1>That sense for new out of doc software.

84
00:04:09.400 --> 00:04:13.199
<v Speaker 2>So NOBS is basically like the installer for the Raspberry

85
00:04:13.199 --> 00:04:15.120
<v Speaker 2>Pie's operating system exactly.

86
00:04:15.199 --> 00:04:17.920
<v Speaker 1>Okay, you make setting up the operating system a breeze.

87
00:04:18.360 --> 00:04:21.040
<v Speaker 1>Then you'll need a USB keyboard and mouse, and a

88
00:04:21.120 --> 00:04:24.120
<v Speaker 1>micro Hdmi cable to connect to a display.

89
00:04:24.240 --> 00:04:26.800
<v Speaker 2>What if you don't have a modern monitor with an

90
00:04:26.920 --> 00:04:30.000
<v Speaker 2>HDMI port, Can you still use the Raspberry Pie.

91
00:04:30.160 --> 00:04:33.560
<v Speaker 1>Absolutely. You can find adapter cables that con vote the

92
00:04:33.639 --> 00:04:38.600
<v Speaker 1>micro Hdmi port to older formats like DVII DisplayPort or

93
00:04:38.639 --> 00:04:42.079
<v Speaker 1>even VGA, so you're not limited by your display options,

94
00:04:42.560 --> 00:04:44.240
<v Speaker 1>which is a relief for those of us who might

95
00:04:44.279 --> 00:04:45.879
<v Speaker 1>not have the newest tech line around.

96
00:04:46.040 --> 00:04:48.759
<v Speaker 2>All Right, So, We've got our pie, our peripherals. Now

97
00:04:48.800 --> 00:04:54.040
<v Speaker 2>we need software. The guide mentions something called Rasbian. What

98
00:04:54.199 --> 00:04:54.480
<v Speaker 2>is that?

99
00:04:54.920 --> 00:04:58.600
<v Speaker 1>Rasbian is the official operating system for Raspberry Pie okay,

100
00:04:58.680 --> 00:05:01.839
<v Speaker 1>and it's designed to be user friendly even if you're

101
00:05:01.839 --> 00:05:04.800
<v Speaker 1>new to this type of technology. It has a familiar

102
00:05:05.360 --> 00:05:06.639
<v Speaker 1>Windows like interface.

103
00:05:06.800 --> 00:05:09.040
<v Speaker 2>Oh okay, so you'll find your way around pretty quickly.

104
00:05:09.240 --> 00:05:12.240
<v Speaker 1>So it's like the Windows of the Raspberry Pie world exactly.

105
00:05:12.360 --> 00:05:14.399
<v Speaker 1>I should make it easier to adjust.

106
00:05:14.199 --> 00:05:17.480
<v Speaker 2>And to make things even easier, Rasbian includes a helpful

107
00:05:17.560 --> 00:05:18.360
<v Speaker 2>welcome wizard.

108
00:05:18.600 --> 00:05:18.959
<v Speaker 1>Okay.

109
00:05:19.040 --> 00:05:22.680
<v Speaker 2>It guides you through those initial setup steps like selecting

110
00:05:22.680 --> 00:05:26.079
<v Speaker 2>your language, country and time zone, setting up your Wi

111
00:05:26.120 --> 00:05:30.000
<v Speaker 2>Fi connection, and choosing a strong password for security.

112
00:05:30.160 --> 00:05:33.120
<v Speaker 1>A strong password from the get go right. Security is

113
00:05:33.160 --> 00:05:35.959
<v Speaker 1>definitely important, especially when you're connecting to the internet. Absolutely,

114
00:05:36.480 --> 00:05:39.720
<v Speaker 1>so once we're past the wizard, Yeah, what's the rasbee

115
00:05:39.759 --> 00:05:40.680
<v Speaker 1>and desktop like?

116
00:05:41.199 --> 00:05:44.839
<v Speaker 2>You'll find it surprisingly familiar okay. It has the classic

117
00:05:45.240 --> 00:05:49.839
<v Speaker 2>taskbar with icons for things like network, volume, and clock,

118
00:05:50.439 --> 00:05:53.519
<v Speaker 2>along with the menu where you can find all your programs.

119
00:05:54.079 --> 00:05:58.360
<v Speaker 2>These are organized into categories like programming and games to

120
00:05:58.439 --> 00:06:00.399
<v Speaker 2>help you locate what you need quickly.

121
00:06:00.639 --> 00:06:03.199
<v Speaker 1>It's like they've taken the best aspects of a traditional

122
00:06:03.199 --> 00:06:05.680
<v Speaker 1>desktop and adapted them for the Raspberry Pie. And speaking

123
00:06:05.720 --> 00:06:10.439
<v Speaker 1>of programs, the guide mentions some pre installed software. One

124
00:06:10.439 --> 00:06:13.720
<v Speaker 1>that caught my eye was Chromium. Okay, is that a

125
00:06:13.720 --> 00:06:14.279
<v Speaker 1>web browser?

126
00:06:14.560 --> 00:06:14.959
<v Speaker 2>You got it?

127
00:06:15.040 --> 00:06:15.240
<v Speaker 1>Yeah.

128
00:06:15.319 --> 00:06:18.920
<v Speaker 2>Chromium is based on Google Chrome, so if you're used

129
00:06:18.920 --> 00:06:21.519
<v Speaker 2>to browsing the web on a computer, you'll feel right

130
00:06:21.560 --> 00:06:26.000
<v Speaker 2>at home. You can visit websites, watch videos, play online games,

131
00:06:26.000 --> 00:06:27.639
<v Speaker 2>and even connect with others online.

132
00:06:27.839 --> 00:06:30.000
<v Speaker 1>So all the essential web browsing features are there.

133
00:06:30.240 --> 00:06:30.600
<v Speaker 2>Yeah.

134
00:06:30.680 --> 00:06:34.839
<v Speaker 1>The guide also mentions Libra Office Suite. Okay, what's that

135
00:06:34.879 --> 00:06:35.319
<v Speaker 1>all about?

136
00:06:35.639 --> 00:06:40.160
<v Speaker 2>Liber Office is a fantastic free alternative to Microsoft Office.

137
00:06:40.240 --> 00:06:40.680
<v Speaker 1>Oh wow.

138
00:06:41.079 --> 00:06:46.759
<v Speaker 2>It comes with applications for word processing, spreadsheets, presentations, and

139
00:06:46.839 --> 00:06:47.839
<v Speaker 2>even databases.

140
00:06:48.079 --> 00:06:48.399
<v Speaker 1>Wow.

141
00:06:48.600 --> 00:06:52.240
<v Speaker 2>It's a full featured office suite that lets you create, edit,

142
00:06:52.319 --> 00:06:54.000
<v Speaker 2>and manage all sorts of documents.

143
00:06:54.000 --> 00:06:57.399
<v Speaker 1>Wow. That's incredibly valuable. Having a full office suite built

144
00:06:57.399 --> 00:07:00.800
<v Speaker 1>in opens up a lot of possibilities as especially for

145
00:07:00.879 --> 00:07:04.040
<v Speaker 1>learning and productivity. Are there any tips in the guide

146
00:07:04.040 --> 00:07:05.879
<v Speaker 1>for using these programs effectively?

147
00:07:06.160 --> 00:07:09.839
<v Speaker 2>The guide emphasizes the importance of saving your work regularly,

148
00:07:10.120 --> 00:07:14.279
<v Speaker 2>especially in Chromium, where accidentally closing a window can mean

149
00:07:14.399 --> 00:07:19.399
<v Speaker 2>losing everything, and with liber office, getting into the habit

150
00:07:19.439 --> 00:07:22.839
<v Speaker 2>of saving frequently is essential. It's those little things that

151
00:07:22.839 --> 00:07:24.600
<v Speaker 2>can save you a lot of headaches down the road.

152
00:07:25.519 --> 00:07:29.560
<v Speaker 1>Solid advice. Yeah, and speaking of getting things done, the

153
00:07:29.639 --> 00:07:34.399
<v Speaker 1>guide mentions programming languages like Scratch three and Python. M hmm,

154
00:07:34.959 --> 00:07:36.800
<v Speaker 1>that's where things get really interesting for me.

155
00:07:36.879 --> 00:07:39.800
<v Speaker 2>All right, let's dive into those. Scratch three is a

156
00:07:39.920 --> 00:07:43.839
<v Speaker 2>visual programming language that's perfect for beginners. Instead of typing

157
00:07:43.879 --> 00:07:47.639
<v Speaker 2>out lines of code, you drag and drop colorful blocks.

158
00:07:48.079 --> 00:07:51.399
<v Speaker 2>It's a really intuitive way to learn the fundamentals of programming.

159
00:07:51.560 --> 00:07:54.120
<v Speaker 1>So Scratch three is all about making coding more visual

160
00:07:54.160 --> 00:07:59.040
<v Speaker 1>and accessible. Yeah, but wait, wouldn't using Python for simple

161
00:07:59.160 --> 00:08:03.680
<v Speaker 1>LED control be overkill? Could Scratch handle that too, even

162
00:08:03.720 --> 00:08:04.879
<v Speaker 1>with its visual approach.

163
00:08:05.199 --> 00:08:07.160
<v Speaker 2>That's a great question, and it highlights one of the

164
00:08:07.199 --> 00:08:11.120
<v Speaker 2>strengths of Scratch three. While it's designed for beginners, right,

165
00:08:11.199 --> 00:08:13.079
<v Speaker 2>it's surprisingly powerful.

166
00:08:13.240 --> 00:08:13.920
<v Speaker 1>Oh wow, you.

167
00:08:13.879 --> 00:08:17.879
<v Speaker 2>Can definitely control LEDs and other hardware components using Scratch.

168
00:08:18.120 --> 00:08:21.279
<v Speaker 1>That's impressive. I'm starting to see how Scratch three could

169
00:08:21.279 --> 00:08:24.199
<v Speaker 1>be a great entry point for anyone wanting to explore

170
00:08:24.240 --> 00:08:29.199
<v Speaker 1>both software and hardware on the Raspberry Pie. What about Python?

171
00:08:29.360 --> 00:08:30.839
<v Speaker 1>What makes it a good choice for the Pie.

172
00:08:31.800 --> 00:08:35.639
<v Speaker 2>Python is a more traditional text based language, but it's

173
00:08:35.720 --> 00:08:39.639
<v Speaker 2>known for its readability and relatively simple syntax, and it's

174
00:08:39.679 --> 00:08:44.600
<v Speaker 2>incredibly versatile, used in everything from web development to data

175
00:08:44.639 --> 00:08:48.480
<v Speaker 2>science to artificial intelligence. And it's a popular language for

176
00:08:48.480 --> 00:08:51.960
<v Speaker 2>the Raspberry Pie because it's relatively easy to learn, even

177
00:08:52.000 --> 00:08:52.679
<v Speaker 2>for beginners.

178
00:08:52.759 --> 00:08:55.480
<v Speaker 1>So even though it's the text based language, yeah, it's

179
00:08:55.519 --> 00:08:57.679
<v Speaker 1>still accessible to people who are needed coding.

180
00:08:57.799 --> 00:09:01.279
<v Speaker 2>Absolutely. Python syntax is designed to be clear and concise,

181
00:09:01.879 --> 00:09:04.960
<v Speaker 2>which makes it easier to read and understand, and there

182
00:09:05.000 --> 00:09:07.879
<v Speaker 2>are tons of resources available online and in the guide

183
00:09:07.919 --> 00:09:08.840
<v Speaker 2>to help you get started.

184
00:09:09.120 --> 00:09:13.480
<v Speaker 1>That's encouraging. The guide mentions that Python relies heavily on

185
00:09:13.759 --> 00:09:17.720
<v Speaker 1>indentation to structure code. Yes, can you explain what that means?

186
00:09:18.080 --> 00:09:20.639
<v Speaker 1>I'm not familiar with hout. Indentation plays a role in

187
00:09:20.679 --> 00:09:22.279
<v Speaker 1>programming in Python.

188
00:09:22.519 --> 00:09:25.639
<v Speaker 2>Indentation is not just about making your code look neat

189
00:09:25.720 --> 00:09:29.960
<v Speaker 2>and tidy. It's actually a crucial part of the language's syntax.

190
00:09:30.840 --> 00:09:34.039
<v Speaker 2>The way you indent your code determines how the computer

191
00:09:34.279 --> 00:09:35.960
<v Speaker 2>interprets and executes your.

192
00:09:35.799 --> 00:09:40.840
<v Speaker 1>Instructions, So the spacing actually affects how the code runs exactly.

193
00:09:41.039 --> 00:09:43.120
<v Speaker 1>That's interesting can you give me an example.

194
00:09:43.240 --> 00:09:45.679
<v Speaker 2>Let's say you want to create a loop that prints

195
00:09:45.960 --> 00:09:47.600
<v Speaker 2>hello World five times?

196
00:09:47.840 --> 00:09:48.080
<v Speaker 1>Okay.

197
00:09:48.279 --> 00:09:50.759
<v Speaker 2>In Python, you would use a four loop, and the

198
00:09:50.759 --> 00:09:52.759
<v Speaker 2>lines of code that are part of that loop need

199
00:09:52.799 --> 00:09:53.480
<v Speaker 2>to be indented.

200
00:09:53.679 --> 00:09:54.320
<v Speaker 1>Oh. I see.

201
00:09:54.360 --> 00:09:57.480
<v Speaker 2>If they're not indented correctly, the code won't run as

202
00:09:57.519 --> 00:09:58.120
<v Speaker 2>you intend it.

203
00:09:58.159 --> 00:10:00.799
<v Speaker 1>So if the indentation is incorrect, code won't run as

204
00:10:00.799 --> 00:10:01.840
<v Speaker 1>intended exactly.

205
00:10:02.000 --> 00:10:04.840
<v Speaker 2>Even a single misplaced space can comes errors.

206
00:10:05.159 --> 00:10:05.600
<v Speaker 1>Wow.

207
00:10:05.879 --> 00:10:08.679
<v Speaker 2>It's one of the things that beginners often stumble on, right,

208
00:10:08.879 --> 00:10:11.639
<v Speaker 2>but once you get used to it, it becomes second nature.

209
00:10:12.000 --> 00:10:17.159
<v Speaker 1>I'm starting to see how Python encourages precise and structured coding.

210
00:10:18.399 --> 00:10:21.759
<v Speaker 1>Does the guide include any examples of Python code in action?

211
00:10:22.360 --> 00:10:24.919
<v Speaker 1>Of course, I'd love to see how it all comes together.

212
00:10:25.039 --> 00:10:29.120
<v Speaker 2>The guide starts with the classic hello world program in Python.

213
00:10:29.200 --> 00:10:32.159
<v Speaker 2>It's a simple program that demonstrates the basic syntax of

214
00:10:32.200 --> 00:10:35.960
<v Speaker 2>the language. To print Hello World on the screen, you

215
00:10:36.000 --> 00:10:39.320
<v Speaker 2>would use the following line of code print hello world.

216
00:10:39.879 --> 00:10:44.240
<v Speaker 1>Okay, I see the words hello world enclosed in parentheses.

217
00:10:44.759 --> 00:10:46.399
<v Speaker 1>What's the significance of the word print?

218
00:10:46.679 --> 00:10:51.120
<v Speaker 2>Print is a function in Python? Okay, you're essentially telling

219
00:10:51.159 --> 00:10:54.080
<v Speaker 2>the computer, Hey, I want you to display this text

220
00:10:54.080 --> 00:10:56.320
<v Speaker 2>on the screen, and the text that you want to

221
00:10:56.360 --> 00:10:58.240
<v Speaker 2>display goes inside the parentheses.

222
00:10:58.279 --> 00:11:00.799
<v Speaker 1>So it's like giving the computer a command exact and

223
00:11:00.840 --> 00:11:03.639
<v Speaker 1>the text within the parentheses is the specific instruction.

224
00:11:04.000 --> 00:11:06.320
<v Speaker 2>And this is just a simple example, Okay. The guide

225
00:11:06.320 --> 00:11:09.679
<v Speaker 2>goes on to explore more complex projects, like creating a

226
00:11:09.720 --> 00:11:12.360
<v Speaker 2>snowflake design using a tool called Turtle.

227
00:11:12.519 --> 00:11:13.919
<v Speaker 1>Turtle, what's that all about?

228
00:11:14.120 --> 00:11:17.039
<v Speaker 2>Turtle is a fun and visual way to learn about

229
00:11:17.080 --> 00:11:20.960
<v Speaker 2>geometry and programming concepts. It's like having a digital pen

230
00:11:21.039 --> 00:11:24.480
<v Speaker 2>that you control with code. You can tell the turtle

231
00:11:24.559 --> 00:11:28.960
<v Speaker 2>to move forward, turn, change colors, and draw shapes.

232
00:11:29.279 --> 00:11:32.519
<v Speaker 1>So you're essentially giving the turtle instructions to create a

233
00:11:32.600 --> 00:11:33.440
<v Speaker 1>drawing on the screen.

234
00:11:33.559 --> 00:11:36.360
<v Speaker 2>Got it, And by combining different commands you can create

235
00:11:36.399 --> 00:11:40.480
<v Speaker 2>intricate patterns and designs like the snurflake example and the

236
00:11:40.519 --> 00:11:43.799
<v Speaker 2>guide it's a great way to explore the creative side

237
00:11:44.159 --> 00:11:45.200
<v Speaker 2>of programming.

238
00:11:45.320 --> 00:11:47.360
<v Speaker 1>I'm definitely gonna check out that project. Yeah, So it's

239
00:11:47.399 --> 00:11:50.279
<v Speaker 1>like a fun and engaging way to learn about both

240
00:11:50.279 --> 00:11:51.639
<v Speaker 1>coding and geometry.

241
00:11:51.720 --> 00:11:52.279
<v Speaker 2>Absolutely.

242
00:11:52.679 --> 00:11:55.039
<v Speaker 1>Are there any other projects featured in the guide that

243
00:11:55.080 --> 00:11:55.840
<v Speaker 1>you'd recommend?

244
00:11:56.039 --> 00:12:00.720
<v Speaker 2>Absolutely? The guy includes a project using pigame, a Python

245
00:12:00.840 --> 00:12:03.960
<v Speaker 2>library for game development. You can create a spot the

246
00:12:04.000 --> 00:12:07.960
<v Speaker 2>Difference game where two images are displayed side by side

247
00:12:08.279 --> 00:12:11.840
<v Speaker 2>and the player needs to find the subtle differences between them.

248
00:12:12.120 --> 00:12:14.600
<v Speaker 1>That sounds like a fun challenge. Yeah, and it shows

249
00:12:14.600 --> 00:12:17.759
<v Speaker 1>how Python can be used for more than just simple programs.

250
00:12:18.279 --> 00:12:22.720
<v Speaker 1>You can actually create interactive games exactly. And for those

251
00:12:22.759 --> 00:12:27.679
<v Speaker 1>who enjoy text based adventures, there's a project that guides

252
00:12:27.720 --> 00:12:31.840
<v Speaker 1>you through creating an RPG Mays game. Oh wow, an

253
00:12:31.960 --> 00:12:34.120
<v Speaker 1>RPG Mays game. That's awesome.

254
00:12:34.519 --> 00:12:37.039
<v Speaker 2>They can't wait to dive into those projects. It's amazing

255
00:12:37.080 --> 00:12:39.879
<v Speaker 2>how the Raspberry Pie opens up so many possibilities for

256
00:12:40.039 --> 00:12:43.200
<v Speaker 2>learning and creating. It is whether you're interested in visual

257
00:12:43.240 --> 00:12:47.440
<v Speaker 2>programming with a Scratch three or the more traditional text

258
00:12:47.440 --> 00:12:49.240
<v Speaker 2>based approach a Python.

259
00:12:49.360 --> 00:12:53.320
<v Speaker 1>Absolutely, the Raspberry Pie is a fantastic platform for exploring

260
00:12:53.360 --> 00:12:55.960
<v Speaker 1>the world of programming and hardware. And we've only just

261
00:12:56.000 --> 00:12:58.840
<v Speaker 1>scratched the surface right. In part two of this deep dive,

262
00:12:58.919 --> 00:13:01.960
<v Speaker 1>we'll move beyond this software and delve into the exciting

263
00:13:02.000 --> 00:13:04.559
<v Speaker 1>realm of physical computing, where you'll learn how to bring

264
00:13:04.600 --> 00:13:07.279
<v Speaker 1>real world hardware to life. Oh wow, So get ready

265
00:13:07.279 --> 00:13:10.480
<v Speaker 1>to turn those LEDs on and off, control motors, and

266
00:13:10.519 --> 00:13:12.039
<v Speaker 1>maybe even build your own robot.

267
00:13:12.159 --> 00:13:16.120
<v Speaker 2>That's amazing. Yeah, wait, welcome back. I'm excited to delve

268
00:13:16.159 --> 00:13:18.639
<v Speaker 2>deeper into programming with you today. Last time, we covered

269
00:13:18.679 --> 00:13:21.440
<v Speaker 2>the basics of the Raspberry Pie, and you even asked

270
00:13:21.440 --> 00:13:24.679
<v Speaker 2>some insightful questions about the different programming language is available.

271
00:13:25.039 --> 00:13:29.000
<v Speaker 2>Remember Scratch three. Yes, it's a visual programming language that's

272
00:13:29.000 --> 00:13:31.879
<v Speaker 2>perfect for beginners, but it's capable of much more than

273
00:13:31.919 --> 00:13:32.559
<v Speaker 2>meets the eye.

274
00:13:32.759 --> 00:13:36.399
<v Speaker 1>Yes, Scratch three definitely piques my interest. The idea of

275
00:13:36.480 --> 00:13:39.399
<v Speaker 1>dragging and dropping blocks of code instead of typing everything

276
00:13:39.440 --> 00:13:42.480
<v Speaker 1>out seems so much more approachable, especially for someone like

277
00:13:42.519 --> 00:13:46.039
<v Speaker 1>me who's just starting out with programming. But can you

278
00:13:46.080 --> 00:13:50.159
<v Speaker 1>really create anything substantial with it? The guide calls it

279
00:13:50.639 --> 00:13:53.799
<v Speaker 1>a powerful and fully functional programming environment.

280
00:13:54.080 --> 00:13:54.480
<v Speaker 2>M hmm.

281
00:13:54.639 --> 00:13:56.080
<v Speaker 1>What does that mean? In practice?

282
00:13:56.480 --> 00:13:59.279
<v Speaker 2>It means you're not limited to just simple tasks. While

283
00:13:59.279 --> 00:14:04.159
<v Speaker 2>Scratch three is incredibly user friendly, it's also surprisingly robust.

284
00:14:04.279 --> 00:14:08.840
<v Speaker 2>Oh okay, you can create interactive stories, wow, animations, games,

285
00:14:09.200 --> 00:14:12.720
<v Speaker 2>and even control hardware components like LEDs and motors.

286
00:14:12.840 --> 00:14:15.639
<v Speaker 1>Okay, that's impressive. I'm starting to see how Scratch three

287
00:14:15.679 --> 00:14:18.679
<v Speaker 1>could be a gateway to all sorts of creative projects. Yeah.

288
00:14:18.840 --> 00:14:22.759
<v Speaker 1>The guide mentions a classic programming challenge creating a Hello

289
00:14:22.840 --> 00:14:25.960
<v Speaker 1>World program. Can we walk through that in Scratch three?

290
00:14:26.360 --> 00:14:27.559
<v Speaker 1>I think it'd be helpful to see how it all

291
00:14:27.639 --> 00:14:28.120
<v Speaker 1>comes together.

292
00:14:28.240 --> 00:14:31.879
<v Speaker 2>Absolutely. The Hello World program is a write of passage

293
00:14:31.919 --> 00:14:36.639
<v Speaker 2>for any programmer in Scratch three. It's incredibly simple. You

294
00:14:36.720 --> 00:14:41.799
<v Speaker 2>start with a when green flag clicked block. This block

295
00:14:42.120 --> 00:14:45.039
<v Speaker 2>acts as the trigger for your program. When you click

296
00:14:45.080 --> 00:14:48.559
<v Speaker 2>the green flag in the Scratch interface, the code attached

297
00:14:48.600 --> 00:14:50.720
<v Speaker 2>to this block will start running, so it's.

298
00:14:50.559 --> 00:14:52.799
<v Speaker 1>Like setting the stage for the action to happen. What

299
00:14:52.879 --> 00:14:53.440
<v Speaker 1>comes next.

300
00:14:53.679 --> 00:14:57.519
<v Speaker 2>Then you attach a say block from the looks category.

301
00:14:57.559 --> 00:15:01.080
<v Speaker 2>This block allows your character called a sprite in Scratch

302
00:15:01.720 --> 00:15:04.759
<v Speaker 2>to say something on the screen. You can even customize

303
00:15:04.799 --> 00:15:07.200
<v Speaker 2>what the sprite says and how long the message appears.

304
00:15:07.320 --> 00:15:10.399
<v Speaker 1>So to create the Hello World program, we would simply

305
00:15:10.440 --> 00:15:13.000
<v Speaker 1>tell the sprite to say Hello World when the green

306
00:15:13.039 --> 00:15:13.879
<v Speaker 1>flag is clicked.

307
00:15:13.960 --> 00:15:18.000
<v Speaker 2>Exactly. It's that straightforward and Scratch three. Wow, you're essentially

308
00:15:18.039 --> 00:15:22.679
<v Speaker 2>telling the computer when this happens, clicking the green flag. Yeah,

309
00:15:22.759 --> 00:15:25.840
<v Speaker 2>do this make the sprite say Hello World?

310
00:15:26.159 --> 00:15:29.519
<v Speaker 1>Wow? That's really cool. I'm already starting to see how

311
00:15:29.519 --> 00:15:30.960
<v Speaker 1>intuitive Scratch three is.

312
00:15:31.240 --> 00:15:31.559
<v Speaker 2>Yeah.

313
00:15:31.639 --> 00:15:33.919
<v Speaker 1>The guide goes on to describe a project where you

314
00:15:33.919 --> 00:15:37.240
<v Speaker 1>control a sprite using the keyboard arrow keys. I'd love

315
00:15:37.240 --> 00:15:38.039
<v Speaker 1>to hear more about that.

316
00:15:38.279 --> 00:15:41.360
<v Speaker 2>It's a fun project that introduces the concept of user input.

317
00:15:41.559 --> 00:15:41.919
<v Speaker 1>Okay.

318
00:15:42.120 --> 00:15:46.480
<v Speaker 2>You use when key pressed blocks to trigger different actions.

319
00:15:46.600 --> 00:15:49.559
<v Speaker 2>For example, you could attach a move ten steps block

320
00:15:49.960 --> 00:15:52.159
<v Speaker 2>to a when wright arrow key press block.

321
00:15:52.360 --> 00:15:54.360
<v Speaker 1>So when you press the right arrow key, the sprite

322
00:15:54.360 --> 00:15:55.799
<v Speaker 1>moves ten steps to the right.

323
00:15:55.960 --> 00:15:57.720
<v Speaker 2>You got it, And you can repeat this for each

324
00:15:57.919 --> 00:16:00.600
<v Speaker 2>arrow key, allowing you to control the sprite movement in

325
00:16:00.639 --> 00:16:04.279
<v Speaker 2>all directions. Okay, it's like creating a simple video game character.

326
00:16:04.519 --> 00:16:06.559
<v Speaker 1>That's a great way to visualize it, and it makes

327
00:16:06.600 --> 00:16:08.519
<v Speaker 1>the connection between the code and the action on the

328
00:16:08.519 --> 00:16:12.320
<v Speaker 1>screen so clear. What other types of interactive projects can

329
00:16:12.360 --> 00:16:13.639
<v Speaker 1>you create with Scratch three?

330
00:16:14.159 --> 00:16:17.519
<v Speaker 2>The guide highlights are really intriguing project called the sense

331
00:16:17.799 --> 00:16:21.720
<v Speaker 2>HHT Sparkler. Remember the sense hgat we talked about earlier.

332
00:16:22.000 --> 00:16:23.960
<v Speaker 1>Yes, yes, it's the one that can sense things like

333
00:16:23.960 --> 00:16:25.000
<v Speaker 1>temperature pressure in motion.

334
00:16:25.120 --> 00:16:28.919
<v Speaker 2>Right exactly. In the sense h Sparkler project, you program

335
00:16:29.039 --> 00:16:33.200
<v Speaker 2>the sense his led matrix to display a glowing Sparkler

336
00:16:33.399 --> 00:16:37.480
<v Speaker 2>like animation. But here's the twist. The speed of the

337
00:16:37.519 --> 00:16:41.000
<v Speaker 2>animation changes based on the temperature reading from the sense hat.

338
00:16:41.440 --> 00:16:44.279
<v Speaker 1>So is it the temperture changes the sparkler animation speeds

339
00:16:44.360 --> 00:16:46.519
<v Speaker 1>up or slows down precisely. Yeah.

340
00:16:46.600 --> 00:16:50.279
<v Speaker 2>It's a fantastic way to visualize real world data in

341
00:16:50.320 --> 00:16:53.600
<v Speaker 2>a fun and interactive way. It's a great example of

342
00:16:53.600 --> 00:16:56.360
<v Speaker 2>how the Raspberry Pie can bridge the gap between the

343
00:16:56.399 --> 00:16:58.360
<v Speaker 2>physical world and the digital world.

344
00:16:58.519 --> 00:17:00.279
<v Speaker 1>I'm starting to see how the Raspberry Pie can be

345
00:17:00.279 --> 00:17:04.079
<v Speaker 1>a powerful tool for learning about not only programming, but

346
00:17:04.119 --> 00:17:05.960
<v Speaker 1>also electronics and even physics.

347
00:17:06.079 --> 00:17:06.359
<v Speaker 2>Right.

348
00:17:06.519 --> 00:17:08.519
<v Speaker 1>It's really insparting to think about the different types of

349
00:17:08.519 --> 00:17:11.559
<v Speaker 1>projects you can create. Yeah, okay, I'm ready to switch

350
00:17:11.559 --> 00:17:14.799
<v Speaker 1>gears and learn more about Python. You mentioned earlier that

351
00:17:14.799 --> 00:17:17.880
<v Speaker 1>it's more traditional text based language, but it's also known

352
00:17:17.880 --> 00:17:20.920
<v Speaker 1>for its readability. What makes Python a good choice for

353
00:17:20.960 --> 00:17:22.440
<v Speaker 1>programming on the Raspberry Pie.

354
00:17:22.559 --> 00:17:25.200
<v Speaker 2>Python is incredibly versatile. You can use it for a

355
00:17:25.240 --> 00:17:30.160
<v Speaker 2>wide range of tasks from web development to data analysis

356
00:17:30.279 --> 00:17:31.839
<v Speaker 2>to artificial intelligence.

357
00:17:32.000 --> 00:17:32.440
<v Speaker 1>Wow.

358
00:17:32.480 --> 00:17:35.359
<v Speaker 2>And it's a popular language for the Raspberry Pie because

359
00:17:35.400 --> 00:17:38.440
<v Speaker 2>it's relatively easy to learn, even for beginners.

360
00:17:38.519 --> 00:17:40.960
<v Speaker 1>So even though it's a text based language, it's still

361
00:17:41.000 --> 00:17:42.759
<v Speaker 1>accessible to people who are new to coding.

362
00:17:42.880 --> 00:17:46.759
<v Speaker 2>Absolutely, Python syntax is designed to be clear and concise,

363
00:17:47.119 --> 00:17:50.160
<v Speaker 2>which makes it easier to read and understand. And there

364
00:17:50.160 --> 00:17:53.079
<v Speaker 2>are tons of resources available online and in the guide

365
00:17:53.119 --> 00:17:54.160
<v Speaker 2>to help you get started.

366
00:17:54.279 --> 00:17:57.880
<v Speaker 1>That's encouraging. The guide mentions that Python relies heavily on

367
00:17:58.000 --> 00:18:01.640
<v Speaker 1>indentation to structure code. Can you elaborate on that. Yeah,

368
00:18:01.640 --> 00:18:04.319
<v Speaker 1>I'm not familiar with how indentation plays a role in programming.

369
00:18:04.960 --> 00:18:07.920
<v Speaker 2>In Python, indentation is not just about making your code

370
00:18:07.960 --> 00:18:10.720
<v Speaker 2>look neat and tidy. It's actually a crucial part of

371
00:18:10.720 --> 00:18:14.240
<v Speaker 2>the language's syntax. The way you indent your code determines

372
00:18:14.279 --> 00:18:17.079
<v Speaker 2>how the computer interprets and executes your instructions.

373
00:18:17.160 --> 00:18:21.119
<v Speaker 1>So the spacing actually affects how the code runs. That's interesting.

374
00:18:21.519 --> 00:18:22.440
<v Speaker 2>Can you give me example.

375
00:18:22.680 --> 00:18:24.440
<v Speaker 1>Let's say you want to create a loop that prints

376
00:18:24.440 --> 00:18:26.119
<v Speaker 1>Hello World five times.

377
00:18:26.720 --> 00:18:29.880
<v Speaker 2>In Python, you would use a four loop, and the

378
00:18:29.920 --> 00:18:32.079
<v Speaker 2>lines of code that are part of that loop need

379
00:18:32.119 --> 00:18:36.359
<v Speaker 2>to be indented. They're not indented correctly, the code won't

380
00:18:36.440 --> 00:18:37.559
<v Speaker 2>run as you intended.

381
00:18:37.839 --> 00:18:40.400
<v Speaker 1>So if the indentation is incorrect, the code won't run

382
00:18:40.440 --> 00:18:41.680
<v Speaker 1>as intended exactly.

383
00:18:41.920 --> 00:18:45.559
<v Speaker 2>Even a single misplaced space can cause errors.

384
00:18:45.720 --> 00:18:46.160
<v Speaker 1>Oh wow.

385
00:18:46.319 --> 00:18:48.359
<v Speaker 2>It's one of the things that beginners often stumble on.

386
00:18:48.680 --> 00:18:51.319
<v Speaker 2>But once you get used to it, it becomes second nature.

387
00:18:51.519 --> 00:18:55.279
<v Speaker 1>I'm starting to see how Python encourages precise and structured coding.

388
00:18:56.079 --> 00:18:59.480
<v Speaker 1>Does the guide include any examples of Python code in action.

389
00:19:00.400 --> 00:19:02.079
<v Speaker 1>I'd love to see how it all comes together.

390
00:19:02.279 --> 00:19:05.319
<v Speaker 2>Of course. The guide starts with the classic hello world

391
00:19:05.359 --> 00:19:08.720
<v Speaker 2>program in Python. It's a simple program that demonstrates the

392
00:19:08.759 --> 00:19:12.960
<v Speaker 2>basic syntax of the language. To print Hello World on

393
00:19:13.000 --> 00:19:14.960
<v Speaker 2>the screen, you would use the following line of.

394
00:19:14.880 --> 00:19:17.880
<v Speaker 1>Code print hello world.

395
00:19:18.240 --> 00:19:21.720
<v Speaker 2>Okay, I see the words hello world enclosed in parentheses.

396
00:19:22.319 --> 00:19:24.000
<v Speaker 2>What's the significance of the word print?

397
00:19:24.240 --> 00:19:27.440
<v Speaker 1>Print is a function in Python essentially telling the computer, Hey,

398
00:19:27.519 --> 00:19:28.599
<v Speaker 1>I want you to display this.

399
00:19:28.599 --> 00:19:30.799
<v Speaker 2>Text on the screen, and the text that you want

400
00:19:30.839 --> 00:19:32.920
<v Speaker 2>to display goes inside the parentheses.

401
00:19:33.160 --> 00:19:36.160
<v Speaker 1>So it's like giving the computer a command and the

402
00:19:36.240 --> 00:19:39.880
<v Speaker 1>text within the parentheses. Is this specific instruction exactly?

403
00:19:39.960 --> 00:19:42.599
<v Speaker 2>And this is just a simple example. The guide goes

404
00:19:42.640 --> 00:19:46.200
<v Speaker 2>on to explore more complex projects, like creating a snowflake

405
00:19:46.279 --> 00:19:48.960
<v Speaker 2>design using a tool called turtle.

406
00:19:49.400 --> 00:19:52.400
<v Speaker 1>Turtle, what's that all about? Sounds intriguing.

407
00:19:52.559 --> 00:19:55.599
<v Speaker 2>Turtle is a fun and visual way to learn about

408
00:19:55.599 --> 00:19:59.440
<v Speaker 2>geometry and programming concepts. It's like having a digital pen

409
00:19:59.480 --> 00:20:01.720
<v Speaker 2>that you can try with code. You can tell the

410
00:20:01.759 --> 00:20:05.440
<v Speaker 2>turtle to move forward, change colors, and draw shapes, so you're.

411
00:20:05.400 --> 00:20:08.279
<v Speaker 1>Essentially giving the turtle instructions to create a drawing on

412
00:20:08.279 --> 00:20:08.720
<v Speaker 1>the screen.

413
00:20:08.799 --> 00:20:11.240
<v Speaker 2>You got it. Yeah, And by combining different commands you

414
00:20:11.279 --> 00:20:15.480
<v Speaker 2>can create intricate patterns and designs like the snowflake example

415
00:20:15.480 --> 00:20:16.039
<v Speaker 2>and the guide.

416
00:20:16.119 --> 00:20:17.039
<v Speaker 1>Oh wow, it's a.

417
00:20:17.039 --> 00:20:19.759
<v Speaker 2>Great way to explore the creative side of programming.

418
00:20:19.920 --> 00:20:21.839
<v Speaker 1>I'm definitely going to check out that project. It sounds

419
00:20:21.880 --> 00:20:24.000
<v Speaker 1>like a fun and engaging way to learn about both

420
00:20:24.039 --> 00:20:27.799
<v Speaker 1>coding and geometry. Are there any other projects featured in

421
00:20:27.799 --> 00:20:28.839
<v Speaker 1>the guide that you'd recommend?

422
00:20:29.039 --> 00:20:32.880
<v Speaker 2>Absolutely? The guide includes a project using Paygame, a Python

423
00:20:32.920 --> 00:20:35.920
<v Speaker 2>library for game development, you can create a spot the

424
00:20:35.960 --> 00:20:38.960
<v Speaker 2>Difference game where two images are displayed side by side

425
00:20:39.319 --> 00:20:41.880
<v Speaker 2>and the player needs to find the subtle differences between them.

426
00:20:42.119 --> 00:20:44.319
<v Speaker 1>That sounds like a fun challenge. Yeah, and it shows

427
00:20:44.359 --> 00:20:46.880
<v Speaker 1>how Python can be used for more than just simple programs.

428
00:20:46.880 --> 00:20:49.279
<v Speaker 1>You can actually create interactive games exactly.

429
00:20:49.920 --> 00:20:52.839
<v Speaker 2>And for those who enjoy text based adventures, there's a

430
00:20:52.880 --> 00:20:55.880
<v Speaker 2>project that guides you through creating an RPG Mayze game.

431
00:20:56.000 --> 00:20:59.240
<v Speaker 1>An RPG Mayze game that's awesome. I can't wait to

432
00:20:59.279 --> 00:21:02.400
<v Speaker 1>dive into those. It's amazing how the Raspberry Pie opens

433
00:21:02.480 --> 00:21:06.039
<v Speaker 1>up so many possibilities for learning and creating. Whether you're

434
00:21:06.079 --> 00:21:09.880
<v Speaker 1>interested in visual programming with Scratch three or the more

435
00:21:09.920 --> 00:21:12.160
<v Speaker 1>traditional text based approach of Python.

436
00:21:12.000 --> 00:21:14.880
<v Speaker 2>It really is. The Raspberry Pie is a fantastic platform

437
00:21:14.880 --> 00:21:17.799
<v Speaker 2>for exploring the world of programming and hardware, and we've

438
00:21:17.839 --> 00:21:20.559
<v Speaker 2>only just scratched the surface. In Part three of this

439
00:21:20.640 --> 00:21:23.519
<v Speaker 2>deep dive, we'll move beyond the software and delve into

440
00:21:23.599 --> 00:21:26.759
<v Speaker 2>the exciting realm of physical computing, where you'll learn how

441
00:21:26.759 --> 00:21:29.759
<v Speaker 2>to bring real world hardware to life. So get ready

442
00:21:29.759 --> 00:21:32.400
<v Speaker 2>to turn those LEDs on and off, control motors, and

443
00:21:32.480 --> 00:21:33.839
<v Speaker 2>maybe even build your own robot.

444
00:21:34.079 --> 00:21:35.200
<v Speaker 1>Wow, I can't wait.

445
00:21:37.119 --> 00:21:41.119
<v Speaker 2>Welcome back to a Raspberry Pie adventure. We've explored the basics,

446
00:21:41.200 --> 00:21:44.079
<v Speaker 2>dabbled in cooding with Scratch three in Python, and now

447
00:21:44.079 --> 00:21:47.000
<v Speaker 2>it's time to get hands on with the physical world. Okay,

448
00:21:47.119 --> 00:21:50.000
<v Speaker 2>remember those Gpio pins we talked about, all right? The

449
00:21:50.039 --> 00:21:53.240
<v Speaker 2>ones will let the Raspberry Pie interact with electronic components.

450
00:21:53.680 --> 00:21:56.279
<v Speaker 1>They're the key to unlocking a whole new level of

451
00:21:56.359 --> 00:22:00.640
<v Speaker 1>creativity and control with the Raspberry Pie. It's like giving

452
00:22:00.640 --> 00:22:04.480
<v Speaker 1>your Pie superpowers to sense and respond to the real world.

453
00:22:04.960 --> 00:22:06.359
<v Speaker 2>Superpowers I like that.

454
00:22:06.640 --> 00:22:07.000
<v Speaker 1>Mm hmm.

455
00:22:07.240 --> 00:22:10.759
<v Speaker 2>It sounds exciting but also a bit intimidating. The guide

456
00:22:10.799 --> 00:22:15.200
<v Speaker 2>shows diagrams with bread boards, LEDs, resistors. It makes me

457
00:22:15.240 --> 00:22:17.720
<v Speaker 2>wonder if I need an electrical engineering degree to get started.

458
00:22:18.039 --> 00:22:21.039
<v Speaker 1>You definitely don't need a degree to dive into physical

459
00:22:21.160 --> 00:22:24.000
<v Speaker 1>computing with the Raspberry Pie. The guide does a great

460
00:22:24.079 --> 00:22:26.759
<v Speaker 1>job of breaking things down step by step, starting with

461
00:22:26.839 --> 00:22:31.119
<v Speaker 1>simple projects that build your confidence and honestly seeing your

462
00:22:31.160 --> 00:22:34.920
<v Speaker 1>code control a real world object. Yea, even something as

463
00:22:34.960 --> 00:22:38.240
<v Speaker 1>basic as an LED is incredibly rewarding.

464
00:22:38.279 --> 00:22:39.240
<v Speaker 2>Okay, you've convinced me.

465
00:22:39.480 --> 00:22:43.119
<v Speaker 1>Let's start with a classic Yeah, controlling an LED using Python.

466
00:22:43.920 --> 00:22:45.640
<v Speaker 1>What do we need to make this happen?

467
00:22:45.960 --> 00:22:49.160
<v Speaker 2>Besides our Raspberry Pie. We'll need a few basic components,

468
00:22:49.359 --> 00:22:53.240
<v Speaker 2>a bread board, an LED, a resistor, and some jumper wires. Okay,

469
00:22:53.440 --> 00:22:56.039
<v Speaker 2>The bread board provides a convenient way to connect everything

470
00:22:56.039 --> 00:22:59.279
<v Speaker 2>together without soldering. The resistor is important to limit the

471
00:22:59.319 --> 00:23:02.599
<v Speaker 2>current flowing through the LED, protecting it from burning out,

472
00:23:03.400 --> 00:23:06.079
<v Speaker 2>and the jumper wires help us connect the components to

473
00:23:06.720 --> 00:23:09.759
<v Speaker 2>the Raspberry Pie's gpio pins, so it's.

474
00:23:09.640 --> 00:23:12.000
<v Speaker 1>Like building a mini circuit on the bread board. The

475
00:23:12.079 --> 00:23:14.759
<v Speaker 1>guide has a diagram showing how to connect the LED's

476
00:23:14.799 --> 00:23:19.559
<v Speaker 1>positive and negative legs to specific Gpio pins through the resistor.

477
00:23:20.279 --> 00:23:22.599
<v Speaker 1>But how do we actually tell the Raspberry Pie to

478
00:23:22.680 --> 00:23:24.480
<v Speaker 1>turn the LED on? Using Python?

479
00:23:24.640 --> 00:23:28.160
<v Speaker 2>Python makes it surprisingly easy. We'll use a library called

480
00:23:28.200 --> 00:23:32.359
<v Speaker 2>GPIOs zero, which simplifies working with the gpio pins. We

481
00:23:32.519 --> 00:23:35.680
<v Speaker 2>import the LED function from this library and create an

482
00:23:35.759 --> 00:23:39.440
<v Speaker 2>LED object specifying the Gpio pin number our LED is

483
00:23:39.440 --> 00:23:43.279
<v Speaker 2>connected to. Then, with simple commands like lead dot on

484
00:23:43.720 --> 00:23:46.880
<v Speaker 2>and lead dot off, we can turn the LED on

485
00:23:47.000 --> 00:23:47.400
<v Speaker 2>and off.

486
00:23:47.519 --> 00:23:51.400
<v Speaker 1>Wow, it's that straightforward, Just two commands to control a

487
00:23:51.440 --> 00:23:54.640
<v Speaker 1>real world LED. Yeah, and see us could get addictive.

488
00:23:54.920 --> 00:23:55.720
<v Speaker 2>It is pretty cool.

489
00:23:55.759 --> 00:23:57.480
<v Speaker 1>What if we want to make the LED blink?

490
00:23:57.799 --> 00:24:00.799
<v Speaker 2>That's where the sleep function comes in. Okay, we import

491
00:24:00.880 --> 00:24:03.519
<v Speaker 2>it from the time library and use it to create

492
00:24:03.519 --> 00:24:06.480
<v Speaker 2>delays in our code. For example, we could turn the

493
00:24:06.599 --> 00:24:09.200
<v Speaker 2>LED on for one second, then off for one second,

494
00:24:09.599 --> 00:24:12.240
<v Speaker 2>and repeat this pattern to create a blinking effect.

495
00:24:12.440 --> 00:24:16.400
<v Speaker 1>So we're essentially orchestrating a tiny light show using Python code.

496
00:24:16.480 --> 00:24:16.920
<v Speaker 2>Exactly.

497
00:24:17.039 --> 00:24:18.759
<v Speaker 1>It's like composing a symphony of blinks.

498
00:24:18.799 --> 00:24:19.200
<v Speaker 2>I like that.

499
00:24:19.480 --> 00:24:21.319
<v Speaker 1>But what if we want to add some interactivity?

500
00:24:21.400 --> 00:24:21.680
<v Speaker 2>Okay?

501
00:24:21.839 --> 00:24:24.319
<v Speaker 1>Could we control the LED using a button?

502
00:24:24.440 --> 00:24:27.880
<v Speaker 2>Absolutely? We can introduce a button into our circuit, okay,

503
00:24:27.960 --> 00:24:31.480
<v Speaker 2>connecting it to a different gpio pin. We can figure

504
00:24:31.519 --> 00:24:34.680
<v Speaker 2>this pin as an input, allowing the Raspberry Pie to

505
00:24:34.759 --> 00:24:36.519
<v Speaker 2>detect when the button is pressed.

506
00:24:36.519 --> 00:24:38.400
<v Speaker 1>So the button press acts as a signal that the

507
00:24:38.480 --> 00:24:41.799
<v Speaker 1>Raspberry Pie can read and respond to exactly.

508
00:24:42.240 --> 00:24:44.920
<v Speaker 2>We modify our Python code to turn the LED on

509
00:24:45.079 --> 00:24:47.559
<v Speaker 2>when the button is pressed and off when it's released.

510
00:24:47.960 --> 00:24:50.559
<v Speaker 2>It's like creating a simple on off switch for LED,

511
00:24:50.799 --> 00:24:52.279
<v Speaker 2>controlled by a physical button.

512
00:24:52.920 --> 00:24:56.079
<v Speaker 1>That's brilliant. I am picturing all sort of possibilities. A

513
00:24:56.119 --> 00:24:59.000
<v Speaker 1>doorbell that lights up an LED, a game controller with

514
00:24:59.279 --> 00:25:03.319
<v Speaker 1>buttons that different actions. It's amazing how these basic components

515
00:25:03.359 --> 00:25:05.799
<v Speaker 1>can create such a range of interactive experiences.

516
00:25:05.960 --> 00:25:06.960
<v Speaker 2>Yeah, it's pretty amazing.

517
00:25:07.119 --> 00:25:09.640
<v Speaker 1>Does the guide feature any other projects that build on

518
00:25:09.680 --> 00:25:10.279
<v Speaker 1>these concepts.

519
00:25:10.359 --> 00:25:13.920
<v Speaker 2>It does. One project involves using a buzzer to create sounds.

520
00:25:14.400 --> 00:25:17.240
<v Speaker 2>You can program different melodies by controlling the buzzers on

521
00:25:17.319 --> 00:25:19.920
<v Speaker 2>off cycles with precise timing using Python.

522
00:25:20.200 --> 00:25:24.240
<v Speaker 1>Wait, you can compose music with code. That's incredible. Yeah,

523
00:25:24.279 --> 00:25:26.880
<v Speaker 1>I never thought of programming as a musical endeavor. It

524
00:25:26.960 --> 00:25:29.039
<v Speaker 1>can be what other musical projects are possible.

525
00:25:29.119 --> 00:25:32.160
<v Speaker 2>Well, imagine combining LEDs in a buzzer to create a

526
00:25:32.160 --> 00:25:35.599
<v Speaker 2>simulated traffic light system. You'd have red, yellow, and green

527
00:25:35.759 --> 00:25:39.200
<v Speaker 2>LEDs representing the traffic lights, and the buzzer could simulate

528
00:25:39.240 --> 00:25:41.160
<v Speaker 2>the pedestrian crossing signal, so you.

529
00:25:41.119 --> 00:25:44.160
<v Speaker 1>Could program the lights to change sequence and the buzzer

530
00:25:44.160 --> 00:25:47.039
<v Speaker 1>would sound when it's safe to cross exactly. That's a

531
00:25:47.039 --> 00:25:50.920
<v Speaker 1>fantastic way to learn about timing, sequencing, and how code

532
00:25:50.920 --> 00:25:52.599
<v Speaker 1>can represent real world systems.

533
00:25:52.960 --> 00:25:53.680
<v Speaker 2>Yeah, it is.

534
00:25:53.759 --> 00:25:56.240
<v Speaker 1>It seems like the Raspberry Pie can really spark creativity.

535
00:25:56.440 --> 00:25:59.960
<v Speaker 2>It definitely can. And remember Scratch three, that visual programming

536
00:26:00.039 --> 00:26:02.519
<v Speaker 2>language we discussed. Yes, you can use it to control

537
00:26:02.599 --> 00:26:04.000
<v Speaker 2>gpio pins as well.

538
00:26:04.119 --> 00:26:07.400
<v Speaker 1>Really, so even beginners who aren't comfortable with text based

539
00:26:07.440 --> 00:26:09.599
<v Speaker 1>coding can experiment with hardware.

540
00:26:09.720 --> 00:26:13.319
<v Speaker 2>Absolutely. The guide provides examples of using Scratch three to

541
00:26:13.359 --> 00:26:17.240
<v Speaker 2>control LEDs and read input from buttons. It's a great

542
00:26:17.279 --> 00:26:20.839
<v Speaker 2>way to introduce younger audiences or anyone new to programming,

543
00:26:21.039 --> 00:26:22.519
<v Speaker 2>to the world of physical computing.

544
00:26:22.880 --> 00:26:26.759
<v Speaker 1>This is incredibly empowering. Yeah, it makes technology and hardware

545
00:26:27.039 --> 00:26:30.559
<v Speaker 1>accessible to everyone, regardless of their coding experience. What a

546
00:26:30.640 --> 00:26:33.079
<v Speaker 1>wonderful way to foster creativity and innovation.

547
00:26:33.400 --> 00:26:37.279
<v Speaker 2>I completely agree the Raspberry Pie's versatility is truly remarkable. Yeah,

548
00:26:37.319 --> 00:26:40.119
<v Speaker 2>it's a gateway to a world of possibilities, allowing you

549
00:26:40.160 --> 00:26:42.359
<v Speaker 2>to bring your ideas to life. Whether you're a seasoned

550
00:26:42.400 --> 00:26:44.160
<v Speaker 2>programmer or just starting out.

551
00:26:44.279 --> 00:26:47.759
<v Speaker 1>This deep dive has been an amazing journey. We've gone

552
00:26:47.759 --> 00:26:50.880
<v Speaker 1>from understanding the basic components of the Raspberry Pie to

553
00:26:50.960 --> 00:26:54.799
<v Speaker 1>exploring the power of programming languages like Scratch three in Python,

554
00:26:55.599 --> 00:26:58.240
<v Speaker 1>and we've seen how those languages can be used to

555
00:26:58.319 --> 00:27:02.079
<v Speaker 1>control real world hardware, opening up a whole new realm

556
00:27:02.119 --> 00:27:03.359
<v Speaker 1>of creative possibilities.

557
00:27:03.400 --> 00:27:04.480
<v Speaker 2>It really is amazing.

558
00:27:04.559 --> 00:27:07.680
<v Speaker 1>I can't wait to continue exploring this world. Listener, if

559
00:27:07.720 --> 00:27:10.480
<v Speaker 1>you've been following along, I hope you feel inspired to

560
00:27:10.519 --> 00:27:13.559
<v Speaker 1>embark on your own Raspberry Pie adventure. Grab a pie,

561
00:27:13.640 --> 00:27:16.839
<v Speaker 1>explore the guide and start building. You'll be amazed by

562
00:27:16.839 --> 00:27:20.680
<v Speaker 1>what you can create. Until next time, keep experimenting, keep learning,

563
00:27:20.799 --> 00:27:21.839
<v Speaker 1>and keep diving deep
