Arduino is a popular open-source development board for engineers and makers to develop electronics projects in an easy way. It consists of both a physical programmable development board (based on AVR series of microcontrollers) and a piece of software or IDE which runs on your computer and used to write and upload the code to the microcontroller board.


Required Components are

  • Arduino Uno
  •  Bread board
  • USB Cable
  • Jumper Wires
  • 3 LEDs ( Different Colors )
  • 3 Resisters ( 220 ohm each )

We are using 220 ohms resistors  because they seem to work the best with the LEDs we have but could use different resistors depending on your LEDs and your circuit .

Steps to Connect the Circuit : 

STEP 1 :  First step is establish a common ground to do this use a jumper wire to connect the ground pin on the arduino to the negative rail on the breadboard this allows all the LEDs to use the ground pin on the Arduino.

STEP 2 :   Second step is to insert the resistors into the breadboard space the resistors out with one leg connected to the negative rail on the breadboard .

STEP 3 : Now its time to insert the LEDs , before inserting the LEDs its important to note that the longer of the two leads on most through hole  LEDs is the positive lead .Connect the negative lead of the LED to the horizontal rail on which the resistor  is connected and connect the positive lead to the adjacent rail repeat this process for all the LEDs .



STEP 4 :   Now its time to complete the circuit we are going to use output ports 13 12 and 11 for the output signal . Connect the positive lead of the LED on the right to pin 13 , the LED in the center to 12 and the LED on left to the pin 11 .


int led = 13;
int led2 = 12;
int led3 = 11;

// the setup routine runs once when you press reset:
void setup() {               
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);
  pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT); 

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(100);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  {digitalWrite(led2, HIGH);
digitalWrite(led2, LOW);
{digitalWrite(led3, HIGH);
digitalWrite(led3, LOW);
delay(100);}// wait for a second


Leave a Reply

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

%d bloggers like this: