FLIR Lepton 3.5 shutter

Hello,
I have a Cam H7 with the Lepton 3.5 module. The problem I have is that the shutter of the module closes and opens at certain times. There is no temporal sequence. I have reset the firmware but the problem persists.
Thanks in advance.
Best regards.

Javi

Hi, it’s not a problem. The FLIR lepton does that constantly. It’s called flat field correction. It has to do this to self calibrate. You can see if it does it using this code:

import ustruct, sensor
 
def start_ffc():
    sensor.ioctl(sensor.IOCTL_LEPTON_RUN_COMMAND, 0x0242)
 
def get_ffc_running():
    state = ustruct.unpack("<I", sensor.ioctl(sensor.IOCTL_LEPTON_GET_ATTRIBUTE, 0x0244, 2))[0]
    # LEP_SYS_STATUS_WRITE_ERROR == -2
    # LEP_SYS_STATUS_ERROR == -1
    # LEP_SYS_STATUS_READY == 0
    # LEP_SYS_STATUS_BUSY == 1
    # LEP_SYS_FRAME_AVERAGE_COLLECTING_FRAMES == 2
    return state

You cannot disable FFC without the image washing out. The technology FLIR uses to make these sensors requires this process. There’s no way around it.

I understand.
Thanks.

Javi