It would be easy to understand if you imagine a robotic vacuum cleaner. (For some models) It goes back to a specific place automatically to recharge. Like this, I want to make a robot which automatically goes to the place where a specific signal(like infrared ray) is emitting. Following is the scenario that i've imagined.

1.Set the IR emitter in a specific place of a room. It always emits Infrared ray.

2.I connect 4 IR receiver to my 4WD robot car - front, left, right, and back side.

3.They receive IR from the emitter. I earn the distance from the emitter to each receiver with the intensity of IR.

4.With these values, Arduino find out which receiver is closest from the emitter and choose the direction to go.

But I could't know this will be possible. Because IR is a kind of light ray, so I can't get the distance with the difference of arrival time(like Ultrasonic). I searched several kinds of IR sensors, but they were only for sensing the possibility of collision.

So my question is these..

  1. Can I get the distance and the direction from IR emitter to my arduino device with an IR receiver?

  2. If I can, then how many IR receivers do I need? And if I can't, what can I use to substitute IR emitters and receivers?

  3. I guess IR can be interrupted because of sunlight or other light. So I guess I need some daylight filter. Do you think it's essential??

  • $\begingroup$ Having looked at using IR for other projects I believe there is substantial conflict in the information that is returned to the sensor due to natural IR (the Sun). $\endgroup$ – Dopeybob435 Dec 16 '14 at 18:58

If you use several IR receivers (say, 9 of them) spaced out over a $90^\circ$ arc at regular intervals, you will have constructed a makeshift sensor for detecting the angle of a remote IR emitter. Between that and moving (and/or rotating) known distances with your vehicle, you should be able to triangulate the location of the nearest IR source.

  • 1
    $\begingroup$ They could use just one sensor and periodically spin 360 deg to measure the direction to the emitter. They would probably need encoders on the wheels as well. $\endgroup$ – holmeski Jan 13 '15 at 0:38
  • $\begingroup$ That's very true. This project seems designed for simplicity, so I suggested the option with fewer moving parts. But a mechanically-scanning version would certainly provide greater accuracy. $\endgroup$ – Ian Jan 16 '15 at 17:44

You can use time of flight to calculate the distance of an object using infrared; this is very commonly done. Some good, cheap IR sensors are sold by Sharp. You'll have to linearize the output to compute the actual distance as shown here: http://www.acroname.com/articles/linearizing-sharp-ranger.html.

You can operate the IR emitter used to find the parking spot at a different frequency than the IR emitters used for computing distances and then band-pass filter both to make sure there is no interference.

You should be able to drive towards the parking spot with just a single IR, turning in order to maximize the signal strength. Two would probably work better, where you turn in order to make the IR intensity on both equal (these would be placed in the front of the vehicle, probably similar to where headlights would be placed).

I believe the Sharp IR rangers already do some filtering, but I'm not sure as to what extent. In terms of sunlight, there's a ton of discussion about this topic if you just google it.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.