You are on page 1of 4

<a href="https://www.blogger.

com/null">
</a>
<br />
<div style="text-align: center;">
<a href="https://vinozashalsabila183027.blogspot.com/2020/06/modul-
iii.html">[KEMBALI KE MENU SEBELUMNYA]</a></div>
<br />
<center>
<div style="background-color: white; border: 2px dashed rgb(23, 128, 221); height:
240px; overflow: auto; padding: 10px; text-align: center; width: 330px;">
<b>DAFTAR ISI</b>
<br />
<div style="text-align: left;">
<a href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-
modul-1.html#kondisi">1. Kondisi</a></div>
<div style="text-align: left;">
<a href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-
modul-1.html#hardware">2. Hardware</a></div>
<div style="text-align: left;">
<a href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-
modul-1.html#rangkaian">3. Rangkaian Simulasi</a></div>
<div style="text-align: left;">
<a href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-
modul-1.html#flowchart">4. Flowchart</a><br />
<div style="text-align: left;">
<a href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-
modul-1.html#listing">5. Listing Program</a><br />
<div style="text-align: left;">
</div>
</div><div style="text-align: left;"><a
href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-modul-
1.html#video">6. Video</a></div><div style="text-align: left;"><a
href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-modul-
1.html#link">7. Link Download</a></div>
</div>
</div>
</center>
<br />
<br />
1. <a href="https://www.blogger.com/null">Kondisi</a>
<a href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-
modul-1.html"name="kondisi">[back]
</a><br />
<div class="MsoNormal"><span style="font-family: times;"><span face=""
style="background-color: white; color: #222222;">Kondisi&nbsp;<span><span>yang
digunakan pada Tugas Pendahuluan ini adalah Percobaan 1 kondisi 12
yaitu&nbsp;k</span></span></span><span data-sheets-
userformat="{&quot;2&quot;:15293,&quot;3&quot;:{&quot;1&quot;:0},&quot;5&quot;:
{&quot;1&quot;:[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:
{&quot;1&quot;:2,&quot;2&quot;:0}},
{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},
{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;6&quot;:{&quot;1&quot;:
[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},
{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},
{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;7&quot;:{&quot;1&quot;:
[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},
{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},
{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;8&quot;:{&quot;1&quot;:
[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:{&quot;1&quot;:2,&quot;2&quot;:0}},
{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},
{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;10&quot;:2,&quot;11&quot;
:4,&quot;12&quot;:0,&quot;14&quot;:
{&quot;1&quot;:2,&quot;2&quot;:0},&quot;15&quot;:&quot;Comfortaa&quot;,&quot;16&quo
t;:12}" data-sheets-value="{&quot;1&quot;:2,&quot;2&quot;:&quot;Kondisi awal Led
mati lalu hidup berkedip dengan delay 300 ms&quot;}">ondisi awal Led mati lalu
hidup berkedip dengan delay 300 ms</span></span><br style="background-color: white;
color: #222222; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-
size: 13.2px;" /><span face="" style="background-color: white; color: #222222;
font-size: small;"><span style="font-family: inherit;"><span data-sheets-
userformat="{&quot;2&quot;:15231,&quot;3&quot;:{&quot;1&quot;:0},&quot;4&quot;:
[null,2,16777215],&quot;5&quot;:{&quot;1&quot;:
[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:[null,2,0]},
{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},
{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;6&quot;:{&quot;1&quot;:
[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:[null,2,0]},
{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},
{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;7&quot;:{&quot;1&quot;:
[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:[null,2,0]},
{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},
{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;8&quot;:{&quot;1&quot;:
[{&quot;1&quot;:2,&quot;2&quot;:0,&quot;5&quot;:[null,2,0]},
{&quot;1&quot;:0,&quot;2&quot;:0,&quot;3&quot;:3},
{&quot;1&quot;:1,&quot;2&quot;:0,&quot;4&quot;:1}]},&quot;9&quot;:0,&quot;11&quot;:
4,&quot;12&quot;:0,&quot;14&quot;:[null,2,0],&quot;15&quot;:&quot;docs-Calibri,
Arial&quot;,&quot;16&quot;:11}" data-sheets-
value="{&quot;1&quot;:2,&quot;2&quot;:&quot;Ganti resistor 10k dengan resistor
100k, lalu amati sinyal keluarannya pada kedua ujung kaki resistor 100k tersebut
dengan memggunakan osiloskop !&quot;}" style="color: black;">Kondisi awal
:</span></span></span></div><div class="MsoNormal"><div class="separator"
style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-
nygwbTiqWAQ/X1ezrsewJ1I/AAAAAAAACgs/B2GeKzQEXBQ99Lhld9lgFa66rK8TiDP7gCLcBGAsYHQ/s46
9/1.2.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-
original-height="360" data-original-width="469" src="https://1.bp.blogspot.com/-
nygwbTiqWAQ/X1ezrsewJ1I/AAAAAAAACgs/B2GeKzQEXBQ99Lhld9lgFa66rK8TiDP7gCLcBGAsYHQ/s32
0/1.2.png" width="320" /></a></div><br /><div class="separator" style="clear: both;
text-align: center;"><br /></div>
<span style="font-family: times, &quot;times new roman&quot;, serif;"><br /></span>
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-
cell;}--></style></div><a href="https://www.blogger.com/null">
2. Hardware&nbsp;</a><a
href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-modul-
1.html"name="hardware">[back]</a><br /><div class="separator" style="clear: both;
text-align: center;"><a href="https://1.bp.blogspot.com/-
kB3BJcn25Wg/X1e1Boi4FLI/AAAAAAAACg4/ecYEv-nY1VIsV2MI1Sv95MFftaFVTsr-
wCLcBGAsYHQ/s320/1.1.png" style="margin-left: 1em; margin-right: 1em;"><img
border="0" data-original-height="288" data-original-width="320"
src="https://1.bp.blogspot.com/-kB3BJcn25Wg/X1e1Boi4FLI/AAAAAAAACg4/ecYEv-
nY1VIsV2MI1Sv95MFftaFVTsr-wCLcBGAsYHQ/s0/1.1.png" /></a></div><div
class="separator" style="clear: both; text-align: center;"><br /></div><div
class="separator" style="clear: both; text-align: center;"><br /></div>
<br /><a href="https://www.blogger.com/null">
3. Rangkaian Simulasi</a>&nbsp;<a
href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-modul-
1.html"name="rangkaian">[back]</a><br />
<div class="separator" style="clear: both; text-align: center;"><a
href="https://1.bp.blogspot.com/-
j4iEpOmMheI/X1e6D2v1opI/AAAAAAAAChE/PfTU0bbs28UQ3VJN0CAj8U6c3KL8Si_NgCLcBGAsYHQ/s99
0/tp%2Bmodul%2B1.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0"
data-original-height="664" data-original-width="990" height="430"
src="https://1.bp.blogspot.com/-
j4iEpOmMheI/X1e6D2v1opI/AAAAAAAAChE/PfTU0bbs28UQ3VJN0CAj8U6c3KL8Si_NgCLcBGAsYHQ/w64
0-h430/tp%2Bmodul%2B1.PNG" width="640" /></a></div><div class="separator"
style="clear: both; text-align: center;"><br /></div>
<br />
<div class="MsoNormal">
</div><a href="https://www.blogger.com/null">4. Flowchart</a>&nbsp;<a
href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-modul-
1.html"name="flowchart">[back]&nbsp;</a><div class="separator" style="clear: both;
text-align: center;"><a href="https://1.bp.blogspot.com/-
5S2wk8XQnUI/X1e8jWaIXLI/AAAAAAAAChQ/hHXyDQahnlQmnCymrczoSFPiSSzA-
ISqwCLcBGAsYHQ/s791/Flowchart%2Bmodul%2B1.png" style="margin-left: 1em; margin-
right: 1em;"><img border="0" data-original-height="791" data-original-width="171"
height="640" src="https://1.bp.blogspot.com/-
5S2wk8XQnUI/X1e8jWaIXLI/AAAAAAAAChQ/hHXyDQahnlQmnCymrczoSFPiSSzA-
ISqwCLcBGAsYHQ/w138-h640/Flowchart%2Bmodul%2B1.png" width="138" /></a></div><br
/><div><br /></div><div><div>
<span style="font-family: &quot;times new roman&quot;, serif; font-size: 12pt;"><br
/></span></div><a href="https://www.blogger.com/null">5. Listing
Program</a>&nbsp;<a
href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-modul-
1.html" name="listing">[back]</a><br />
<div class="separator" style="clear: both; text-align: left;"><div
class="separator" style="clear: both;"><br /></div><div class="separator"
style="clear: both;">int led []={2,3,4,5,6,7,8,9}; <span style="color:
red;">//Deklarasi pin yang akan digunakan adalah pin 2-9</span></div><div
class="separator" style="clear: both;">void setup() {&nbsp;<span style="color:
red;"> //Semua kode dalam fungsi ini hanya dibaca sekali</span></div><div
class="separator" style="clear: both;">for (int i=0;i&lt;=8;i++)&nbsp; &nbsp;<span
style="color: red;">//Perulangan dari 0 hingga kecil sama dengan 8, nilai di
increment atau ditambah satu</span></div><div class="separator" style="clear:
both;">{</div><div class="separator" style="clear: both;">&nbsp;
pinMode(led[i],OUTPUT);&nbsp; &nbsp;<span style="color: red;">//Menyatakan pin yang
dihubungkan ke LED berfungsi sebagai OUTPUT</span></div><div class="separator"
style="clear: both;">}</div><div class="separator" style="clear: both;">}</div><div
class="separator" style="clear: both;">void loop() {&nbsp; &nbsp;<span
style="color: red;">//Semua kode di dalam fungsi ini akan dilakukan
perulangan/looping</span></div><div class="separator" style="clear: both;">for(int
hidup=0;hidup&lt;=8;hidup++)&nbsp; <span style="color: red;">//Perulangan dari 0
hingga kecil sama dengan 8 untuk menghidupkan LED</span></div><div
class="separator" style="clear: both;">{</div><div class="separator" style="clear:
both;">&nbsp; digitalWrite(led[hidup],HIGH);&nbsp; &nbsp;<span style="color:
red;">//LED diberi logika 1 sehingga LED menyala (aktif high)</span></div><div
class="separator" style="clear: both;">&nbsp; delay(300);&nbsp; &nbsp;<span
style="color: red;">//Antar LED diberi jarak waktu atau interval 300 ms untuk
menyala</span></div><div class="separator" style="clear: both;">}</div><div
class="separator" style="clear: both;">delay(300);&nbsp; <span style="color:
red;">&nbsp;//Jarak watu 300 ms untuk melakukan perulangan atau
looping</span></div><div class="separator" style="clear: both;">for(int
mati=0;mati&lt;=8;mati++)&nbsp;<span style="color: red;"> //Perulangan dari 0
hingga kecil sama dengan 8 untuk mematikan LED</span></div><div class="separator"
style="clear: both;">{</div><div class="separator" style="clear: both;">&nbsp;
digitalWrite(led[mati],LOW);&nbsp; <span style="color: red;">//LED diberi logika 0
sehingga LED mati (aktif low)</span></div><div class="separator" style="clear:
both;">&nbsp; delay(300);&nbsp;<span style="color: red;"> //Antar LED diberi jarak
waktu atau interval 300 ms untuk mati</span></div><div class="separator"
style="clear: both;">}</div><div class="separator" style="clear:
both;">delay(300);&nbsp;<span style="color: red;"> //Jarak waktu 300 ms untuk
melakukan perulangan atau looping</span></div><div class="separator" style="clear:
both;">}</div><div class="separator" style="clear: both;"><br /></div></div><div
class="separator" style="clear: both; text-align: left;"><a
href="https://www.blogger.com/null">
6. Video</a> <a href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-
pendahuluan-modul-1.html"name="video">[back]</a></div><div class="separator"
style="clear: both; text-align: center;"><object class="BLOG_video_class"
contentid="e05f55552ee92895" height="266" id="BLOG_video-e05f55552ee92895"
width="320"></object></div><br /><div class="separator" style="clear: both; text-
align: left;"><br /></div><div class="separator" style="clear: both; text-align:
left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><a
href="https://www.blogger.com/null">
7. Link Download</a> <a
href="https://vinozashalsabila183027.blogspot.com/2020/09/tugas-pendahuluan-modul-
1.html"name="link">[back]</a></div>
HTML - Download</div><div>Simulasi Proteus - <a
href="https://drive.google.com/file/d/1UnIY6UiUIvqWCm-pDJZS-Nj5ysYplEDG/view?
usp=sharing">Download</a></div><div>Listing Program - <a
href="https://drive.google.com/file/d/1ibUHPJFzeFe8E1KD2sR61f9Ia-n-mtkB/view?
usp=sharing">Download</a></div><div>Video - <a
href="https://drive.google.com/file/d/1UnIY6UiUIvqWCm-pDJZS-Nj5ysYplEDG/view?
usp=sharing">Download</a></div><div class="separator" style="clear: both; text-
align: center;"><br /></div><br />

You might also like