User Tools

Site Tools


doc:appunti:hardware:raspberrypi_air

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
doc:appunti:hardware:raspberrypi_air [2017/10/09 12:49] niccolodoc:appunti:hardware:raspberrypi_air [2018/10/03 06:05] – [Basic Raspbian Setup] niccolo
Line 81: Line 81:
  
 Edit **/etc/nginx/sites-available/default** to enable PHP into the Nginx web server, then reload Nginx. Edit **/etc/nginx/sites-available/default** to enable PHP into the Nginx web server, then reload Nginx.
- 
 ===== DS3231 RTC Clock ===== ===== DS3231 RTC Clock =====
  
Line 94: Line 93:
 ===== Python Libraries ===== ===== Python Libraries =====
  
-The **Adafruit library for the GPIO** lines is required by the Adafruit BME280 library to access I2C bus:+The **Adafruit library for the GPIO** lines is required by the Adafruit BME280 library to access I2C bus. It is advisable to install also some packages **from the Raspbian distro**, otherwise the python setup will try to download and install a local version: 
 + 
 +<code> 
 +apt-get install python-dev python-setuptools python-spidev 
 +</code> 
 + 
 +The Adafruit Python library is installed from the Git repository:
  
 <code> <code>
Line 103: Line 108:
 </code> </code>
  
 +The setup procedure will download and install also the **Adafruit_PureIO** library. Everything will be installed into the **/usr/local/lib/python2.7/dist-packages/** directory.
 ===== Serial Line ===== ===== Serial Line =====
  
Line 255: Line 261:
  
 <code> <code>
-apt-get install build-essential python-dev python-smbus git+apt-get install git build-essential python-dev python-smbus python-setuptools python-spidev
 cd /usr/local/src/ cd /usr/local/src/
 git clone https://github.com/adafruit/Adafruit_Python_GPIO.git git clone https://github.com/adafruit/Adafruit_Python_GPIO.git
Line 464: Line 470:
 ==== Export to DXF ==== ==== Export to DXF ====
  
-In OpenSCAD we use the menu //Design// -> //Compile and Render (CGAL)//. If the object is only bi-dimensional it will be rendered with a red outline and cyan filling. Only in this case we will be able to //File// -> //Export// -> //Export as DXF...//.+In OpenSCAD we use the menu //Design// -> //Render//. If the object is only bi-dimensional it will be rendered with a red outline and cyan filling. Only in this case we will be able to //File// -> //Export// -> //Export as DXF...//.
  
 ==== Using Inkscape to add writings, logos and to layout the pieces ==== ==== Using Inkscape to add writings, logos and to layout the pieces ====
doc/appunti/hardware/raspberrypi_air.txt · Last modified: 2020/08/14 10:17 by niccolo