Sunday, May 3, 2015

Arduino Blink

modified May 2000
by J.B. Wylzan

Arduino Blink:

Before we do anything, let us first check if your Arduino Uno is properly working. To test the board let us use the Blink example in the Arduino website. First download and unzip the open-source Arduino software(IDE) into your computer. Once the installation is complete, open the Arduino interface and navigate to the menu. Click  File > Examples > Basics > Blink. Once the blink sketch is open, click Verify and then Upload. The onboard yellow led lights will turn on and off repeatedly as shown above. If everything works well, then give yourself a tap on the back, you just successfully tested a working Arduino board. To step up the excitement, let us now start making an external blinking LED using the materials, diagrams, codes and procedures as follows:

1 resistor, 
connecting wires
Arduino R3 UNO

Schematic Diagram:

Block Diagram:

Code # A:  

/* This example code is public domain.
    Arduino Blink Version
    modified by J.B. Wylzan */

// Setup pin 8
void setup() {
  pinMode(8, OUTPUT);       // initializes pin # 8 

// Blink the LED
void loop() {
  digitalWrite(8, HIGH);           // turns the LED on 
  delay(2000);                           // wait for 2 seconds
  digitalWrite(8, LOW);            // turns the LED off 
  delay(2000);                           // wait for 2 seconds

Actual Layout :  

1. Insert one end of the white wire to GND (above pin 13)
2. Insert the other end of the white wire to the breadboard.
3. Insert one end of resistor next to the white wire as shown above
4. Insert the other end of the resistor next to the shorter leg of the LED
5. Insert one end of the red wire next to the longer side of the LED.
6. Insert the other end of the red wire into pin # 8 as shown above.
7. Run the Arduino Interface
8. Select File > New
9. Copy Code #A above
10. Paste Code #A
11. Click File > Save
12. Click Verify
13. Click Upload
14. Your LED is now blinking On and OFF


long d = 0;
void setup()
  pinMode(ledPin, OUTPUT); 

void loop()
  d++;                                                 // blink the led 10x
  if (d<=10)
    digitalWrite(ledPin, HIGH); 
    digitalWrite(ledPin, LOW); 


Congratulations on your first arduino troubleshooting. Now, if you can't wait, let us start building your first 10 basic projects. Please click the link below.

Disclaimer:  We shall not be liable for any loss or damage of whatever nature - direct, indirect, consequential, or otherwise - which may arise as a result of your use of any information on this website. However, if you are interested in using any of the projects for personal or educational purposes, please inform the author by email. 

Public Domain Notice: Copyright (c) 2000. All rights reserved. This article is part of a book entitled iHackRobot. Copies are welcome to be shared or distributed publicly as long proper citations are observed. Please cite as follows: A Journal of a Creative Mind, Joey Lawsin, 1988, USA.

"The Last Human on Earth will no longer be Human." ~ Joey Lawsin
The Homotronics® and Homodruinos® logos are registered trademarks.
Copyright Biotronics© Inc. iHackRobot®. All Rights Reserved.
Patent Pending. 2000 © ®



  1. Thank you so much for posting these! The instructions and projects are clear and easy to understand, and my beginner classes will learn so much from making them.

  2. Hi there, sorry for the late reply. Thanks for visiting my site. Rest assure I will make simple arduino projects and easy programming with beginners in mind. Actually all these projects and sketches are all interconnected so that users will understand better how electronics and computers are interrelated. Welcome