kkjkearney wrote:I've eliminated RF interference as the cause. With the offending light source turned on, I can block (and unblock) the offending light from hitting the camera while leaving the source running. The effect occurs only when the light hits the camera. If I block the light (but leave the source running), the effect goes away.
There's no heat being generated anywhere near the scope or camera.
I replaced the LED backlight with a simple incandescent 25W bulb, and am seeing the same effect. Surprised...
I will investigate the camera settings. Certainly, when the camera is behaving and misbehaving (with different light sources), the amount of light and quality of that light is different. The auto settings on the camera may be allowing a variable to be adjusted to a value that is causing the misbehavior? Any ideas which settings could be suspect?
My memory is getting a little hazy, but I spent a fair chunk of time on one project determining what tolerance around mains frequency you could go to on exposure time that didn't suffer flicker, however I can't remember the exact effects at short exposure times. Normally it exhibits itself as a dark band that moves up or down the screen depending on beat frequencies.
It's more normally off fluorescent lighting that you see effects due to the tube striking, not incandescent, so I'm confused there too.
Almost certainly it will be exposure time that is the critical thing. See what numbers it is getting set to, but you could try fixing it to some nice multiple of 8.33ms (60Hz).
The other thought is it might be related to the binning used on the sensor for preview modes. You could try adding -md 2 to a raspivid/still command line to force the full 5MP mode, though you'll only get 15fps updates.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.