i need a tutorial to program an IR sensor (not ic) for differentiating colors ..for my line-following bot
i need a tutorial to program an IR sensor (not ic) for differentiating colors ..for my line-following bot
I agree with YT2095, an IR sensor will not readily do what you want.
If you want your line following robot to switch to different colored lines, you might want to just go to different line widths. These will be easier to determine with simple sensors and software.
To do color discrimination, you need to include spectral filters and a good full color illuminator.
One simple way to achieve a color discriminator circuit, would be to use a white light illumination source and pass the resulting image through a set of Dicloric (not sure about this spelling) filters. These would give you a blue, red and green signal that you could pass to inexpensive lead sulfite light sensors. You can get the filters from surplus stores. They were used in the early TV cameras to get RGB images to combine for color television.
To do this level of spectral discrimination in IR, you need specialized filters, which are very expensive.
Hopefully this post can help you decide what approach might work for your application. If you tell us more about what you want to do, we could probably give you some better suggestions.
DAB
I agree with YT2095, an IR sensor will not readily do what you want.
If you want your line following robot to switch to different colored lines, you might want to just go to different line widths. These will be easier to determine with simple sensors and software.
To do color discrimination, you need to include spectral filters and a good full color illuminator.
One simple way to achieve a color discriminator circuit, would be to use a white light illumination source and pass the resulting image through a set of Dicloric (not sure about this spelling) filters. These would give you a blue, red and green signal that you could pass to inexpensive lead sulfite light sensors. You can get the filters from surplus stores. They were used in the early TV cameras to get RGB images to combine for color television.
To do this level of spectral discrimination in IR, you need specialized filters, which are very expensive.
Hopefully this post can help you decide what approach might work for your application. If you tell us more about what you want to do, we could probably give you some better suggestions.
DAB