0% found this document useful (0 votes)
17 views2 pages

Praktek 1 - Uploading Sketch

Latihan mengupload sketch atau program yang sudah dibuat menggunakan IDE Arduino ke dalam arduino nano.

Uploaded by

Arry Yulyanto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

Praktek 1 - Uploading Sketch

Latihan mengupload sketch atau program yang sudah dibuat menggunakan IDE Arduino ke dalam arduino nano.

Uploaded by

Arry Yulyanto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PRAKTEK 1 : UPLOADING SKETCH ARDUINO NANO

Program dan Alat :


1. IDE Arduino
2. Arduino Nano
3. Bread Board
4. Baterei, LED, Pushbutton, dan Resistor

LANGKAH KERJA :
1. Memasang arduino nano, LED, resistor beserta kabel jumper pada bread board seperti gambar
di bawah ini.

2. Kaki resistor terhubung ke pin D13 melalui kabel jumper.

3. Buat sketch program untuk membuat LED nyala, mati, nyala, mati secara bergantian (Blynk)
pada aplikasi IDE Arduino.
Ketikkan sketch program di bawah ini!

// led - untuk membuat LED berkedip-kedip

const int PIN13 = 13;

void setup () {
pinMode (PIN13, OUTPUT);
}

void loop() {

digitalWrite (PIN13, HIGH);


delay (1000); // Tunda 1 detik

digitalWrite (PIN13, LOW);


delay(1000);
}
4. Hubungkan arduino nano ke laptop menggunakan kabel

5. Untuk menghubungkan arduino nano ke laptop/PC kita memerlukan driver USB CH340 yang
dapat di download melalui link berikut :
https://elmechtechnology.com/blog/install-driver-serial-ch340-arduino-esp8266-simple-dan-fast-el
mech-technology

6. Setelah didownload, kemudian instal driver USB CH340 ke laptop/PC.

You might also like