# Question:Ambient/Light Bulb Testing

idev247 asked on December 06, 2016 18:09

### Situation

I’m looking to compare different types of light bulbs for brightness, and color range. An example light bulb would be the Phiips Hue

### Main Question

Do you think the Desktop Spectrometry Kit 3.0 would be able to measure the color spectrum of a lightbulb, and its brightness?

### Secondary Questions

• If the Desktop Spectrometry Kit does not work, do you know what relatively inexpensive tool type could be used?
• If it can measure brightness, will I be able to compare two light bulbs? (will webcam exposure change?)
• I was thinking of building a white box inside a black box to isolate ambient light. Good idea?

### Background story

I’m new to the spectrometer world. I did quite a bit of research but I'm still not sure what tool needs to be used. I think it might be a spectrometer based on what the Sekonic C-700-U SpectroMaster Color Meter does. For a personal project I definitely don't want to spend 1,000+ on this. #### 1 Comments Log in to comment ### 2 Answers Hi, I think the spectrum comparisons would be relatively straightforward -- but keep in mind that the kit requires a calibrated reference light to infer absolute measurements of brightness or intensity-calibrated spectra (#intensity-calibration), so lacking that, your comparison would be of lights relative to one another. To compare absolute brightness overall is a harder question, but I'd suggest that you divide the "view" of the device in two so you could measure two bulbs at once, on either side of a divider. If your bulbs are powered from the same source, and are identically aligned with the spectrometer (some kind of diffuser may be necessary, or perhaps scanning the light reflecting off a white surface, to ensure this), then scanning both at once in the same shot would ensure that the exposure compensation of the webcams is equal. Does that make sense? Open to other ideas, and @stoft has done a lot of potentially relevant work here. Wow, the Phillips Hue is a 15 dollar LED light bulb with a wifi module. It requires a proprietary wifi router (~40). The free app can control up to 50 of these lamps. I can't wait to hear about the first time someone replaces all of the light bulbs in a friend's house and starts punking him from outside the window.

I agree with Jeff that the Desktop spectrometer can produce very good spectra of a lamp. This will show you which parts of the visible spectrum are brightest. You can easily compare this type of result among lamps. For example one lamp might have 1.5 times more blue light than red light, and another lamp might have equal amounts of red and blue.

You mentioned color range, which could refer to the total spectral range of the light. It might not be possible to capture the entire range of the lamp because the range of sensitivity of the camera might not include the entire range of the lamp.

You are correct that the webcam will try to adjust its exposure to compensate for the brightness of the scene, so comparing two spectra with each other will not tell you much about how bright two light sources were. If your goal is to know which lamp is brighter, you can use any digital camera. Take a single photo of two or more lamps so that the brightest one is not overexposed. Then compare the DNs (0-255) in each color channel (e.g., Photoshop or Fiji). The photo has to be taken with extreme care so all lamps are the exact same distance from the camera. Lamps might have hot spots, so it would be best to use a diffuser or reflector to average the output of each lamp. This is not very quantitative (without an extremely careful procedure), but can tell you the relative brightness of a few lamps.

It is also possible to find software which allows manual control of exposure of the webcam. Then separate spectra can be taken with the same settings (with the lamps exactly placed, etc). Or any digital camera with manual control can be used to take individual photos of different lamps using the exact same settings and setup. These photos can be of the lamps, or of diffused or reflected light from the lamps, or of the diffraction pattern formed by the lamp light passing through a grating.

Chris