How to enable Raspberry Pi camera using raspi-config

You can enable the camera interface by running

run_raspi_config.sh
sudo raspi-config

raspi-config main menu showing interfacing options

Select 5 Interfacing Options and press Return.

raspi-config interfacing options menu

Now select P1 Camera and press Return.

raspi-config camera option selection

Select Yes and press Return.

raspi-config camera enable confirmation

Now that the camera interface has been enabled, press Return.

raspi-config camera interface enabled message

Press Tab twice to select Finish and press Return. You are now asked if you want to reboot:

raspi-config reboot prompt after enabling camera

Select Yes and wait for your Raspberry Pi to reboot. Your camera interface will be enabled after the reboot.

In case you are not asked to reboot, your camera interface was already enabled. In this case, select Finish on the main raspi-config screen by pressing Tab twice and pressing Return:

raspi-config finish option on main screen

After pressing Return, check your shell again. Reboot (sudo reboot) so that any previous settings will take effect and then try

test_raspistill.sh
sudo raspistill -o myimg.jpg

in order to test your camera.


Check out similar posts by category: Embedded, Raspberry Pi