Arducam 5mp-ov5647 not detected

  1. Where did you get the camera module(s)?
    Internet - UCTRONICS - Shipment #1000035183 for Order #1000024552
  2. Model number of the product(s)?
    Arducam 5MP 1080p Pan Tilt Zoom PTZ Camera for Raspberry Pi 4/3B+/3
  3. What hardware/platform were you working on?
    Raspberry pi4
  4. Instructions you have followed. (link/manual/etc.)
    5MP OV5647 PT&PTZ Camera Module - Arducam
  5. Problems you were having?
    Camera is not detected.
  6. The dmesg log from your hardware?
    raspiantoine@raspberrypi:~ $ dmesg | grep arducam
    is empty
  7. Troubleshooting attempts you’ve made?
    I can send picture of the connection. I have doublechecked the ribbon and everything is OK

raspiantoine@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 11 (bullseye)”
NAME=“Debian GNU/Linux”
VERSION_ID=“11”
VERSION=“11 (bullseye)”
VERSION_CODENAME=bullseye
ID=debian
HOME_URL= taken away because not accepted
SUPPORT_URL=taken away because not accepted
BUG_REPORT_URL=taken away because not accepted
raspiantoine@raspberrypi:~ $ cat /proc/meminfo
MemTotal: 3834324 kB
MemFree: 2936412 kB
MemAvailable: 3392880 kB
Buffers: 23072 kB
Cached: 555076 kB
SwapCached: 0 kB
Active: 81016 kB
Inactive: 622768 kB
Active(anon): 1056 kB
Inactive(anon): 203900 kB
Active(file): 79960 kB
Inactive(file): 418868 kB
Unevictable: 58640 kB
Mlocked: 16 kB
SwapTotal: 102396 kB
SwapFree: 102396 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 184380 kB
Mapped: 176256 kB
Shmem: 79320 kB
KReclaimable: 28788 kB
Slab: 55804 kB
SReclaimable: 28788 kB
SUnreclaim: 27016 kB
KernelStack: 3616 kB
PageTables: 5496 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 2019556 kB
Committed_AS: 1222560 kB
VmallocTotal: 259653632 kB
VmallocUsed: 11204 kB
VmallocChunk: 0 kB
Percpu: 688 kB
CmaTotal: 327680 kB
CmaFree: 280704 kB
raspiantoine@raspberrypi:~ $ cat /proc/meminfo
MemTotal: 3834324 kB
MemFree: 2936412 kB
MemAvailable: 3392880 kB
Buffers: 23072 kB
Cached: 555080 kB
SwapCached: 0 kB
Active: 81020 kB
Inactive: 622796 kB
Active(anon): 1060 kB
Inactive(anon): 203928 kB
Active(file): 79960 kB
Inactive(file): 418868 kB
Unevictable: 58696 kB
Mlocked: 16 kB
SwapTotal: 102396 kB
SwapFree: 102396 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 184380 kB
Mapped: 176300 kB
Shmem: 79324 kB
KReclaimable: 28788 kB
Slab: 55764 kB
SReclaimable: 28788 kB
SUnreclaim: 26976 kB
KernelStack: 3616 kB
PageTables: 5488 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 2019556 kB
Committed_AS: 1222564 kB
VmallocTotal: 259653632 kB
VmallocUsed: 11204 kB
VmallocChunk: 0 kB
Percpu: 688 kB
CmaTotal: 327680 kB
CmaFree: 280704 kB

raspiantoine@raspberrypi:~ $ cat /boot/config.txt

For more options and information see

Raspberry Pi Documentation - Configuration

Some settings may impact device functionality. See link above for details

uncomment if you get no picture on HDMI for a default “safe” mode

#hdmi_safe=1

uncomment the following to adjust overscan. Use positive numbers if console

goes off screen, and negative if there is too much border

#overscan_left=16

#overscan_right=16

#overscan_top=16

#overscan_bottom=16

uncomment to force a console size. By default it will be display’s size minus

overscan.

#framebuffer_width=1280

#framebuffer_height=720

uncomment if hdmi display is not detected and composite is being output

#hdmi_force_hotplug=1

uncomment to force a specific HDMI mode (this will force VGA)

#hdmi_group=1

