how to control the range of a IR signal

Ya’akov

Joined Jan 27, 2019
10,372
By the way, you might want to consider using ultrasonic signals instead. It has become a more common way of letting devices know about what is in the room.
 
Last edited:

Tonyr1084

Joined Sep 24, 2015
9,744
@DickCappels I had that similar thought.

Many years ago I took a photo transistor (with glass lens on top) and installed it inside an antenna tube. The effect was to allow light from a very specific area. A shorter tube would increase the area viewable by the PT. Shaping the end of the tube would allow light from greater angles in one direction (left and right) while reducing the amount of light from a reduced angle (up and down). But I don't know if the TS wants to start modifying all these devices with tubes or other lens blockers.

The motion sensor light switch in the basement laundry room used to trigger every time I walked through the hallway. To stop the false triggering I simply put a small piece of black electrical tape over part of the lens. Walking into and out of the field of view helped me determine exactly where to set the tape.
 

Ya’akov

Joined Jan 27, 2019
10,372
@DickCappels I had that similar thought.

Many years ago I took a photo transistor (with glass lens on top) and installed it inside an antenna tube. The effect was to allow light from a very specific area. A shorter tube would increase the area viewable by the PT. Shaping the end of the tube would allow light from greater angles in one direction (left and right) while reducing the amount of light from a reduced angle (up and down). But I don't know if the TS wants to start modifying all these devices with tubes or other lens blockers.

The motion sensor light switch in the basement laundry room used to trigger every time I walked through the hallway. To stop the false triggering I simply put a small piece of black electrical tape over part of the lens. Walking into and out of the field of view helped me determine exactly where to set the tape.
He's said he wanted the range under software control.
 

Tonyr1084

Joined Sep 24, 2015
9,744
One thought I had earlier but dismissed was to use two different types of sensors. Say a PIR and the IR detector. But I dismissed that because it would be possible that a person at door A might transmit the signal while another person is standing at door B. But a new thought occurred to me - two IR receivers, one left of the door facing right and the other one to the right of the door facing left. Only when signal is received by both sensors at the same time will the door open. The sensors on the doors down the hallway will see one of the two signals and ignore it. In that case, limiting the range of the IR transmitter becomes moot.
 

Tonyr1084

Joined Sep 24, 2015
9,744
@Yaakov I recall that. However, I got the impression that was one possible solution. Since I'm not good with software I started considering other approaches using hard wire and logic.
 

MrSoftware

Joined Oct 29, 2013
2,280
I'm not sure if this will suit your needs, but as mentioned above you can adjust the strength of the IR output by changing the current to the IR LED's. Do it simply with resistors and a selector to select which resistor is used, or more complicated with an analog gain circuit and a pot, or digi-pot if you want to control it via software.
 

Tonyr1084

Joined Sep 24, 2015
9,744
Here's where I got the impression he wasn't locked into any one solution:
I would like to be able to control the approximate range of IR signal. How can I best do that?
Anyway, I got chores to do. Laundry - carve the pumpkin - put up Halloween lights - get the candy bowl ready (and keep the wife away from it). If time allows, fill in the nail holes on the crown molding, fill in the gaps at the corners and seams along tops and bottoms. And if time still allows, take pictures for a thread where I'm asking for help fixing a TV. But lets stay on topic here.
 

BobTPH

Joined Jun 5, 2013
11,680
I got the impression the TS is talking about a building with several doors. Each person who has access carries an IR transmitter. When they approach the door they trigger the door to unlock - maybe even open. H
Read post #7. That is not at all what he is asking for.

Bob
 

BobTPH

Joined Jun 5, 2013
11,680
After a little more thought, I think I understand what he is trying to do.

There are portable devices carried around in the building. He wants them to know what room they are on by receiving a unique code from a transmitter in each room. If the doors are open, he does not want the signal to leak into another room and confuse the devices in that room.

OP - is that correct?

Bob
 

hexreader

Joined Apr 16, 2011
619
Seems to me that the OP wants to have IR light stop at an open door.

IR light is much the same thing as visible light, just not visible to humans.

So by analogy, how would you stop room light at the door, such that the light does not leak into the corridor. No obvious solution to this problem that I can see.

Not sure if this helps, but maybe gives a different perspective on the problem.

Clarification from OP might save a whole lot of guesswork. Ultimate goal seems to be a secret.
 
Last edited:

Tonyr1084

Joined Sep 24, 2015
9,744
After a little more thought, I think I understand what he is trying to do.

There are portable devices carried around in the building. He wants them to know what room they are on by receiving a unique code from a transmitter in each room. If the doors are open, he does not want the signal to leak into another room and confuse the devices in that room.

OP - is that correct?

Bob
Hospitals have this sort of sensor, they know where their nurses are at all hours, every minute. So if they neglect to check in on a critical patient and something happens to that patient - the hospital knows who did not go there. Or if someone DID visit and it can be proved that a patient's harm was not caused by neglect - - -.

Not so sure how I got the idea the TS wants (TS = Thread Starter and OP = Original Poster) wants to open a certain door without affecting nearby doors. But to @hexreader's comment, the effective range of a transmitted IR signal diminishes with distance. So in that way it's not so similar to ambient light. Besides, ambient light can wash out an IR signal if the signal is weak enough so as to not trigger a neighboring door. Again, I'm with the "Door" thing. Would be nice if the TS would clarify for us.
 

hexreader

Joined Apr 16, 2011
619
the effective range of a transmitted IR signal diminishes with distance. So in that way it's not so similar to ambient light.
Ambient light intensity gets weaker with distance too. How is it not similar?
If I leave the kitchen light on and leave the kitchen door open, the hall gets illuminated (dimly). Neither kitchen light, nor IR light (even modulated or encrypted) stops at the open doorway.
 
Last edited:

MrChips

Joined Oct 2, 2009
35,333
1) TS needs to think of visible light instead of IR. Imagine a light bulb or flashlight (torch if you are Brit).
You can control range by adjusting current, transmission filters, beam angle/direction, and/or collimation. None of those will provide selectivity on a reliable and consistent basis.

2) LiFi is being used which will communicate with multiple devices using light in the visible, UV, and/or IR spectrum.
Selectivity is implemented in software by assigning unique ID codes to each device.
 

BobTPH

Joined Jun 5, 2013
11,680
No matter what he is trying to do, the answer to the TS’s question is that you can control the strength of the signal by controlling the current to the LED. The range of the signal depends on many other things, including surfaces and objects that reflect the IR.

You cannot use PWM to control it because the signal itself must be a PWM signal.

Bob
 

Alec_t

Joined Sep 17, 2013
15,172
What I really need is a way to control the strength of the signal of the IR signal, so I can adjust it while setting it up. According to my test, controlling the supply voltage is the best way to go so far, am I correct?
Control the current through the LED, not the voltage applied to it.
 
Top