10
10
</ head >
11
11
12
12
< body class ="line-numbers ">
13
+
14
+ < div id ="progress-bar "> </ div >
15
+
13
16
< span class ="center "> ARDUINO TUTORIAL</ span >
14
17
< h1 > How to make a temperature-controlled outlet</ h1 >
15
18
< table class ="difficulty-level ">
@@ -25,7 +28,7 @@ <h1>How to make a temperature-controlled outlet</h1>
25
28
</ table >
26
29
< div >
27
30
< h2 > Table of Contents</ h2 >
28
- < ul >
31
+ < ul class =" table-of-contents " >
29
32
< li >
30
33
< a href ="#Materials "> Materials and Equipment</ a >
31
34
< ul >
@@ -44,6 +47,7 @@ <h2>Table of Contents</h2>
44
47
< li > Connecting the Breadboard to the Arduino</ li >
45
48
</ ul >
46
49
</ li >
50
+ </ ul >
47
51
</ div >
48
52
< div id ="Materials ">
49
53
< h2 > Materials and Equipment</ h2 >
@@ -106,30 +110,35 @@ <h2>Procedures</h2>
106
110
< h3 > Connecting the Board to the Development Environment</ h3 >
107
111
< ol >
108
112
< li >
109
- < span class ="aligned-bullet "> Plug the Arduino Uno board to one of the USB ports of the laptop/
110
- computer through the USB Type-A to USB Type-B cable. This should light up the LED marked "ON" on
113
+ < span class ="aligned-bullet "> Plug the < span class ="material "> Arduino Uno board</ span > to one of the
114
+ USB ports of the < span class ="material "> laptop/
115
+ computer</ span > through the < span class ="material "> USB Type-A to USB Type-B cable</ span > .
116
+ This should light up the LED marked "ON" on
111
117
the Arduino Uno to indicate that the board is now being powered.
112
118
</ span >
113
119
</ li >
114
120
< li >
115
- Launch the Arduino IDE.
116
- < div class ="alert alert-warning ">
117
- < span class ="fas alert-warning-text "> </ span >
118
- < strong class ="alert-warning-text "> Warning!</ strong > < br > Laptops/ computers generally can
119
- recognize that there is a USB device connected, but are not able to automatically identify it as
120
- an Arduino board.
121
- </ div >
121
+ Launch the < span class ="material "> Arduino IDE</ span > .
122
122
< ol >
123
123
< li > < strong > Tools </ strong > < i class ="fas "> </ i > </ span > < strong > Board</ strong > , then
124
- select Arduino Uno.</ li >
124
+ select Arduino Uno.
125
+ < div class ="alert alert-warning ">
126
+ < span class ="fas alert-warning-text "> </ span >
127
+ < strong class ="alert-warning-text "> Warning!</ strong > < br > Laptops/ computers generally can
128
+ recognize that there is a USB device connected, but are not able to automatically
129
+ identify it as
130
+ an Arduino board.
131
+ </ div >
132
+ </ li >
125
133
< li > < strong > Tools </ strong > < i class ="fas "> </ i > </ span > < strong > Port</ strong > , then select
126
- the communication (COM) port that corresponds to the Arduino.</ li >
127
- < div class ="alert alert-info ">
128
- < img src ="https://img.icons8.com/?size=20&id=dbEL2NLmlcac&format=png&color=62AEB2 "
129
- style ="display: inline-block; transform: translateY(20%); ">
130
- < strong class ="alert-info-text "> Note.</ strong > < br > The port can be identified through the
131
- system’s Device Manager, wherein the Arduino Uno appears as an “Unknown device”.
132
- </ div >
134
+ the communication (COM) port that corresponds to the Arduino.
135
+ < div class ="alert alert-info ">
136
+ < img src ="https://img.icons8.com/?size=20&id=dbEL2NLmlcac&format=png&color=62AEB2 "
137
+ style ="display: inline-block; transform: translateY(20%); ">
138
+ < strong class ="alert-info-text "> Note.</ strong > < br > The port can be identified through the
139
+ system’s Device Manager, wherein the Arduino Uno appears as an “Unknown device”.
140
+ </ div >
141
+ </ li >
133
142
</ ol >
134
143
</ li >
135
144
</ ol >
@@ -138,9 +147,9 @@ <h3>Connecting the Board to the Development Environment</h3>
138
147
< div >
139
148
< h3 > Creating a New Sketch</ h3 >
140
149
< ol >
141
- < li > Load a new sketch in the Arduino IDE.</ li >
150
+ < li > Load a new sketch in the < span class =" material " > Arduino IDE</ span > .</ li >
142
151
< ol >
143
- < li > < strong > File < i class ="fas "> </ i > </ span > New</ strong > The sketch should contain the .ino
152
+ < li > < strong > File < i class ="fas "> </ i > </ span > New. </ strong > The sketch should contain the .ino
144
153
file extension.</ li >
145
154
< pre > < code class ="language-arduino ">
146
155
void setup(){
@@ -161,6 +170,8 @@ <h3>Creating a New Sketch</h3>
161
170
< li > < strong > Sketch < i class ="fas "> </ i > Include Library < i class ="fas "> </ i >
162
171
Manage Libraries</ strong > or < strong > Tools < i class ="fas "> </ i > Manage
163
172
Libraries</ li > </ strong >
173
+ < li > </ li >
174
+ < li class ="method-list-item "> Test</ li >
164
175
</ ol >
165
176
</ ol >
166
177
</ li >
@@ -186,44 +197,63 @@ <h3>Connecting the Breadboard to the Arduino</h3>
186
197
Some breadboards < strong > do not</ strong > have markings that indicate which power rails (strips) are
187
198
< span class ="alert-info-text tooltip "> positive< span class ="tooltiptext "> typically marked by a < strong
188
199
class ="vcc "> red line</ strong > and a plus < strong class ="vcc "> < i
189
- class ="fa "> </ i > </ strong > sign</ span > </ span > , and the < strong > ground
190
- rail</ strong > , which is typically marked by either a < strong style ="color: #2980B9; "> blue</ strong >
191
- or < strong > black line</ strong > and a negative < i class ="fa "> </ i > sign.< p > In such case, simply
200
+ class ="fa "> </ i > </ strong > sign</ span > </ span > , or < span
201
+ class ="alert-info-text tooltip "> negative< span class ="tooltiptext "> typically marked by either a
202
+ < strong style ="color: #2980B9; "> blue</ strong >
203
+ or < strong > black line</ strong > and a negative < i class ="fa "> </ i > sign</ span > </ span > .< p >
204
+ In such case, simply
192
205
assign the rails.</ p > Make sure to keep it consistent to prevent accidental short circuits.
193
206
< hr >
194
207
Learn more. < a
195
208
href ="https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard/anatomy-of-a-breadboard "
196
209
target ="_blank "> How to Use a Breadboard < i class ="fas fa-external-link "> </ i > </ a >
197
210
</ div >
198
211
< ol >
199
- < li > To be able to use both power rails as one, establish the connection between the < strong > two power
200
- rails</ strong > of the breadboard by connecting one hole from each rail with a < strong > M/M jumper
201
- wire</ strong > .
202
- < div > Tip: Use a red jumper wire to indiicate positive power supply connection for consistency.</ div >
203
- < li > Connect one of the holes witin the power rail to the 5V pin of the Arduino Uno using a M/M jumper
204
- wire.</ li >
205
- < li > To be able to use both ground rails as one, connect</ li >
212
+ < li > To use both < span class ="vcc tooltip "> positive rails< span class ="tooltiptext "> used to
213
+ provide the positive voltage to power electronic components in the circuit & connect to the
214
+ positive terminal of the power source</ span > </ span > of the < span
215
+ class ="material "> breadboard</ span > interchangeably, connect them with
216
+ an < span class ="material "> M/M jumper wire</ span > . Plug one end into a hole on one rail and the other
217
+ end into a hole on the other rail.
218
+ < div class ="alert alert-tip "> < i class ='fas alert-tip-text '> </ i > < strong
219
+ class ="alert-tip-text " style ="padding: 7px; "> Tip.</ strong > < br > Use a < span class ="vcc "> red
220
+ jumper wire</ span > to
221
+ indicate positive power supply connection for consistency.</ div >
222
+ < li > Connect one of the holes within the power rail to the 5V pin of the Arduino Uno using an < span
223
+ class ="material "> M/M jumper
224
+ wire</ span > .</ li >
225
+ < li > To use both < span class ="tooltip "> negative rails< span class ="tooltiptext "> used to provide the ground
226
+ reference < img src ="https://img.icons8.com/?size=20&id=123003&format=png&color=ffffff "> for
227
+ the circuit & connect components that require a ground
228
+ connection</ span > </ span > interchangeably, connect them with an < span class ="material "> M/M jumper wire</ span > . Plug one end
229
+ into a hole on one rail and the other end into a hole on the other rail.</ li >
206
230
</ li >
207
231
</ ol >
208
232
209
233
</ div >
210
234
</ div >
211
235
< code class ="inline-code "> in-line code</ code >
212
236
</ body >
237
+
213
238
< script src ="prism.js "> </ script >
239
+ < script src ="progress-bar.js "> </ script >
240
+ < script src ="viewed-bullet.js "> </ script >
214
241
< script src ="accordion.js "> </ script >
215
242
< script src ="https://kit.fontawesome.com/9ef70a0feb.js " crossorigin ="anonymous "> </ script >
243
+
216
244
< link rel ="stylesheet " href ="prism.css ">
217
245
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css ">
218
246
219
247
< br >
220
248
< img src ="https://support.arduino.cc/hc/article_attachments/13367271560476 " width ="36 "> Free Online Tutorial< br >
221
- Authors: Maria Margarita Abasolo, Gabriel Atayde, Rodric Emmanuel Hones< br >
222
- Published: December 13, 2024 < br >
249
+ < p > < strong > Credits</ strong > </ p >
250
+ Makers: Maria Margarita Abasolo, Gabriel Atayde, Rodric Emmanuel Hones
251
+ Published: December 13, 2024
252
+
223
253
< footer >
224
254
< a href ="https://github.com/ABagram " class ="fa fa-github "> </ a >
225
255
< a href ="https://www.linkedin.com/in/maria-margarita-abasolo/ " class ="fa fa-linkedin "> </ a > < br >
226
- Copyright © Maria Margarita Abasolo 2024 . All rights reserved.
256
+ < span class =" subtitle " > © 2024 Maria Margarita Abasolo. All rights reserved.</ span >
227
257
</ footer >
228
258
229
259
</ html >
0 commit comments