I am in desperate need of help. I have over-promised to a group of cub scouts and now I am afraid I can’t deliver. I am working on a digital timer for a pinewood derby race that is scheduled for Wednesday evening and I need to solve this problem by then.
I am using the schematics provided by http://www.miscjunk.org/mj/pg_pdt.html to build the hardware. It is a Arduino Uno-base timer that feeds data back over a USB port. I thought everything was working great, but over the weekend in final prep, I discovered I am only getting about 3 inches of range between IR emitter and detector. I am using the emitter and detector set from Radio Shack. (276-0142 http://www.radioshack.com/product/index … Id=2049723)
After significant effort to debug the hardware, I think I have it narrowed down. The emitters are working as far as I can tell. The voltage and amperage on that circuit seems to be fine.
I believe the problem is the amperage on the detectors. Each detector is connected between a digital pin and ground on the Arduino. The power on that circuit is 4.4 V @ 0.2 mA according to my multimeter. The package for the detector says forward voltage should by 1.2V @ 1mA. (I am a bit surprised that the 4.4 volts haven’t burned out the detectors, but they have consistently worked as long as the emitter in within 3")
So my question is this: How do I drive the detectors at lower voltage but higher amps? Can I use a pin on the Arduino (I have 1 available pin/detector) to drive a transistor (MOSFET?) to switch the detector on a lower volt/higher amperage circuit? I believe this is possible, but I am in way over my head.
The Arduino has two always on power pins:
3.3V @ ~= 400mA
5.0V @ ~= 700mA
I am currently using the 5V pin to power my emitters as shown in the schematic referenced above. It runs through a 68ohm resistor, stepping the amperage down to about 70mA. That is also out-of-line with the spec on the package, which says it should be driven at 1.2V @ 100mA.
As I said, I am in way over my head and will need pretty explicit instructors on how to create a different circuit.
Thanks in advance!
David.