IR Sender distance

I'm using high output IR LED from radio shack.

  • Forward voltage (V): 1.28V, rated at 100mA

and using a right resistor based on LED calculator: current limiting resistor value

  • 39 ohm, 1W

Arduino(pin 3)----resistor ---- (+) IR LED (-) --- GND

I have realized that the distance which the device catches the signal correctly is less than 1m.

Is that right situation?

common remote controller provides at least a few meters. Can you give me any idea?

Is that right situation?

Yes

common remote controller provides at least a few meters. Can you give me any idea?

Because they use modulated IR light and a sensor that includes an amplifier that amplifies only modulated light and not continuous interfering light.

Look at a sensor TSOP38 for an example of a modulated IR light sensor.

Grumpy_Mike:

Is that right situation?

Yes

common remote controller provides at least a few meters. Can you give me any idea?

Because they use modulated IR light and a sensor that includes an amplifier that amplifies only modulated light and not continuous interfering light.

Look at a sensor TSOP38 for an example of a modulated IR light sensor.

Thanks for your information.

Is there any commercial site where I'm able to purchase it and simply connect it to Arduino?

You haven't said what you want to do with it.
Do you want to send code or do you want to detect a beam breaking?

Grumpy_Mike:
You haven't said what you want to do with it.
Do you want to send code or do you want to detect a beam breaking?

I'm sorry for that.

I want to send codes to control TOSHIBA projector now. But the device could be any IR devices.
I successfully decode IR codes and send it via Arduino. I tested it and see that the decoder on Arduino is able to catch the signal correctly within short distance. The only concern is the available distance between IR transmitter and the projector.

According to your reply, I may need to purchase the modulated IR transmitter and connect it to Arduino on my purpose.

OK that changes things. The problem with not providing enough information is that you get poor answers.

As your system is working but the range is poor then you must have the code right so:-
If you are sending codes to a remote device you have to send exactly what that device wants. There are two major things:-

  1. The wavelength of the IR produced by your diode must match the peak response wavelength of the receiver. That is you have to pick the right IR diode not any IR diode. Otherwise the range is poor.

  2. If the receiver is expecting modulated IR then it won't work with unmodulated light, so your code must be producing that. Sorry but I didn't notice that the setup you had is actually drawing too much current out of the arduino pin with the result that you are damaging your arduino and you are not producing all the IR light your diode can produce. Therefore you need to drive the IR LED with a transistor.

Grumpy_Mike:
OK that changes things. The problem with not providing enough information is that you get poor answers.

As your system is working but the range is poor then you must have the code right so:-
If you are sending codes to a remote device you have to send exactly what that device wants. There are two major things:-

  1. The wavelength of the IR produced by your diode must match the peak response wavelength of the receiver. That is you have to pick the right IR diode not any IR diode. Otherwise the range is poor.

  2. If the receiver is expecting modulated IR then it won't work with unmodulated light, so your code must be producing that. Sorry but I didn't notice that the setup you had is actually drawing too much current out of the arduino pin with the result that you are damaging your arduino and you are not producing all the IR light your diode can produce. Therefore you need to drive the IR LED with a transistor.

Thanks.

I have checked the communication between the IR transmitter on Arduino and the Projector. It works well within short distance.

Sometimes it generates unexpected signals although the code is correct.

For this reason, I'm assuming that the signal from Arduino is right.

Now, I worry if my Arduino is damaged from the poor couple of test before. I will test it with a transistor.

BR

Hi,

This brings up an interesting point: What's the best way to drive a typical 38KHz ir signal from arduino??

How about a 555 driving an IR LED and gated by the Arduino??

Anyone seen an example??

[The rumors are not true that I get a commission on 555 sales, and I did not invent it, although I'm old enough to have done that, and wish I had!]
---( updating)----
OK, Two things:

The easy way: http://arduino-info.wikispaces.com/InfraredBeamPair

Or DIY 38 KHz transmitter:


For us guys who already had to learn that mmfd became Picofarads, 1 Nanofarad is .001 Microfarads.

You can drive an Infrared LED pretty hard directly from the 555 output, without the driver transistor shown here.

You can 'key' or send data by connecting and Arduino output to Pin4 (reset)...

For a receiver, you need one of those low-cost (50 cents or so) 38khz receivers, like this:

terryking228:
Hi,

This brings up an interesting point: What's the best way to drive a typical 38KHz ir signal from arduino??

How about a 555 driving an IR LED and gated by the Arduino??

Anyone seen an example??

[The rumors are not true that I get a commission on 555 sales, and I did not invent it, although I'm old enough to have done that, and wish I had!]
---( updating)----
OK, Two things:

The easy way: http://arduino-info.wikispaces.com/InfraredBeamPair

Or DIY 38 KHz transmitter:


For us guys who already had to learn that mmfd became Picofarads, 1 Nanofarad is .001 Microfarads.

You can drive an Infrared LED pretty hard directly from the 555 output, without the driver transistor shown here.

You can 'key' or send data by connecting and Arduino output to Pin4 (reset)...

For a receiver, you need one of those low-cost (50 cents or so) 38khz receivers, like this:

Thanks for all your information. I will check it out.

Here is my current update.

  • high output IR LED from radio shack. Forward voltage (V): 1.28V, rated at 100mA, 940nm
  • IR detector, PNA4602: 38 KHz, 940nm
  • I wired all right stuffs on Arudino, ex) right ohm and transistor. Plus, I used well known IR library to send and receive IR signal.

I measured the distance between receiver and transmitter.

I find that it catches expected IR signal within 4~5 meters.

Thanks