Arducam 1MP (OV9782 Color) Camarray: Taking picture from a single camera

  1. Where did you get the camera module(s)?
    Utronics

  2. Model number of the product(s)?
    UC-512

  3. What hardware/platform were you working on?
    Jetson Nano

  4. Instructions you have followed. (link/manual/etc.)
    Camarray – Arducam 1MP (OV9782 Color) Quad-Camera Bundle Kit - Arducam

  5. Problems you were having?
    Not so much a problem as a question. Is it possible to take only one picture from one camera?

  6. The dmesg log from your hardware?
    N/A

  7. Troubleshooting attempts you’ve made?
    Scouring the GitHub repository that provides the example code and ArducamUtils class.

  8. What help do you need?
    I simply need an answer as to whether I can run only one camera at a time. I can always come up with some other method to separate the images from each of the cameras, but I thought that I would ask before going to the trouble.

I don’t know if this helps but perhaps it will solve your problem:

We have recently completed a single-channel test program, and the method of use is as follows:

Download the firmware update tool to JetsonNano:
b0267_channel_test.tar.gz (23.2 KB)

Perform the following steps to update the firmware:

tar xzvf b0267_channel_test.tar.gz
cd b0267_channel_test/
sudo ./firmware_update -h # show help.

# example:
sudo ./firmware_update -i 7 -m B0267_ov9281_four_in_one_single_channel_firmware

After the firmware update is complete, please completely power off the Jetson Nano and Camera HAT and then power on again. (Sometimes there will be an error if the power goes on)

Next we can start testing:

  1. View supported resolutions and formats
v4l2-ctl --list-formats-ext

  1. Choose the resolution with the smallest width (1280x800 in this example)
  2. Download and run the test program
git clone https://github.com/ArduCAM/MIPI_Camera.git
cd MIPI_Camera/Jetson/Jetvariety/example/
python3 arducam_displayer.py -f GREY --width 1280 --height 800 --channel 0

–width Used to specify the image width (please specify the minimum resolution here)

–height Used to specify image height

-f Used to specify the image format

Please refer to the output of the v4l2-ctl --list-formats-ext command to set the above three parameters

–channel Used to specify the channel (0~3)

Under normal circumstances, the preview should be displayed (note: please execute export DISPLAY=:0 when logging in with ssh)

If you can’t preview normally, and the following error occurs, it means that there is a problem with this channel.