#hdmi_mode=1

uncomment to force a HDMI mode rather than DVI. This can make audio work in

DMT (computer monitor) modes

#hdmi_drive=2

uncomment to increase signal to HDMI, if you have interference, blanking, or

no display

#config_hdmi_boost=4

uncomment for composite PAL

#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.

#arm_freq=800

Uncomment some or all of these to enable the optional hardware interfaces

dtparam=i2c_arm=on

#dtparam=i2s=on

#dtparam=spi=on

Uncomment this to enable infrared communication.

#dtoverlay=gpio-ir,gpio_pin=17

#dtoverlay=gpio-ir-tx,gpio_pin=18

Additional overlays and parameters are documented /boot/overlays/README

Enable audio (loads snd_bcm2835)

dtparam=audio=on

Automatically load overlays for detected cameras

start_x=1

Automatically load overlays for detected DSI displays

display_auto_detect=1

Enable DRM VC4 V3D driver

#dtoverlay=vc4-kms-v3d

max_framebuffers=2

Run in 64-bit mode

arm_64bit=1

Disable compensation for displays with overscan

disable_overscan=1

start_x=1

dtoverlay=ov5647

[cm4]

Enable host mode on the 2711 built-in XHCI USB controller.

This line should be removed if the legacy DWC2 controller is required

(e.g. for USB device mode) or if USB support is not required.

otg_mode=1

[all]

[pi4]

dtoverlay=vc4-fkms-v3d

Run as fast as firmware / board allows

arm_boost=1

[all]

gpu_mem=128

  1. What help do you need?
    How to have it detected?

Hi,
Please run the command

dmesg | grep ov5647

to detect the camera. Because the ov5647 camera is the official camera, not pivariety camera.

Thank you for your answer: The command answer is empty
raspiantoine@raspberrypi:~ $ dmesg | grep arducam
raspiantoine@raspberrypi:~ $

Sorry my answer was wrong
raspiantoine@raspberrypi:~ $ dmesg | grep ov5647
[ 7.628970] ov5647 10-0036: Consider updating driver ov5647 to match on endpoints

Hi,
Please run the command to see if the camera is detected.

ls /dev/video0

Besides, run the command to access the camera

libcamera-still -t 0

Thanks again for your answer
raspiantoine@raspberrypi:~ $ ls /dev/video0
/dev/video0
raspiantoine@raspberrypi:~ $ libcamera-still -t 0
Preview window unavailable
[20:06:27.986556740] [3415] INFO Camera camera_manager.cpp:293 libcamera v0.0.1+54-d528119f
[20:06:28.032529531] [3417] INFO RPI raspberrypi.cpp:1414 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media4 and ISP device /dev/media0
[20:06:28.033450102] [3415] INFO Camera camera.cpp:1026 configuring streams: (0) 1296x972-YUV420
[20:06:28.033741095] [3417] INFO RPI raspberrypi.cpp:800 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
[20:06:29.661009521] [3417] WARN V4L2 v4l2_videodevice.cpp:2007 /dev/video0[12:cap]: Dequeue timer of 1520000.00us has expired!
[20:06:29.661126852] [3417] ERROR RPI raspberrypi.cpp:1862 Unicam has timed out!
[20:06:29.661174425] [3417] ERROR RPI raspberrypi.cpp:1863 Please check that your camera sensor connector is attached securely.
[20:06:29.661222609] [3417] ERROR RPI raspberrypi.cpp:1864 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!
[20:06:31.288701902] [3417] WARN V4L2 v4l2_videodevice.cpp:2007 /dev/video0[12:cap]: Dequeue timer of 1520000.00us has expired!
[20:06:31.288815066] [3417] ERROR RPI raspberrypi.cpp:1862 Unicam has timed out!
[20:06:31.288863010] [3417] ERROR RPI raspberrypi.cpp:1863 Please check that your camera sensor connector is attached securely.
[20:06:31.288908453] [3417] ERROR RPI raspberrypi.cpp:1864 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!

and so on…

The camera is not detected :
raspiantoine@raspberrypi:~ $ vcgencmd get_camera
supported=1 detected=0, libcamera interfaces=1

For this reason, I have double checked the connection (it is written in the documentation). I join the pictures of my analysis