🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    [Product Revision] Color Sensor (U009) - Ability to turn off LEDs

    Features Wish List
    3
    4
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      Zavyru
      last edited by

      It would be nice if there was a revision of the color sensor that allows the LEDs to be turned off/on (via I2C). So it can be used for measuring a light source's color spectrum (leds off) as well as an object's color (leds on).

      1 Reply Last reply Reply Quote 9
      • H
        holofloh
        last edited by

        According to the schematic the LEDs are hard connected between VCC and GND (with a 1k Resistor in serie). It may be an option to misuse the sensors INT pin and its limit threshold settings to switch the LEDs on and off. It is a open-drain with a max of 20mA. Or spend an extra I2C output driver (one Output for white LED or more if you want different LED colors - deep blue or ultra violet may be helpful to identify e.g. fluorescence).
        Anyway, it will never be a spectrometer like device as there are only 3 colored sensors with a more or less wide spectral bandwith but still gaps between.

        Z 1 Reply Last reply Reply Quote 1
        • Z
          Zavyru @holofloh
          last edited by

          @holofloh

          Using the INT is a good idea (I was thinking an extra IC), but now that you mention it, having both white & UV could be useful to others as well.

          I shouldn't have put the word "spectrum", but rather (color) "temperature" (what I'm using the sensor for, roughly calculated from the RGB intensities). To truly read a spectral response would require a prism/grating and a linear monochromatic sensor (and calibration).

          1 Reply Last reply Reply Quote 2
          • G
            Glintor
            last edited by

            It would be awesome to have one with UV & White LEDs that can be turned on/off as desired.
            I made a 3D printed black cone insert that I stick in the front opening to block the light when I want to measure existing light without the LEDs interfering.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post