I'm finding though that it's a bit unreliable. I have to have the camera very close up to make it work. I've tried swapping a ordinary red LED for the IR one, and even when turned on continuously it seems rather dim. Should I try a different resistor value to the 100 ohm? Thanks,
You can't drive a high-power IR LED directly from an Arduino pin. They might require about 100 milliamps of current and the Arduino can only supply 40 milliamps. A small NPN transistor can be used to switch the higher current. A Google search for Arduino high current should turn up a diagram.
The one I'm using says it has a 1.5VDC forward voltage and 50mA max forward current. I was thinking about adding a transistor though, so will look into that. Thanks,