Author Topic: IR Sensors vs. PhotoSensors  (Read 3336 times)

0 Members and 1 Guest are viewing this topic.

Offline nathan25Topic starter

  • Jr. Member
  • **
  • Posts: 32
  • Helpful? 0
IR Sensors vs. PhotoSensors
« on: November 23, 2007, 11:48:41 PM »
Which would you put on your robot. the IR sensors or the Photosensors. I'm having problems with the photosenors and i want to know if it would be worth it to switch. Tell me why i should.

Thnxs
Nate
I design robots to take ovr the Universe

Offline frank26080115

  • Supreme Robot
  • *****
  • Posts: 322
  • Helpful? 2
Re: IR Sensors vs. PhotoSensors
« Reply #1 on: November 24, 2007, 01:53:55 AM »
A little something I read from http://www.robotroom.com/ColorSensor.html

Quote
Speed Limitation

Only two or three complete color readings can be performed per second. The cadmium-sulfide photocell needs time to react to the brightness changes.

So switch to IR if you need to be fast.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: IR Sensors vs. PhotoSensors
« Reply #2 on: November 24, 2007, 10:10:32 AM »
Depends a lot on what you want to sense, environment, algorithm, etc :P

Offline Fredrik Andersson

  • Robot Overlord
  • ****
  • Posts: 216
  • Helpful? 0
Re: IR Sensors vs. PhotoSensors
« Reply #3 on: November 24, 2007, 01:13:33 PM »
Light sensors can't give environment data that you can rely on. If it's light, it doesn't have to mean there is nothing in the way (a lamp or a very white surface for example). IR however always give the same data, whether or not there are light or shadow.

If you want a robot that can avoid obstacles you should go for an IR sensor. You can still have light sensors however, and make it attract to lighter areas and still being able to avoid obstacles correctly. I recommend you buying an Sharp IR sensor rather than building a sensor yourself, because that way you can get accurate distance data.
« Last Edit: November 24, 2007, 01:15:52 PM by Fredrik Andersson »
Current project: Pirrh - Portable Intelligent Round Rolling Hexapod

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: IR Sensors vs. PhotoSensors
« Reply #4 on: November 25, 2007, 06:32:56 AM »
IR however always give the same data, whether or not there are light or shadow.

Thats not necessarily true , sunlight does affect IR readings.


It all depends what you want the sensors for ; obstacle avoidance or line following or color

I would suggest IR for all three, except obstacle avoidance where I am partial to sonar.

But i've used IR for ranging and it worked fine ( but sonar was better  :D )


EDIT: Also remember to enclose the IR sensors , as not to screw up the readings.
« Last Edit: November 25, 2007, 06:34:57 AM by airman00 »
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline Fredrik Andersson

  • Robot Overlord
  • ****
  • Posts: 216
  • Helpful? 0
Re: IR Sensors vs. PhotoSensors
« Reply #5 on: November 25, 2007, 07:29:16 AM »
IR however always give the same data, whether or not there are light or shadow.

Thats not necessarily true , sunlight does affect IR readings.

Yep, i know. Just thought it would confuse, because they work in totally different ways. IR uses its own ray as reference, and doesn't sense the amount of light but the angle (when speaking about the Sharp IR sensors that is) the light is reflected at.

Here you can find a lot of useful information about IR sensors: http://www.solarbotics.net/library/circuits/sensors_prox.html
Current project: Pirrh - Portable Intelligent Round Rolling Hexapod

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: IR Sensors vs. PhotoSensors
« Reply #6 on: November 25, 2007, 08:34:50 AM »
Despite what people believe, I discovered that sunlight actually does affect readings of the Sharp IR. They are resistant to environmental light, but not immune.

An urban legend in robotics dies today :P

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: IR Sensors vs. PhotoSensors
« Reply #7 on: November 25, 2007, 10:11:26 AM »
I know about sunlight affecting it - even if it is indirect


But would fluorescent or incandescent lighting have affects on the readings?
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: IR Sensors vs. PhotoSensors
« Reply #8 on: November 25, 2007, 10:51:51 AM »
Quote
But would fluorescent or incandescent lighting have affects on the readings?
If your lightbulb gets warm/hot, that means its emitting infrared light, and as such interfering with your sensor.

But I'd say the interference would be minor - just run an experiment and see how it affects your reading.

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: IR Sensors vs. PhotoSensors
« Reply #9 on: November 25, 2007, 11:18:02 AM »
Yes ,but then the experiment would have to be in an extremely dark room ( besides the backlight of the LCD to see the readings)

What I've found is that if the room is filled with sunlight ( meaning it has windows and its a sunny day) , the IR reading would be slightly affected. Thats why you would have to cover it to prevent any light from coming through.

If your lightbulb gets warm/hot, that means its emitting infrared light, and as such interfering with your sensor.

LOL , i forgot that heat emits IR light . Its been a while since I played with heat / human detection.....
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline Robotboy86

  • Robot Overlord
  • ****
  • Posts: 139
  • Helpful? 0
Re: IR Sensors vs. PhotoSensors
« Reply #10 on: November 27, 2007, 11:01:02 AM »
my understanding is that the sharp's IR is modulated to help resist enviromental noise such as the sun/hot lights or lamps.  In my experience with them they are fairly accurate outside in phoenix sun during the summer BUT when reviewing some of the data's log I see occassional spikes and such.  I never really saw situations where it would consantly off and make an "artifact" in the readings.. 

With some mild programming knowledge/common sense you could easily filter out most of the noise. 

 


data_list