Document structure

This commit is contained in:
2019-01-20 08:08:07 +01:00
parent 946fa77fc6
commit 03115e390d
+37 -28
View File
@@ -38,7 +38,7 @@ h1 {
color: #303030; color: #303030;
} }
h2, h3 { h2, h3, h4 {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 800; font-weight: 800;
color: #303030; color: #303030;
@@ -162,9 +162,43 @@ acrylic glass --> size?
<h2 id="case">3D Printed Case</h2>
<h2 id="components">Assembling the Components</h2>
<h3 id="mount">Mounting the Base</h3>
<p> <p>
</p>
<h3 id="wiring">Wiring</h3>
<h4 id="audio-module">Audio Module</h3>
<p>
Test 1, 2, 3
</p>
<h4 id="buttons">Buttons</h3>
<p>
</p>
<h4 id="sensor">Sensor</h3>
<p>
</p>
<h4 id="led">LED</h3>
<p>
</p>
<h2 id="software">Installing the Software</h2>
<p>
</p>
First step was the design of the new case. Like the first <a href="https://cad.onshape.com/documents/56f3cf83e4b02f6312a93771/w/785ccf8684baed006305bb0d/e/c68592f13fbf9a2c69b8dd05">rocket case</a> it's public, you can find it <a href="https://cad.onshape.com/documents/584e7d080f617710a60fc5d3/w/28f44a0afe402320fa3f3faa/e/765c3d5ab7a1032836866ac8">here on Onshape</a>. (You will need to create an account to open the document.) Or you can download the <a href="https://github.com/tliero/audiosphere/tree/master/case">STL files</a> for printing if you are using the very same components. Please note that you will need to rotate the top of the sphere 180° for printing. Also be careful about the Raspberry holder: The Raspberry Pi together with the PHAT DAC should have a <a href="images/phat_dac_measure.jpg" class="fancybox">height of 7.2 mm</a> (or less) which depends on the GPIO header that is used to solder the PHAT DAC to the RasPi. If the height exeeds that, the distance needs to be adjusted before printing. First step was the design of the new case. Like the first <a href="https://cad.onshape.com/documents/56f3cf83e4b02f6312a93771/w/785ccf8684baed006305bb0d/e/c68592f13fbf9a2c69b8dd05">rocket case</a> it's public, you can find it <a href="https://cad.onshape.com/documents/584e7d080f617710a60fc5d3/w/28f44a0afe402320fa3f3faa/e/765c3d5ab7a1032836866ac8">here on Onshape</a>. (You will need to create an account to open the document.) Or you can download the <a href="https://github.com/tliero/audiosphere/tree/master/case">STL files</a> for printing if you are using the very same components. Please note that you will need to rotate the top of the sphere 180° for printing. Also be careful about the Raspberry holder: The Raspberry Pi together with the PHAT DAC should have a <a href="images/phat_dac_measure.jpg" class="fancybox">height of 7.2 mm</a> (or less) which depends on the GPIO header that is used to solder the PHAT DAC to the RasPi. If the height exeeds that, the distance needs to be adjusted before printing.
</p> </p>
@@ -178,34 +212,9 @@ acrylic glass --> size?
alt="The assembled case" /></a> alt="The assembled case" /></a>
</p> </p>
<h2 id="system">System Installation on the Raspberry Pi Zero</h2> <h2 id="system">Software</h2>
<h3>Update and Basic Setup</h3>
<p>
Before installing anything additionally, <a href="https://www.raspberrypi.org/downloads/raspbian/">Raspbian Lite</a> has to be <a href="https://www.raspberrypi.org/documentation/installation/installing-images/README.md">set up on the SD card</a>. When the card is ready, it is necessary to at least once connect a monitor and a keyboard to the RasPi for the initial setup since SSH is disabled by default. As soon as SSH is enabled and Wi-Fi is configured, we can remove all the cables and continue to work remotely over SSH.
</p>
<p>
<em>From here on it's basically entering line by line to your terminal (and later on it's copy-and-paste via SSH). You might need to confirm or close something every now and then. Where a configuration file has to be edited, the contents that go to the file are also put in comments with a leading tab. The links are the references for the individual steps.</em>
</p>
<pre class="pre-scrollable">
# Make sure that the latest versions are installed (this might take some time) (<a href="https://www.raspberrypi.org/documentation/raspbian/updating.md">https://www.raspberrypi.org/documentation/raspbian/updating.md</a>)
sudo apt update
sudo apt dist-upgrade
# Basic setup: change the password, set the keyboard layout, Wi-Fi channels and hostname and enable SSH
sudo raspi-config
# Check kernel messages for errors
dmesg
# Check for connected USB devices
lsusb
# If not done yet, plug in the Wi-Fi adapter and reboot
sudo reboot
</pre>
<h3 id="wi-fi">Configure Wi-Fi</h3> <h3 id="wi-fi">Configure Wi-Fi</h3>
<p> <p>