So I have a Pi-Cam and a Raspberry Pi 3 B+, and I'm trying to get them to work together. Note: This camera has worked many times before today's errors.

A few things:

  • The voltage is fine (red light is constantly on)
  • The camera is plugged into the CSI port (in between HDMI and Ethernet)
  • The metal strips on the camera are facing towards the HDMI port
  • I've tested the camera with another raspberry pi, but I'd like to use it with this Pi.
  • The camera is enabled from sudo raspi-config > Interfacing > Camera

The CSI connector (that little white piece at the top) is a bit broken and will fall off quiet readily if the camera is not attached. Would this be an issue?

Here's the error when I run raspistill -o image.jpg:

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)  
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

Is there anything else that I could try to get this camera to work?

  1. Check vcgencmd get_camera this command. It will return how many cameras supported and detected. Normally you will get "supported=1 detected=1". If you get detected=0 then camera not detected.

  2. Recheck hardware connection.

  3. Try setting gpu_mem=128 in /boot/config.txt

  4. Enable I2C interface.

If not work, try with a different camera.

| improve this answer | |
  • 4 is not necessary, but /boot/config.txt should contain start_x=1. Or just enable the camera in raspi-config... BTW If enabled=1 then gpu_mem and start_x are fine (otherwise enabled would fail) – Dirk Dec 30 '18 at 8:20
  • Thanks for the help! I eventually relented and switched to a different camera. – JoshDaBosh Jan 30 '19 at 1:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.