====== 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 [PiCamera]
peripherals:camera [2016/06/20 04:31] (current)
admin [Activating the Camera]
Line 6: Line 6:
   * 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 =====