# Pi Dog camera is not being detected. Rest of PiDog is working great!

**URL:** <https://forum.sunfounder.com/t/pi-dog-camera-is-not-being-detected-rest-of-pidog-is-working-great/2830>\
**Category:** Robotic kit for Raspberry Pi\
**Created:** [March 12, 2025, 11:43pm UTC](https://forum.sunfounder.com/t/pi-dog-camera-is-not-being-detected-rest-of-pidog-is-working-great/2830 "2025-03-12T23:43:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![softwareweaver](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@softwareweaver](https://forum.sunfounder.com/u/softwareweaver)\
**Post date:** [March 12, 2025, 11:43pm UTC](https://forum.sunfounder.com/t/pi-dog-camera-is-not-being-detected-rest-of-pidog-is-working-great/2830/1 "2025-03-12T23:43:20Z")

</div>

Assembled the PiDog and everything works except the camera.

I checked the connections based on the diagrams and photos in the forums. They look same except instead of blue color on one side, the cable connector is black on one side.

Here are the outputs from the Pi 4 B.

libcamera-still  
[0:00:44.519879454] [1712] INFO Camera camera\_manager.cpp:327 libcamera v0.4.0+53-29156679  
Preview window unavailable  
ERROR: \*\*\* no cameras available \*\*\*  
a@raspberrypi:~ $ ls /dev/video\*  
/dev/video10 /dev/video12 /dev/video14 /dev/video16 /dev/video19 /dev/video21 /dev/video23  
/dev/video11 /dev/video13 /dev/video15 /dev/video18 /dev/video20 /dev/video22 /dev/video31  
a@raspberrypi:~ $ libcamera-hello  
[0:03:00.299033264] [1737] INFO Camera camera\_manager.cpp:327 libcamera v0.4.0+53-29156679  
Preview window unavailable  
ERROR: \*\*\* no cameras available \*\*\*

uname -a  
Linux raspberrypi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux  
a@raspberrypi:~ $ cat /sys/firmware/devicetree/base/model  
Raspberry Pi 4 Model B Rev 1.5

Let me know if you need any more info.

Thanks,  
Ash

---

<div class="post-metadata">

**Author:** ![Weirdyguy](https://avatars.discourse-cdn.com/v4/letter/w/d78d45/32.png) [@Weirdyguy](https://forum.sunfounder.com/u/Weirdyguy)\
**Post date:** [March 13, 2025, 2:28am UTC](https://forum.sunfounder.com/t/pi-dog-camera-is-not-being-detected-rest-of-pidog-is-working-great/2830/2 "2025-03-13T02:28:22Z")

</div>

Can you provide photos of both side of cable connected. The coloured side must be in top, on the same side than the lock.

 ![Screenshot_20250312_222808_Chrome](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/d/dd88726d25a35f788ee11f78fd98f4ea754b8170.jpeg)

---

<div class="post-metadata">

**Author:** ![softwareweaver](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@softwareweaver](https://forum.sunfounder.com/u/softwareweaver)\
**Post date:** [March 13, 2025, 3:02am UTC](https://forum.sunfounder.com/t/pi-dog-camera-is-not-being-detected-rest-of-pidog-is-working-great/2830/3 "2025-03-13T03:02:20Z")

</div>

![IMG_5509.HEIC](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/e/e2b4e5d21e95265da4941bc1c0eb005e03ca6de4.jpeg)  
 ![IMG_5508.HEIC](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/9/99bd3ae1f5c390a00a8255c42e15e4acb4b42208.jpeg)

---

<div class="post-metadata">

**Author:** ![softwareweaver](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@softwareweaver](https://forum.sunfounder.com/u/softwareweaver)\
**Post date:** [March 14, 2025, 1:00pm UTC](https://forum.sunfounder.com/t/pi-dog-camera-is-not-being-detected-rest-of-pidog-is-working-great/2830/4 "2025-03-14T13:00:06Z")

</div>

@SunFounder_Moderator Is this issue because of connections or the camera module?

Thanks,  
Ash

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [March 14, 2025, 2:58pm UTC](https://forum.sunfounder.com/t/pi-dog-camera-is-not-being-detected-rest-of-pidog-is-working-great/2830/5 "2025-03-14T14:58:22Z")

</div>

Please provide images of your camera wiring to help us diagnose the problem.

We suggest trying a different FFC cable to see if the camera is then recognized and works.

To test the camera, please run the `libcamera-hello` command.

---

<div class="post-metadata">

**Author:** ![softwareweaver](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@softwareweaver](https://forum.sunfounder.com/u/softwareweaver)\
**Post date:** [March 14, 2025, 3:34pm UTC](https://forum.sunfounder.com/t/pi-dog-camera-is-not-being-detected-rest-of-pidog-is-working-great/2830/6 "2025-03-14T15:34:17Z")

</div>

@SunFounder_Moderator I have posted images of the camera wiring earlier in this thread.

libcamera-hello output is also in thread.

a@raspberrypi:~ $ libcamera-hello  
[0:03:00.299033264] [1737] INFO Camera camera\_manager.cpp:327 libcamera v0.4.0+53-29156679  
Preview window unavailable  
ERROR: \*\*\* no cameras available \*\*\*

---

<div class="post-metadata">

**Author:** ![softwareweaver](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@softwareweaver](https://forum.sunfounder.com/u/softwareweaver)\
**Post date:** [March 14, 2025, 8:37pm UTC](https://forum.sunfounder.com/t/pi-dog-camera-is-not-being-detected-rest-of-pidog-is-working-great/2830/7 "2025-03-14T20:37:04Z")

</div>

> [@SunFounder\_Moderator](#):
>
> FFC cable

Unfortunately, I don’t have another FFC cable. I did take it out and tried to connect it couple of times but the camera is not detected by the Pi in libcamera-hello

Regards,  
Ash

---

<div class="post-metadata">

**Author:** ![robm](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@robm](https://forum.sunfounder.com/u/robm)\
**Post date:** [March 14, 2025, 11:23pm UTC](https://forum.sunfounder.com/t/pi-dog-camera-is-not-being-detected-rest-of-pidog-is-working-great/2830/8 "2025-03-14T23:23:52Z")

</div>

I had a similar problem. Directly above the camera lens there is a tiny flat cable with a rectangular tan coloured tab on the top end. The back of the tab is a connector that plugs into a tiny connector behind it. Press on the front of the tab and it may snap into the connector,  
That worked in my case.

---

<div class="post-metadata">

**Author:** ![softwareweaver](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@softwareweaver](https://forum.sunfounder.com/u/softwareweaver)\
**Post date:** [March 15, 2025, 6:05pm UTC](https://forum.sunfounder.com/t/pi-dog-camera-is-not-being-detected-rest-of-pidog-is-working-great/2830/9 "2025-03-15T18:05:08Z")

</div>

Thanks Rob. I finally solved this using a new cable and reconnected everything again.
