No, that was an issue with the SMPS and caused a reboot!fruit-uk wrote:Any chance it's related to the camera flash 'flash of death' effect?
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.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?
kkjkearney wrote:Through trial and error, I arrived at an acceptable exposure_speed of about 15,000. Multiples of any value made no difference.
As I mentioned, fixing the exposure_speed takes away much of the camera's ability to adjust to changes in lighting. Is there a way to define a minimum value, and allow the camera to automatically adjust exposure_speed above that value?
Code: Select all
from picamera import PiCamera from time import sleep from datetime import datetime camera = PiCamera() camera.shutter_speed = 33116 camera.exposure_speed = 33116 camera.resolution= (1640, 1232) fecha=datetime.now().strftime("%m_%d_%Y_%H_%M_%S")
Code: Select all
$python3 timeLapse_shutter_exposure2.py Traceback (most recent call last): File "timeLapse_shutter_exposure2.py", line 7, in <module> camera.exposure_speed = 33116 AttributeError: can't set attribute