In this Arduino Tutorial we will show you how you can make the LED ON and OFF using the Arduino Board and the Processing Development Environment. You can watch the following video or read the written tutorial below for more details. 

Overview :

         All you need for this Arduino Tutorial is an LED (light Emitting diode) for ON & OFF , Bread Board , Jumper Wire to connect LED’s and an Arduino Board for controlling them. You can watch the following video or read the written tutorial below.

About LED (light Emitting diode) and Breadboard

          An LED is a small light (it stands for “light emitting diode”) that works with relatively little power (about .09 Watts).Led has two terminal. The longer one is positive and the shorter one is negative.

       A breadboard is a construction base for prototyping of electronics.Because the solderless breadboard does not require soldering, it is reusable. This makes it easy to use for creating temporary prototypes and experimenting with circuit design.Solderless breadboards connect pin to pin by metal strips inside the breadboard. The layout of a typical solderless breadboard is made up from two types of areas, called strips. Strips consist of interconnected electrical terminals as shown below in diagram


Fix the Led into breadboard connect the resister into one of the terminals (try to connect in positive terminal ). connect positive terminal with pin number 13 of Arduino . and connect the negative terminal with the ground.


Components needed for this Arduino Tutorial

  1. Arduino uno/nano
  2. Led light (3 mm/5 mm)
  3. Resister 100 oh’m
  4. Bread board
  5. Jumper wire ( male )

Codding :

Open the arduino software in your pc and laptop and type a cod

void setup() {
  pinMode(13, OUTPUT); //form pin no. 13 you want output

void loop() {
  digitalWrite(13, HIGH); //led on
  delay(1000); // Wait for 1000 millisecond(s)
  digitalWrite(13, LOW);//led off
  delay(1000); // Wait for 1000 millisecond(s)
  // put your main code here, to run repeatedly:


Upload and working :

 First click on verify button verification is successful

If not then check for port selection

Tool> port> select COM port

Successful upload your program in Arduino.
Your led on and off start and your program run in loop , means run again and again till the time you don’t plug out Arduino.

Name (required)E-mail (required)Website

Leave a Reply