-2

I have encountered a problem which am not suppose to but i inserted my raspberry pi camera in the the camera slot on the raspberry and powered the raspberry pi but didn’t get the window option that shows where to enable camera.

I did the “sudo apt-get update”, and “sudo apt-get upgrade” , and then “sudo raspi-config” in the terminal but still couldn’t see enable the camera option.

I even went to the preference and selected raspberry pi configuration and under interface i enabled the camera but still couldn't get the camera enabled.

The raspberry pi camera shows it is powered when I insert into the camera port which is at the back of raspberry pi but doesn't power on when I insert the raspberry pi camera into the port thats close to the HDMI port.

Please anyone know whats wrong please help me out cheers.

1
  • Please edit your question to include paragraphs, punctuation, and proper capitalization.
    – Jacobm001
    Mar 3, 2017 at 23:25

3 Answers 3

4

The camera port is next to the hdmi connector, the other similar looking port is for a display: https://www.raspberrypi.org/learning/getting-started-with-picamera/worksheet/

If your camera has been enabled then the python scripts in the link will get you some pictures or video. If you get a MMAl out of resources error then the ribbon isn't seated right, either on the pi or on the camera.

Have fun!

3

you might want to try a

~ $ sudo apt-get upgrade

assuming you're using python try

~ $ vim camera.py

from picamera import PiCamera
camera = PiCamera()
camera.start_preview()
sleep(5)
camera.capture('image.jpg')
print('image captured!')

then run it

~ $ python camera.py
1

I also faced the same problem. My camera was enabled but while running script it was asking me to enable the camera. Then I found out that it is because of loose camera connections. There are three connection points as shown in figure 1 and figure 2. Mine was loose at the point shown in figure 2.

Figure 1.

Figure 1 Ribbon cable connectors

Figure 2.

Figure 2: Camera to PCB connector

So, to solve your problem please check connections at all three points.

After checking all connections use the following code to check the working of the camera. The camera will show the preview for 5 seconds.

from picamera import PiCamera
from time import sleep
camera = PiCamera()
camera.start_preview()
sleep(5)
camera.stop_preview()

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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