tips:rasberry:linux

Differences

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

Link to this comparison view

Next revision
Previous revision
tips:rasberry:linux [2016/05/16 15:23] – created scipiotips:rasberry:linux [2017/05/03 12:05] (current) scipio
Line 3: Line 3:
 ===== Base ===== ===== Base =====
  
 +edit /etc/locale.gen and run locale-gen
 +
 +<code>
 +apt-get install wiringpi python-pip
 +
 +# test GPIO
 +gpio readall
 +</code>
 +
 +non fare con raspbian recenti
 +<code bash>
 +# apt install rpi-update
 +# rpi-update
 +</code>
 +===== camera =====
 +
 +<code>
 +pip install "picamera[array]"
 +</code>
 +
 +<code>
 +raspistill -tl 100 [-t 99999]
 +</code>
 +
 +  * [[http://picamera.readthedocs.io/en/release-1.10/recipes1.html|picamera]]
 +  * [[http://pklab.net/?id=392&lang=EN|opencv 3.2]]
 +  * [[http://www.pyimagesearch.com/2015/03/30/accessing-the-raspberry-pi-camera-with-opencv-and-python/|opencv and rasberry]]
 +
 +==== view picamera as normal USB camera ====
 +
 +
 +add to /etc/modules
 +<code>
 +echo bcm2835-v4l2 >> /etc/modules-load.d/modules.conf
 +</code>
 +
 +control panel to change camera settings
 +<code bash>
 +sudo apt install v4l2ucp
 +</code>
  
  
  • tips/rasberry/linux.1463405015.txt.gz
  • Last modified: 2016/05/16 15:23
  • by scipio