IR-Cut switching camera with Raspberry Pi 4
Published by szarecor on
- December 16, 2019 at 10:53 am #14141szarecorParticipant
I have several of these cameras: https://www.amazon.com/Arducam-Noir-Camera-Raspberry-Illuminator/dp/B07D8S6JRH
I’m able to switch the IR-cut filter and capture images on an RPi 3, but have problems with an RPi 4, is the camera compatible with the RPi 4?
To elaborate, here are the symptoms on the 4:
1. Unable to control the LED (and camera filter) via CameraLED.py
2. Except in very dark environments, there is a constant noise as the mechanical filter rapidly switches on and off on its own. Nothing (except total darkness) I do seems to stop this. If you capture image from the camera via PiCamera.start_preview(), you can see that the IR filter is constantly switching on/off from the captured images.
Is there anything I can do to use this camera with the RPi 4?
Thanks in advance.
- December 16, 2019 at 5:49 pm #14143binKeymaster
In fact, we use the camera led pin to control the IR cut, for the PI4, the led pin does not be connected, the pin is impending , so the state is not sure.
If you want to control the ir cut, you can visit here https://github.com/ArduCAM/RPI_Motorized_IRCut_Control
- December 17, 2019 at 8:10 am #14204szarecorParticipant
Thanks for the reply. I’m not sure that I follow you, but I wired the camera per the image you included.
When I wire up the IR and Ground to the GPIO pins, I do get the led on the camera board illuminated.
However, when I call IMX219_UC-350_Rev.B_pi4_gpio_ircut_ctl.py with either on/off, I cannot toggle the led and I do not hear the cut filter switching. The script executes without error, but nothing seems to change with the hardware itself.
Also, the images captured with raspistill all look the same after calling either on or off (both “normal” with no reddish IR tint).
For what it’s worth, my camera board is marked UC-439 Rev B.
Should the python script for UC-350 also work with UC-439?
- You must be logged in to reply to this topic.