I am trying to build an IR system that works via the Arduino. So far, it works great. However, I want to have one IR Led on the back of my device and one in the front. However, the Arduino pin only supplies 40mA max.
Hence, when I used on IR Led, the range was still pretty decent. However, upon connecting two of the IR Leds to the same pin, it was very weak (1m range only). I was thinking that to solve this problem, I can get a cheap 7400 series AND gate. Then, I can feed the IR Line from the Arduino and split them into the two AND gates, and the AND gate will drive the IR Leds, and both will get full power (I am not sure of the rating output of a 7400 AND gate)
Is this a good idea? Any idea what a 7400 series AND gate output max current is?
While @JimDearden's answer provides a suitable approach for operating the two infrared LEDs in parallel as desired, my answer addresses the specific question asked, to resolve some possible misunderstandings that may have motivated the question:
An AND gate is used for taking two or more inputs, and providing a single output representing the logic AND operation on those inputs. The purpose underlying the question is the opposite: To take a single input (from the Arduino pin) and drive two outputs. Hence, no rationale for using an AND gate
The classic 7400 series TTL logic gates have recommended operating conditions of merely 16 to 22 mA per output (current sink) depending on manufacturer. See the 7408 AND gate for instance. In other words,
They will not sink enough current for two IR LEDs if the output is used as a low-side switch, with the LED between output and the (presumably) 5 Volt supply. (actually they will sink up to 55 mA in short-circuit, but that is beyond recommended safe operating area)
Many 74 series gates will not provide a high side output of any significance for turning on LEDs connected between output and ground - they are designed to be used with a pull-up resistor on the output pin.
Note that some variants of the classic 74 series logic parts can both sink and source current, and there are even some that can deliver outputs in the ampere range. For instance, the 74595 shift register has an equivalent, the TPIC6595, which sinks 1.5 Amperes pulsed current per pin.
If the intention is to operate LEDs from the output of a 74 series gate, this won't work the way the output of the Arduino works: The LEDs would have to be connected on the Vcc side, with cathode at the logic gate output, and the output logic will need to be inverted in code.
So, in short, the 7408 AND gate is neither a viable nor a justifiable approach to solving the problem.
Why not just drive the LEDs with a transistor (NPN or MOSFET) - they have a much higher current drive capability.
Good Day, I am trying to build an IR system that works via the Arduino. So far, it works great. However, I want to have one IR Led on the back of my device and one in the front. However, the Arduino pin only supplies 40mA max. Hence, when I used on I
I've built an array of Infra Red LEDs on a 4x4 grid. I want to get the most power out of these LEDs as I can, but I'm scared I might burn them out. Right now, I'm using 2AA batteries (1.5V each), which is powering the array. First of all, the startin
I was wondering if there is any difference between an infra-red phototransistor and a normal phototransistor. I was also wondering if either of these would be directly compatible with an Arduino? For example, I'm looking at this phototransistor. It's
I have a canon T2i and wondering if I can take some IR photos. --------------Solutions------------- To an extent yes your camera can support IR photography. It has an IR filter but if you mount a visible light blocking filter on the lens and use a lo
For our warehouse, we need to build a range finder for monitoring purposes. We have the following constraints: Use infra red lasers only Range should be at least 30 metres Only class 1 lasers permitted We would be glad if you could tell us about the
Is there a raytracer which can render images with more than the visible colors? I'm especially interested in ultraviolet and infrared but support for the full frequency spectrum would be nice, too. --------------Solutions------------- To realisticall
I am new to the photography world and own a Canon 600D, I quite like some of the infra-red shots I've looked at. Is there a special lens required or does the camera need to be modified by other means such as mirrors/sensors? Forgive me but I lack the
I'm looking at making a reflow oven and have just found out the toaster oven I have bought uses a standard conduction heating element rather than infra-red. The knob used for temperature control goes up to 250˚C - so should be high enough for the lea
i want to control infra red short wave heaters 230v,2kw, with some electronic device, it is an open loop system,where i want to give analog signal to heater from 0 to 100% . i cant take Thermocouple or RTD or any temperature feedback from heater,due
We use red light for high speed videography. currently we use a Tungsten light source with a Red filter. Unfortunately, the Tungsten light source creates too much heat for our laboratory use. We want to find an alternative light source for our videog
Background : I use near infra-red imagery to delineate wetlands and water bodies with good success. It's also obvious to distinguish between new healthy vegetation and older growth and land areas with no vegetation but i need to devide vegetation int
I'm wondering if I can find a cheaper source of ND filters that work in the near infra-red (out to ~800nm.) We have been using Kodak Wratten Gel filters. (ND 0.70) We originally purchased large sheets, but they now come in only smaller (and more expe
I've just got a new computer (Fujitsi-Simens Amilo Xi 3670). It came with a remote control for windows Vista. Is there any way to make it work with Ubuntu 14.10? --------------Solutions------------- Yes there is: (I have a Siemens too so both experie
Forgive me if this seems like a basic question but I want to make sure I wire these things up correctly. Currently, I have several LED strips that I am controlling with an Arduino and they are powered by a separate 5v DC power adapter. In that case I
Recently I have been trying to interface with the MLX90616 an infra red temperature sensor by Melexis. After reading the datasheet I have I have written a program to take the object temperature readings via the on board SMBus. Everything on my end se
I have 12 of these LEDs and a 5v Arduino Pro Mini - like this one. This is going to be a very small project I need the smallest power source possible for this. Would I be able to run this with a few coin cell batteries? --------------Solutions-------
I have 8 LEDs lined up on a breadboard, and I am trying to make them run from one end to the other and back, sorta like the lights on KITT (from night rider - hope that clarifies). the LEDs are all set up and correct and work. I have set up my code l
I'm trying to make a project using the Arduino ADK board and a Sony Ericsson Xperia Play running Android 2.3.4. For starters all I want to do is blink a LED from my Android device, using the nice tutorial found here. I managed to compile the Android
I'm fairly new to Arduino and C++ in general, coming from a heavy Python background. The code below is functional, but my lack of C++ knowledge is keeping me from spotting any errors in style, idioms and other good practices. Not all of the library c