Arducam Multi Camera Adapter Module V2.2を使って4カメラを一つにしたかったメモ
カメラ接続の確認とモジュール更新
vcgencmd get_camera
「supported=1 detected=1」
正しくカメラモジュールが認識されていない
「supported=1 detected=0」
sudo apt-get update
sudo apt-get upgrade
pip3 install opencv-python
sudo apt-get install libatlas-base-dev
Arduカメラの手順通りにデータインストール
git clone https://github.com/arducam/RaspberryPi.git
sudo apt-get install libopencv-dev
sudo apt-get install cmake
いるかも?どのみちOpenCVないからコンパイルできない。。
cd RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_4Channel/Multi_Camera_Adapter_V2.2_C++/
make
mmal: Cannot read camera info, keeping the defaults for OV5647
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
トラブルシューティング
video0が見つかりません
i2cバスが正常かどうかを確認します
dtparam = i2c_vc = onを/boot/config.txtに追加してから、再起動します
i2cdetect -y 0を実行して、デバイスのアドレスを確認します。
デバイスのアドレスが検出されない場合は、リボンケーブルの接続をチェックして、逆になっていないことを確認してください。
このときの結論
購入したハードウェアが故障してたか、カメラは4つともラズパイ用のカメラにしていたのですが、合わなかったのか。。なぞのまま動作せず、。
参考サイト
Raspberry Pi用マルチカメラアダプタ V2.1
https://www.switch-science.com/catalog/5757/
Arducam Multi Camera Adapter Module V2.2 for Raspberry Pi 4 B, 3B+, Pi 3, Pi 2, Model A/B/B+, Work with 5MP / 8MP / High Quality Cameras
https://www.arducam.com/product/multi-camera-v2-1-adapter-raspberry-pi/
ArduCAM/RaspberryPi
https://github.com/ArduCAM/RaspberryPi/tree/master/Multi_Camera_Adapter/Multi_Adapter_Board_4Channel
【Raspberry Pi】Raspberry Pi Zero WにOpenCVの環境を構築する
https://rikoubou.hatenablog.com/entry/2019/05/21/151337
Webカメラでこまったらまずこれをやれ
https://qiita.com/naoppy/items/74bdfa8216c7223f584b
Raspberry PiとUSBカメラで監視カメラを作る
https://cgbeginner.net/raspi-monitor-camera/
FAQ
Arducam has released Multi-Adapter-Board-V2.2. We have made a summary of the problems that customers often encounter.
https://www.arducam.com/docs/cameras-for-raspberry-pi/multi-camera-adapter-board/faq/
RaspberryPi3にカメラモジュールを接続する
https://qiita.com/h-sakano/items/9f7743830f32f18b291c
PiCam異常時の現象
https://research.itplants.com/?p=1617
RaspberryPiでカメラを使う(raspivid, raspistill, fsbcam)
https://blog.kwst.site/202006135342/
1,000円のラズパイ用カメラがラズパイZeroで使えなかった話
https://shigeru-orikura.com/2020/05/06/raspistill-command-error/
Raspberry Piに接続されているwebカメラの情報をv4l2-ctlで簡単に取得したい
https://dev.classmethod.jp/articles/raspberry_pi_v4l2_ctl_get_resorution_from_webcam/
Raspberry Pi Multi Camera Adapter Module V2.2 User Guide
https://www.uctronics.com/download/Amazon/B0120.pdf
i2c-0が見えない
http://nanicananica.blog.fc2.com/blog-entry-50.html