You'd only be able to draw about 2.5mA from the printer port. Typically a resistor in series with the LED sets the current. Find out the operating voltage of the LED, subtract it from the 5V available on the port and divide by the LED's specifide curret requirments and you have the value of resistor needed. If you want to drive more than one LED, you'd need an external buffering circuit with it's own power source. I prefer running LEDs in parallel. LED's are not exactly the same in terms of current draw so running them with their own limiting resistor is preferred.johnsfine wrote:If you want to run long wires from your printer port all over the room, I guess it isn't harder for the PC to support up to a dozen instead of one.
I was assuming one IR output aimed at several devices across the room.
When I did such things long ago on much slower computers without Windows (so latency was entirely under my control) I found it much easier to use a pair of IR LEDs wired in series rather than just one. That reduced aiming problems, and the hardware person helping me at the time said the higher voltage across two series IR LEDs made the current control simpler. Just currious if you have an opinion on that one. I have no idea now how you do current limiting for an IR LED powered by the printer port.
My PC and all the AV equipment are mounted in a rack. I have one master IR emitter with two IR LEDs sitting about 3 ft in front of the rack and are, at present fed by a wired repeater for control from other rooms. Works great. I just want to throw the PC into the picture as an additional control device.
Steve