Author
Topic: Green LED and IR (Read 3860 times)

If you use an IR transmitter / reciever for line detection , you could shine a green LED or maybe red LED on the floor. Then the IR would detect different shades of green or red , perhaps lowering sensor noise from sunlight and probably giving better readings!

sometimes, infrared light will also be emitted with other light colours. This is a by product of a light emitting devices inefficiency. Any use of this type of system will be inefficient and will vary a lot from product to product. so 1 red led might produce 2% ir light but try with a different red led and the results will change.

ir emitters / detectors generally work on a wavelength of around 800 - 950 nm a green led has a wavelength of around 565nm and so it is not within the range of the ir detector, only some kind of by product would be and that by product is an inefficiency and cant be trusted to provide accurate data

the problem is that different materials will produce different ir reflections. it doesnt matter about the colour. green paper and green plastic will produce 2 different ir readings, you are probably best with a phtoresistor

Your IR detector isn't detecting "green", it's detecting the IR absorption/reflectance of the particular green material being used (which is why you cannot use a green LED as your light source, because otherwise your IR detector will have virtually no signal to detect). If you want to be sure you're seeing green, you should use a photoresistor.

I really don't like using IR for the simple reason that it's hard to debug what you can't see . . .

It can be annoying, though you can often use cheap digital camera displays to see IR (also, you can buy some paper that glows when IR light hits it--I used this stuff to align arms of some IR laser interferometers).

paulstreats means you can use LEDs as color-specific photodetectors by measuring the currents they generate as they absorb photons. A green LED will generate current when hit by green photons, a red led when hit by red photons, etc.

meaning that you can use a green led to emit light and also a green led to detect light within the green leds specified wavelengths. so if you use a white light to emit, then a green, red and blue led to detect you can see any visible colour with a bit of programming . ps. yellow is a mix of green and red

the only way to detect a specific substance is to use the rgb system, and get calibration data fiirst. then store the calibration data, and when your bot detects the same data it means it is detecting aluminium foil

Conductors reflect light. How well they reflect depends on their conductivity and their thickness. Aluminum tape will, for the most part, very effectively reflect all wavelengths of light in the visible spectrum, which means it doesn't matter what color LED you use as your light source.

For the most part, aluminum tape will look a lot like a white surface, except that the reflection angle off of aluminum will depend on the angle of incidence of the incoming light. White surfaces absorb incoming light and then reradiate it in all directions, so there isn't any one direction of strong reflection.

I want to detect when there is green tape on the ground and when there is aluminum tape. Any other color I do not care about.

What would I need to do this ?

From the previous posts I'm guessing one green LED ,one photoresistor, and one red LED.Correct?

I want to thank you guys for your help. I now understand the whole color thing , and I just want to make sure that I'm doing it right.

I am working on a robot for a competition and the line sensors are not detecting the green tape and aluminum tape properly. Everything else is basically finished. Stupid colors ( which are just a figment of my imagination ,lol)

i would use 1 green led, 1 red led and 1 blue led.if you calibrate your system with the aluminium tape, you will get a reading from all 3 leds, this reading will be around the same all of the time for aluminium foil.To detect something green is easy, if yu have a white light shining on a green material, the green led will produce a greater output than the red and blue leds