Led's Proceeding pattern

 

Material required-:

  • Arduino Uno
  • Breadboard
  • jumper wires
  • 4*Led  (used in this project)
  • 4*220 ohm resistor  ( according to the led used)

This is a very simple project in which I have used four led to make a proceeding pattern. when you  will look at  this, It looks like that they are passing their power to the next led . You can use led as per your convenience . I know, I am currently not making big projects. It's because I don't have enough materials. But I assure you, that I will definitely make a big project sooner.  If you have any doubts or you want me to make a project based on your idea,  ask me in the comment section or you can contact me from "contact us" page .I hope these projects  will help you in learning "Arduino" .

HAPPY LEARNING!

Circuit Diagram-:



Arduino Code-:



int L1=13;
int L2=12;
int L3=11;
int L4=10;



void setup() {
pinMode(L1,OUTPUT);
pinMode(L2,OUTPUT);
pinMode(L3,OUTPUT);
pinMode(L4,OUTPUT);
}

void loop() {
  digitalWrite(L1,1);
  digitalWrite(L2,0);
  digitalWrite(L3,0);
  digitalWrite(L4,0);
  delay (1000);


  digitalWrite(L1,0);
  digitalWrite(L2,1);
  digitalWrite(L3,0);
  digitalWrite(L4,0);
  delay (1000);


  digitalWrite(L1,0);
  digitalWrite(L2,0);
  digitalWrite(L3,1);
  digitalWrite(L4,0);
  delay (1000);

  digitalWrite(L1,0);
  digitalWrite(L2,0);
  digitalWrite(L3,0);
  digitalWrite(L4,1);
  delay (1000);
}



For any queries contact me on  -:tombriddle28@gmail.com

YouTube Channel-: Omnific{If this post helps you please do subscribe my               
            YouTube channel too ,It's only a click for you but it means a lot to me.}





Comments

Popular posts from this blog

Automatic Water Pumping System

Wireless Communication Between Two Arduino Board Using HC-05 Module

Interfacing "Bluetooth Module" with Arduino Uno