He's said he wanted the range under software control.@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.
I think he wanted a physical mechanism that could be managed in software. Hence, his attempts at PWM or drive for the LED.@bug13 are we limited to software solutions only? If so I'll back out and let those who know software reply.
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.I would like to be able to control the approximate range of IR signal. How can I best do that?
Read post #7. That is not at all what he is asking for.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
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 - - -.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
Ambient light intensity gets weaker with distance too. How is it not similar?the effective range of a transmitted IR signal diminishes with distance. So in that way it's not so similar to ambient light.
In that case, though, it is reversed, The nurses device has the unique ID.Hospitals have this sort of sensor, they know where their nurses are at all hours, every minute.
Control the current through the LED, not the voltage applied to it.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.
See post #17If you want to limit the distance of a transmitted IR signal, just adjust the current going to the IR LED. NO ? ? ? Higher resistance will drop the current and those sensors that are further away will not get enough signal to recognize the ID.