r5sb
Posts: 3
Joined: Sun May 29, 2016 5:46 am
Contact: Website

[SOLVED] Camera module v1.3 not working with Pi Zero?

Fri Apr 07, 2017 2:16 pm

Hey guys,

I'm trying to interface a camera module v1.3 with my Raspberry Pi Zero (Running the latest Raspbian OS). However I get the following error when I run

Code: Select all

sudo raspistill -o img1.jpg

Code: Select all

mmal: Cannot read cameara 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)
mmal: Failed to create camera component
mmal: main: Failed to create camera component
mmal: Camera is not detected. Please check carefully the camera module is installed correctly
The output of

Code: Select all

vcgencmd get_camera
is supported=1 detected=0

Upon researching why this problem occured I found that some people had success after wipiing their memory card and trying a fresh install of Raspbian. I followed this method but still had no success in getting the camera module to work. However the camera does work with my RPi 3. This led me to think it was a problem with the cable, but I've tested the continuity at each end with a multimiter and all was good. I have uploaded some pictures of the camera cables and the connectors in case it might be useful.

What could be the reason behind the Pi Zero not being able to access the camera module?
Last edited by r5sb on Sat Apr 08, 2017 5:11 am, edited 1 time in total.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Camera module v1.3 not working with Pi Zero?

Fri Apr 07, 2017 6:39 pm

It is probably just the connection. Try pushing the cable on the zero end in further. I don't have my Pi Zero with camera in front of me, but from memory I think it needs to go further it.
There are 10 types of people: those who understand binary and those who don't.

r5sb
Posts: 3
Joined: Sun May 29, 2016 5:46 am
Contact: Website

Re: Camera module v1.3 not working with Pi Zero?

Sat Apr 08, 2017 5:20 am

kusti8 wrote:It is probably just the connection. Try pushing the cable on the zero end in further. I don't have my Pi Zero with camera in front of me, but from memory I think it needs to go further it.
Thanks for your reply kusti8!!

I connected the cable at both ends (to the Pi and Camera Module) and again checked the continuity. Turns out that one pin at the end wasn't touching the contact on the connector. So I cut away a few mm of the cable ate the end of the Pi Zero and problem solved!! Everything works fine now. :D
Attachments
FullSizeRender(9).jpg
Area where contact wasn't touching marked in the red circle.
FullSizeRender(9).jpg (37.27 KiB) Viewed 2543 times
IMG_3643.JPG
This is the trimmed down camera cable.
IMG_3643.JPG (36.17 KiB) Viewed 2543 times

Return to “Troubleshooting”