logo elektroda
logo elektroda
X
logo elektroda

Best Off-the-Shelf Sensor for Detecting Green LED vs Red or White in Industrial Setup

657 9
Best answers LABEL_AI_GENERATED

How can I detect whether a green LED is on, while ignoring red or white LEDs, in an industrial setup with an off-the-shelf sensor?

An off-the-shelf RGB color sensor based on an AMS chip is the most direct fit, because these sensors can separate primary colors and can be used for emitted light as well as reflected light when paired with a microcontroller [#21681327] [#21681329] The Adafruit RGB sensor board is one example; its sensitivity can be adjusted over a very wide range, and if the direct LED signal is too strong or too weak you can change sensitivity or add a neutral-density filter [#21681329] A lower-cost DIY alternative is to use a green LED reverse-biased as a detector, since a green LED responds to blue and some green light but not to red or yellow light; however, white light is still a problem because it contains all colors [#21681325] To distinguish green from white, the thread suggests using three LEDs (R/G/B) plus a small microcontroller to compare the responses [#21681325] Another off-the-shelf option mentioned is Pixy2, which can detect colors and report them to a microcontroller, though it was noted as relatively expensive at about $80 [#21681326]
AI summary based on the discussion. May contain errors.
ADVERTISEMENT
  • Need sensor for emitted green LED only

    #1 21681323
    Kevin Thorp
    Anonymous  
  • ADVERTISEMENT
  • #2 21681324
    Jacob Beningo
    Anonymous  
  • ADVERTISEMENT
  • LED as detector for its own color

    #3 21681325
    David Ashton
    Anonymous  
  • #4 21681326
    David Ashton
    Anonymous  
  • AMS color sensors with frequency outputs and RGB quadrants

    #5 21681327
    John Stabler
    Anonymous  
  • LED photodiode wavelength discrimination limits

    #6 21681328
    neha dubey
    Anonymous  
  • ADVERTISEMENT
  • Adafruit RGB sensor board with neutral density filter

    #7 21681329
    John Stabler
    Anonymous  
  • ADVERTISEMENT
  • #8 21681330
    Cologne LED
    Anonymous  
  • #9 21681331
    Elizabeth Simon
    Anonymous  
  • #10 21681332
    Mike P OKeeffe
    Anonymous  

Topic summary

LABEL_AI_GENERATED
The discussion addresses the challenge of detecting a green LED's emitted light in an industrial environment without false triggering from red or white LEDs. Standard color sensors typically target reflected light rather than emitted light, complicating direct LED color detection. Suggested solutions include using a Raspberry Pi with a webcam and OpenCV for color detection, or employing LEDs themselves as photodiode sensors sensitive to specific wavelength ranges—green LEDs detect blue and some green light but not red or yellow, though all LEDs respond to white light, making white detection problematic. Another approach involves using a color sensor from AMS (formerly TAOS) with quadrant photodiodes for primary color detection, which outputs light-to-frequency signals compatible with digital GPIO. Adafruit offers an RGB sensor board based on AMS sensors, featuring an added white LED for reflected and emitted light detection, with adjustable sensitivity and the option to use neutral density filters to manage intensity. The Pixy 2 camera is also mentioned as a color and shape detection device that can interface with microcontrollers, though cost-effectiveness is a consideration. Combining multiple LEDs (R/G/B) as sensors with a microcontroller can help discriminate green from white light by analyzing which LEDs respond. Overall, solutions range from off-the-shelf color sensors adapted for emitted light, LED-based photodetection, to camera-based color recognition systems, often requiring microcontroller integration for signal processing.
AI summary based on the discussion. May contain errors.
ADVERTISEMENT