I am working on a project in which I need to find a PWM duty cycle to dim an LED to the same brightness level as an LED being dimmed with CCR. Initially, I was considering using a camera for this: I would take a picture of each LED, and compare the intensity with photo-editing software. I am not sure how accurate this would be, though. I was wondering if there were any devices out there (light sensors, etc.) that could help me achieve this.
Electrical – How to build a light sensor for PWM dimmed light (for comparison against CC dimmed light)
brightnessdimmingledlight-sensorpwm
Best Answer
I'd suggest that the Intersil ISL29125 might be suitable for your application. Available on a breakout board from either Digikey or Sparkfun for under $8.
These are I2C devices with very high resolution and integration times that are adjustable to reject 50/60 Hz and above modulation effects, so they should reject your PWM frequency very well.
You could calibrate 2 individual sensors or use just a single one in a strict comparison mode.
There are multiple solid state light sensors available, but this is the only one I've seen with such good calibration control.
Depending on how professional a solution you are developing there are Arduino libraries for this device from Sparkfun, though they lack much in the way of calibration capability.