Arduino Tutorial- How to Blink Multiple LEDs (Simulation)

preview_player
Показать описание
Please watch: "My Video"
Hey Guys this is Waqas Farooq toady i come up with another simulation for Arduino to simulate multiple LEDs at same time by varying time you watch the video till the end you will also get the idea how to do that you you can connect many leds as you want by following that simple method. follow the link given below to open the website

Follow Me on my Social Media
Instagram:
Twitter
Facebook page:

thanks watching and hit that like button #waqasfarooq#tech#soft
Рекомендации по теме
Комментарии
Автор

here is the code

void setup() {

pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
pinMode(12, OUTPUT);

}

void loop() {
digitalWrite(9, HIGH);
digitalWrite(10, LOW);
delay(1000);
digitalWrite(11, HIGH);
digitalWrite(12, LOW);
delay(2000);
digitalWrite(10, HIGH);
digitalWrite(9, LOW);
delay(1500);
digitalWrite(12, HIGH);
digitalWrite(11, LOW);
delay(1000);


}

WaqasFarooq
Автор

Which registers you used in this project please reply me ASAP

Sachinsharky
Автор

thanks very much. for your efforts.
but cause i wanted to run stepper motors instead of blinking for some particular purpose
as i see in code
to me it seems in sequence even if leds seem to blink at different frequnecy
my code was almost same. but it is still not independent it seems independent
some expert told me interpolation of two pins is not possible..
thanks very much again for your efforts
void loop() {

digitalWrite(5, HIGH);
digitalWrite(6, LOW);
digitalWrite(7, LOW);
digitalWrite(8, LOW);
delay(150);
digitalWrite(5, LOW);
digitalWrite(6, LOW);
digitalWrite(7, LOW);
digitalWrite(8, LOW);
delay(150);
digitalWrite(5, HIGH);
digitalWrite(6, HIGH);
digitalWrite(7, LOW);
digitalWrite(8, LOW);
delay(500);
digitalWrite(5, LOW);
digitalWrite(6, LOW);
digitalWrite(7, LOW);
digitalWrite(8, LOW);
delay(500);
digitalWrite(5, HIGH);
digitalWrite(6, LOW);
digitalWrite(7, HIGH);
digitalWrite(8, LOW);
delay(1000);
digitalWrite(5, LOW);
digitalWrite(6, LOW);
digitalWrite(7, LOW);
digitalWrite(8, LOW);
delay(1000);
digitalWrite(5, HIGH);
digitalWrite(6, LOW);
digitalWrite(7, LOW);
digitalWrite(8, HIGH);
delay(100);
digitalWrite(5, LOW);
digitalWrite(6, LOW);
digitalWrite(7, LOW);
digitalWrite(8, LOW);
delay(100);
}

hardeepsingh-lexh
Автор

1. Can u make 6 LEDs to the Arduino pins starting from pin 4. 2. Using the circuit created above, create a program that will blink all of the LEDs at the same time three (3) times using the a third of second delay.

johncarlosumbong
Автор

Please tell me and make a video how to make this with 6 led's

kusumlatamurari
Автор

Thank u so much for this video! this really helped me! :) I appreciate it. I will also subscribe!

ruffiedoroteo
Автор

Why so quick ? Should nobody find you what you are doing ???

danielmoog
Автор

Dude, there is nothing random in that code. No seed, no random generator. AND the background music makes it impossible to view the whole thing.

alienc
Автор

can we blink them independently
for example
ist led blink with 1 second delay second with 2 second and 3rd with 3 second
and they all blink simultaneously not in sequence

hardeepsingh-lexh
Автор

Hi nice explanation but can you send the link where you had made the aurdino

r.kbhatt
Автор

Hello! Could you copy paste the code please??

matha
Автор

Sir agar hum Mob pe karte hai to size small, big kaise karte hai

prathameshchavan
Автор

Hey, could you make a tutorial/ simulation for me for a Arduino Uno project? I want to have separate 4 led bulbs (red, green, blue, yellow) and then 1 turns on and it requires a light sensor to sense darkness over it to turn it off, after I activate it and it turns off, another random led turns on and the same thing, I have to activate the light sensor with darkness to turn it off. If so, could you send me a schematic and code or just make a tutorial. thanks.

-Snipex-
Автор

Can I add 32 LEDs at a time??sir and how can I add 32 LEDs?

Thala_Thalapathy
Автор

How the blink all led in same time .like hazard option

rubanmatthew
Автор

Can you do one without the delay for multiple LEDs?

sheng
Автор

Buttons / Switches
Buzzers
nfrared (IR) Sensors
 
Ultrasonic Distance Sensor
 
Relay Module
 
Temperature Sensor
 
Humidity Sensor
 
Accelerometer Sensor
Simple  easy program teach us slow in hindi, urdu

MansoorAliBhatt