go away spammer

Author Topic: What is the difference between a color sensor and an IR sensor?  (Read 6298 times)

0 Members and 1 Guest are viewing this topic.

Offline s2kwakTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Hello,

I am just starting new, and I need to make a sensor to differentiate the colors of bubble gums (I am making a bubble gum sorter, 5 different colours).

I noticed that the color sensor uses a normal LED and a photoresistor, whereas the IR sensor uses a IR LED and a phototransistor.

Can the IR LED and phototransistor also differentiate color?

Also, can you use a 'visible light' LED (non IR) with a phototransistor?

Offline AndrewM

  • Robot Overlord
  • ****
  • Posts: 254
  • Helpful? 0
    • I Am.  When?
Re: What is the difference between a color sensor and an IR sensor?
« Reply #1 on: March 26, 2008, 03:06:36 PM »
"Color" is part of the visible light spectrum, while IR (and UV) is outside that range and thus have no "color" to detect (actually IR is a color, just not visible to the human eye and not available from crayola).  IR LEDs and sensors work in the IR range of light and ignore the visible color range, so you could not use one reliably to determine different types of bubble gum.

It would depend on the type of phototransistor as to whether you can use a visible light LED with it.  If the phototransistor is geared for the visible light spectrum, then yes, if it is geared for IR, then no.
blog: www.iamwhen.com
Saving the world from humanity one robot at a time.

 


Get Your Ad Here