-
Categories
-
Platforms
-
Content
In principle yes - depending on what it is supposed to do.Would this IR circuit work for an Arduino?
Add a 1 µF or bigger capacitor between 5 V and GND. This will help to supply curent peaks when the LEDs are turned on.I've seen capacitors added to similar circuits,
Awesome, Thank you for the info! Would you by chance know if I would have to increase the ohm value and for a 16 LED circuit, would you by chance know the current draw? Would this circuit work on a 300mA supply?In principle yes - depending on what it is supposed to do.
Add a 1 µF or bigger capacitor between 5 V and GND. This will help to supply curent peaks when the LEDs are turned on.
You can improve the efficiency of the circuit considerably: Instead of using two IR-LEDs in parallel, put them in series. The voltage drop will increase from ~ 1.6 V to ~3.2 V, therefore reduce the series resistance accordingly. Like so:
View attachment 61236
You will then need only 4 transistors and the base current (drive current from the Arduino output) will be reduced accordingly. With 4 transistors you can increase the number of LEDs to 16 instead of the 14 you have now. Or use 14 LEDs, the last transistor will then drive only 2 LEDs, not 4.
We have a resource on driving LEDs. Read all the info you need there.Would you by chance know if I would have to increase the ohm value and for a 16 LED circuit,
That's up to you. You define the current through the LEDs, then calculate the resistors accordingly, see the resource I linked.would you by chance know the current draw?
It is not.Is that ok?