Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
OBJEKTIF :
PERALATAN/RADAS :
Peralatan/Bahan Kuantiti
Arduino Uno Board 1
220Ω Resistor 1
Wires 1
Breadboard 1
USB cable 1
Module 1: Blink LED
Step 1: Procedure
1. Firstly, you will need to plug wire from Cathode LED (on breadboard) to Ground
(GND) on the Arduino Uno board.
2. Then you need to plug one end of a wire into the pin 13 (digital pwm) on the Arduino
Uno board.
(NOTE: It is very important to use AT LEAST a 220 ohm resistor with this circuit. If
you don't, then you will almost certainly blow the LED.)
1. Now you need to plug the Arduino Uno board into the computer. Nothing really to say
here, just make sure that you don't break anything!
1. Go to File-Example-Basics-Blink
2. To do this perfectly, you have to ensure the following step:
- You to select the Arduino Uno board type in your IDE. I'm using an Arduino UNO
board. To choose have the board, find Tools on menu bar. Choose the option
"Board" >> select your correct Arduino Uno board. I have chosen the
Arduino/Genuino UNO. See the screenshot below.
- The port number is assigned while installing the hardware drive of board. You
can find the port number by accessing device manager on Windows. See the
section Port (COM&LPT) and look for an open port named "Arduino Uno
(COMxx)". If you are using a different board, you will find a name accordingly.
What matters is the xx in COMxx part. In my case, it's COM3. So my port number
is 3.
- To select the right port, go to Tools >> Port >> Select the port number. Refer
screenshot below.
3. We are going to upload the verified program in Arduino IDE to the Arduino Uno
board. To do this, press the "upload" button (see the button with right arrow mark).
- A click on the "upload" button will begin the process of burning the compiled
program to Avr mircocontroller on your Arduino Uno board. Depending on the
size of your program, this will take a little time. If you look on your Arduino Uno
board, you can see the 2 red LED's blinking. This is an indication of successful
communication between your PC and Arduino Uno board. If the program has
been uploaded successfully, you will see a message like "Done Uploading". If the
uploading process was not successful, you will see an error message
accordingly.
Go to File-Example-Basics-Blink
Go to File-Example-Basics-Blink