1. Workshops
  2. arduino
  3. Blink

Blink

Blink an LED with Arduino. Created by @Athulbless.

Edit on GitHub

Blink an LED with Arduino

Things You Would need:

kit

Lets Get Started:

Step 1

Installing The IDE

Download the appropriate Arduino IDE for your platform from the Arduino website

Install the IDE just like you install any other software. The drivers for the boards will be included.

Step 2

Loading the Blink example

The code we need comes with the Arduino IDE.

Open File>Examples>Basics>Blink

UNO Load Blink

Step 3

Select your board type and port

You’ll need to select the entry in the Tools > Board menu that corresponds to your Arduino or Genuino board

UNO BoardType

Select the serial device of the board from the Tools | Serial Port menu. This is likely to be COM3 or higher (COM1 and COM2 are usually reserved for hardware serial ports). To find out, you can disconnect your board and re-open the menu; the entry that disappears should be the Arduino or Genuino board. Reconnect the board and select that serial port.

UNO Port

Step 4

Upload the program

Now, simply click the “Upload” button in the environment. Wait a few seconds - you should see the RX and TX LEDs on the board flashing. If the upload is successful, the message “Done uploading.” will appear in the status bar.

UNO Upload

A few seconds after the upload finishes, you should see the pin 13 (L) LED on the board start to blink (in orange). If it does, congratulations! You’ve gotten Arduino or Genuino up-and-running. If you have problems, please see the troubleshooting suggestions

Now connect the positive terminal (Longer lead) of the LED to Pin 13 (L) on the Arduino, Connect the negative terminal (Shorter lead) to GND

Note: Adding a 330 ohm resistor to the circuit can protect the LED from burning off.

How was this workshop?

(your feedback is anonymous + appreciated 💚)

Made something rad?

Share it! 🌟

(posts are editable)

Twitter
Facebook

Want to edit this workshop?

Edit on GitHub