Author Topic: color sensor  (Read 3126 times)

0 Members and 1 Guest are viewing this topic.

Offline flamesTopic starter

  • Jr. Member
  • **
  • Posts: 8
  • Helpful? 0
color sensor
« on: May 18, 2010, 08:39:38 AM »
hi,

i'm intending to make an autonomous robot that will take a colored ball and bring it to a box with the same color.

i want to ask about the color sensor. how does a color sensor work? what is its output? is it voltage or frequency? and which type should i buy for the color sensor?

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Re: color sensor
« Reply #1 on: May 18, 2010, 10:25:52 AM »
There are roughly three billion types of color sensors. Which one do you have in mind?  ;)

The most basic way would be to take 3 different light sensors that are sensitive to different wavelengths of light.

Offline flamesTopic starter

  • Jr. Member
  • **
  • Posts: 8
  • Helpful? 0
Re: color sensor
« Reply #2 on: May 18, 2010, 12:14:05 PM »
ya, i just need the basic one. is it better to build it ourselves or buy it?

since after some reading about color sensor from this website n forum, i found out that it is quite easy to build but note easy to implement, as how will the output be? is it in analog voltage or what? and does the output correspond to the color's frequency linearly?

Offline macdad-

  • Robot Overlord
  • ****
  • Posts: 132
  • Helpful? 5
    • LoneWolf's Circuits
Re: color sensor
« Reply #3 on: May 19, 2010, 07:49:54 PM »
I have tested this before and reversing an LED works as a great color sensor(only produces volts when light of its own usual emission wavelength is applied). I got this idea from here:
http://www.robotroom.com/ReversedLED.html

Note: The voltage output from the LED is relatively low(about 0.8-1.5 volts depending upon how much light is shined upon it), you may want to use an Op Amp, or just a low voltage transistor.
« Last Edit: May 19, 2010, 07:51:14 PM by macdad- »

Offline flamesTopic starter

  • Jr. Member
  • **
  • Posts: 8
  • Helpful? 0
Re: color sensor
« Reply #4 on: May 23, 2010, 10:02:13 AM »
But how far the object needed to be from the LED so the LED can detect it?

Offline macdad-

  • Robot Overlord
  • ****
  • Posts: 132
  • Helpful? 5
    • LoneWolf's Circuits
Re: color sensor
« Reply #5 on: May 23, 2010, 12:39:56 PM »
With my test with standard brightness, standard current draw, etc LEDs, the source has to be atleast 2 inches away to get a maximum voltage output from the LED. I'm not sure about high brightness LEDs and such with their reverse-color-sensor attributes.

The maximum output I got from a LED held 2 inches away from my Desk Lamp(The LED was a Yellow LED, and the desk lamp was a halogen), was about 1.2 Volts. Give or take .2 volts

 

SMF spam blocked by CleanTalk