How to Control IR Filter? - Pico Zero and IMX415 IR Cut

  • When turning on the Pico Zero, I can hear two clicks coming from the camera. The first click occurs almost immediately after I plug in the power cable, and the second click is a few seconds after. I've found that the first click corresponds to the filter being activated, and the second click comes from the filter being deactivated.

    I found a workaround to keep the IR filter activated:

    • Plug in the Pico Zero

    • After the first click, unplug the power cable

    • Disconnect the header on the camera module

    • The IR filter will remain activated between power cycles

    However, I would still like to be able to control the filter via software (either automatically based on lighting conditions or even just time of day). From my research it seems that the filter can be controlled by manipulating GPIO pins output, but I'm not sure which pins on the Pico Zero are used for this.