Hello, I am new to Arduino. I want to use Arduino to blink multiple infrared LEDs to illuminate the eyes. So I hope to use Arduino to blink multiple LEDs.
Could you please help me out? Thanks!
I just need about 10 infrared LEDs to blink at the same time. So no offset is needed. I hope the LEDs to blink simultaneously at around 15Hz.
For a single LED blink, I connected the LED to the 13 and GND slot. If I want to blink multiple LEDs, how should I put the other LEDs? If I get an external circuit, how to connect the circuit to Arduino UNO?
I have managed to use Arduino to blink one LEDs. I hope to use it to blink multiple LEDs. I have Arduino UNO and many LEDs now.
Can you show me the links on how to do this, and what additional hardware should I buy? Thanks!
same way you blink 1 led, maybe with a little time delay if you dont want them to blink all at the same time, maybe with an external circuit if your doing a bunch of them
details are needed, how many LED's, is there a time offset, how fast?
if you just want some leds to blink one really could do it with a few resistors, a transistor and a cap, whats your requirements for basically bringing a computer and its software into the mix?
Thanks so much for your quick replies. I just need about 10 infrared LEDs to blink at the same time. So no offset is needed. I hope the LEDs to blink simultaneously at around 15Hz.
For a single LED blink, I connected the LED to the 13 and GND slot. If I want to blink multiple LEDs, how should I put the other LEDs? If I get an external circuit, how to connect the circuit to Arduino UNO?
unless you plan on dividing the limited current provided in that schematic across 10 LED's, that is useless, ie if your running 1 led at 20 ma, 10 in that config will get you 2ma per ... doubt it would even be noticeable
what the op needs is something to take the load off the arduino, like a transistor, to control the current and provide equal amounts to each LED at some reasonable power.
Hi all, I know this is an old thread, im new here and i would like some to help me out on something.
I have an Arduino mini pro, I want to assign different pins from 2,3,5, there is no #4 pin, I want some leds to blink at different intervals, but when I assign different pins they don't seem to blink the way I want them to. can you see this code I uploaded? does it look correct.
digitalWrite(2, HIGH);
delay(500); it will start here
digitalWrite(2, LOW);
delay(500);
digitalWrite(3, HIGH);
delay(500);
digitalWrite(3, LOW); then here
delay(500);
digitalWrite(5, HIGH);
delay(50);
digitalWrite(5, LOW);
delay(50); finish here and start from the top again.
digitalWrite(5, HIGH); thats not what im looking for. This is why
delay(50); assinged different pins on the Arduino mini.
digitalWrite(5, LOW); could you help. I would like all leds to work
delay(50); separately.
}