top of page

Building an LED Chaser / Pattern circuit using Arduino UNO Board | Encode AND Decode

Updated: Sep 2, 2021


INTRODUCTION


In this tutorial we are going to build an LED chaser or pattern circuit using Arduino UNO board. Here UNO board controls the sequence of the LED as per the code written to the board. The sequence of pattern that can be created are endless and the only limitation is our imagination!


I have given the source code for 5 sequence of pattern but you can build more as per your desire.

So without any more blah blah's, let's get started!!


 

MATERIALS REQUIRED


Arduino UNO Board - 1


330R(ohm) Resistor - 10


LED'S - 10


Breadboard - 1


Male to Male Jumper Wires


Arduino IDE


 

STEPS TO CONNECT


Connect the cathode (-ve) end of all the LED's to the GND (Ground) pin of the Arduino UNO board.


Connect the anode (+ve) end of all the LED's with each resistors.


Now connect the other end of the each resistor to the digital pins 3,4,5,6,7,8,9,10,11,12 of the Arduino UNO board.


Refer the circuit diagram and check if there are any errors and also make sure to conect the LED's exactly as show in the circuit diagram.


Now connect the Arduino UNO board to your PC and configure your board by selecting the board and port.


Download the pdf file that I have posted here in the section below (CODE section), copy the code and paste it in the Arduino IDE.


Upload the code.

Hurrah!! Your LED chaser is ready to chase ON!


 

CIRCUIT DIAGRAM


Click below to download the circuit diagram.



 

CODE


Click below to download the code.



 

FINAL OUTPUT




 


Comentarios


bottom of page