====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
peripherals:camera [2016/05/19 18:04]
admin [Pi Camera Board]
peripherals:camera [2016/06/20 04:31] (current)
admin [Activating the Camera]
Line 5: Line 5:
   * Enable it using ''​sudo raspi-config''​   * Enable it using ''​sudo raspi-config''​
   * Use the camera via [[https://​www.raspberrypi.org/​documentation/​usage/​camera/​raspicam/​README.md|a shell]] or [[https://​www.raspberrypi.org/​documentation/​usage/​camera/​python/​README.md|using python]]   * Use the camera via [[https://​www.raspberrypi.org/​documentation/​usage/​camera/​raspicam/​README.md|a shell]] or [[https://​www.raspberrypi.org/​documentation/​usage/​camera/​python/​README.md|using python]]
 +
 +===== Activating the Camera =====
 +
 +On **Raspbian** you could use the ''​raspi-config''​ command to activate the camera.
 +If using another distribution (like [[:​os:​minibian|Minibian]] you might have to manually edit ''/​boot/​config.txt''​ to have the following lines:
 +
 +<​Code:​bash>​
 +> nano /​boot/​config.txt
 +</​Code>​
 +<​Code:​bash |/​boot/​config.txt>​
 +gpu_mem=128
 +start_x=1
 +</​Code>​
 +
 +The reboot the Pi, and test that the camera is accessible with:
 +<​Code:​bash |Test capture:>​
 +> raspistill -o cam.jpg
 +</​Code>​
 ===== PiCamera ===== ===== PiCamera =====