Arduino Beginner Series: Project 1: Turn LED on/off and make it Blink

Need a short introduction to what the Arduino is then click on LINK
Check out the breadboard intro right HERE

Let’s get started!!

Things you will need:

  1. Arduino UNO
  2. USB A B cable
  3. LED (any colour)
  4. 220 ohm resistor
  5. Computer with the Arduino IDE

Basics of LED

This image has an empty alt attribute; its file name is Light-Emitting-Diode-Image-2.jpg
  • LED stands for Light Emitting Diode
  • a diode is a device that conducts electricity in one direction only
  • it has a longer pin which is refered to a anode (+ve terminal) and a shorter pin which is refered to as cathode (-ve terminal).
  • current flows in through the anode and out through the cathode
  • generally a resistor (called a ballast resistor) is connected in series with the LED in order to prevent damage to the LED
  • For a deeper dive in on this concept refer to (LINK)

Functions that we’ll be using:

  1. pinMode()
  2. digitalWrite()

Video Tutorial:

Note that these videos aren’t mine and I am NOT being paid to put these here. I’m a beginner with Arduino and these are the videos that I found helpful. I’m not making any of these tutorials cause there are literally hundreds of awesome ones out on the internet.

  1. LINK 1 : in this video you will work on the built in LED on the Arduino board
  2. LINK 2 : this video is about hooking up the LED circuit and getting started with LED projects


  1. Turn LED ON
void setup() {


void loop() {
  digitalWrite(13, HIGH);


2. Turn LED OFF

void setup() {


void loop() {
  digitalWrite(13, LOW);


3. Make LED blink

int LEDpin=13;
int wait= 500;
void setup() {

void loop() {
  digitalWrite(LEDpin, HIGH);
  digitalWrite(LEDpin, LOW);

Stay Tuned for upcoming posts on Arduino Projects! We’ll start with basic newbie projects and then move on to those cool, ultra techy projects!! Want to be the first to know when a new and amazing post comes up?? Then feel free to subscribe!

Happy Learning!!

1 thought on “Arduino Beginner Series: Project 1: Turn LED on/off and make it Blink

  1. Santosh Kumar Jha May 22, 2020 — 11:50 am

    Good start! . You can learn "For " loop and make beautiful pattern of blinking.

Leave a Reply


Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close