Qudio documentation
|
After Width: | Height: | Size: 231 KiB |
|
After Width: | Height: | Size: 202 KiB |
|
After Width: | Height: | Size: 301 KiB |
|
After Width: | Height: | Size: 328 KiB |
|
After Width: | Height: | Size: 340 KiB |
|
After Width: | Height: | Size: 325 KiB |
|
After Width: | Height: | Size: 268 KiB |
|
After Width: | Height: | Size: 197 KiB |
@@ -212,12 +212,18 @@ h2, h3, h4 {
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
When the glass fits into the case, point through the screw holes to mark where you have to drill. The acrylic glass can then be drilled just like the speaker case in the first step.
|
When the glass fits into the case, point through the screw holes to mark where you have to drill. The acrylic glass can then be drilled just like the speaker case in the first step. With all the parts of the case now being ready, you can to a first test on putting everything together and closing the case.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="gallery">
|
<p class="gallery">
|
||||||
<a href="images/IMG_20181211_122139_cr.jpg" data-fancybox data-caption="The printed curb after adding two threaded inserts with a soldering iron"><img src="images/IMG_20181211_122139_cr.jpg"
|
<a href="images/IMG_20181211_122139_cr.jpg" data-fancybox="window" data-caption="Cutting the window glass"><img src="images/IMG_20181211_122139_cr.jpg"
|
||||||
width="320" alt="The printed curb after adding two threaded inserts with a soldering iron" /></a>
|
width="320" alt="Cutting the window glass" /></a>
|
||||||
|
<!--a href="images/IMG_20181211_122508_cr.jpg" data-fancybox="window" data-caption=""><img src="images/IMG_20181211_122508_cr.jpg"
|
||||||
|
width="320" alt="" /></a-->
|
||||||
|
<a href="images/IMG_20181211_130234_cr.jpg" data-fancybox="window" data-caption="The two screws hold both the window and the curb in place"><img src="images/IMG_20181211_130234_cr.jpg"
|
||||||
|
width="320" alt="The two screws hold both the window and the curb in place" /></a>
|
||||||
|
<a href="images/IMG_20181211_130454_cr.jpg" data-fancybox="window" data-caption="The empty case, fully assembled"><img src="images/IMG_20181211_130454_cr.jpg"
|
||||||
|
width="320" alt="The empty case, fully assembled" /></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3 id="wiring">Wiring</h3>
|
<h3 id="wiring">Wiring</h3>
|
||||||
@@ -258,6 +264,11 @@ h2, h3, h4 {
|
|||||||
<p>
|
<p>
|
||||||
The three buttons go directly in the small pockets on the bottom part of the printed case. While the front pins are put into the small holes in order to fasten them tightly, the pins on the other end should be bent up into a horizontal position. We can easily solder them to jumper cables there and connect to the Raspberry Pi. Connect the buttons to pins 9 (for PREV), 10 (for PLAY/PAUSE) and 11 (for NEXT). The other sides go to the ground pins 20, 30 and 34.
|
The three buttons go directly in the small pockets on the bottom part of the printed case. While the front pins are put into the small holes in order to fasten them tightly, the pins on the other end should be bent up into a horizontal position. We can easily solder them to jumper cables there and connect to the Raspberry Pi. Connect the buttons to pins 9 (for PREV), 10 (for PLAY/PAUSE) and 11 (for NEXT). The other sides go to the ground pins 20, 30 and 34.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p class="gallery">
|
||||||
|
<a href="images/IMG_20181211_134417_cr.jpg" data-fancybox data-caption=""><img src="images/IMG_20181211_134417_cr.jpg"
|
||||||
|
width="320" alt="" /></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
<h4 id="sensor">Sensor</h3>
|
<h4 id="sensor">Sensor</h3>
|
||||||
|
|
||||||
@@ -280,7 +291,7 @@ h2, h3, h4 {
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The next problem was a little red LED on the module that was permanently on when the sensor was powered. While being tiny, it put the whole printed case in a permanent red glow that did not look pretty and also would have been disturbing given that the player was to be put on a nightstand. I bypassed the LED with a tiny piece of wire that you can see in the pictures.
|
The next problem was a little red power LED on the module. While being tiny, it put the whole printed case in a permanent red glow that did not look pretty and also would have been disturbing given that the player was to be put on a nightstand. I bypassed the LED with a tiny piece of wire that you can see in the pictures.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="gallery">
|
<p class="gallery">
|
||||||
@@ -302,19 +313,60 @@ h2, h3, h4 {
|
|||||||
The led is put in the small holder at the front side inside the cover. Connect the long leg to pin 15 (GPIO 22) of the Raspberry Pi (with a resistor in between, if needed), the short one to pin 9 (GND). I dimmed the LED with a 100 Ω resistor even though it could work on 3.3 V because it was just too bright.
|
The led is put in the small holder at the front side inside the cover. Connect the long leg to pin 15 (GPIO 22) of the Raspberry Pi (with a resistor in between, if needed), the short one to pin 9 (GND). I dimmed the LED with a 100 Ω resistor even though it could work on 3.3 V because it was just too bright.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<h4 id="camera">Camera</h3>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The webcam is simply shoved into the holder at the center of the bottom. Afterwards, we need to adjust the focus. The best way for that is connect the camera to another computer to get a live picture. You can also do it later on, but then you will have to take a snapshot and readjust the lens in turns. It is just easier with direct feedback.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Put the cover on top for the correct distance, then check if you get a clear picture. If not, turn the lens a bit and check again until you have a sharp image.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h4 id="cables">Closing the Case</h3>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Now it is time to put the remaining parts in place: Connect the camera to the Raspberry Pi using the micro USB adapter, put the adapter cable on the JBL and connect the other ends to the audio module and the Raspberry Pi. Put all the cables in a place where they do not block the camera and close the case.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p class="gallery">
|
||||||
|
<a href="images/IMG_20181212_092937_cr.jpg" data-fancybox="close" data-caption="All these wires need to go somewhere..."><img src="images/IMG_20181212_092937_cr.jpg"
|
||||||
|
width="320" alt="All these wires need to go somewhere..." /></a>
|
||||||
|
<a href="images/IMG_20181219_102734_cr.jpg" data-fancybox="close" data-caption="This is not how this should look like"><img src="images/IMG_20181219_102734_cr.jpg"
|
||||||
|
width="320" alt="This is not how this should look like" /></a>
|
||||||
|
<a href="images/IMG_20181214_083322_cr.jpg" data-fancybox="close" data-caption="Our player, ready to go"><img src="images/IMG_20181214_083322_cr.jpg"
|
||||||
|
width="320" alt="Our player, ready to go" /></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<h2 id="software">Software Installation and Configuration</h2>
|
<h2 id="software">Software Installation and Configuration</h2>
|
||||||
|
|
||||||
<h3 id="volumio">Volumio</h3>
|
<h3 id="volumio">Volumio</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
First of all, you will have to download the <a href="https://volumio.org/get-started/">volumio image for Raspberry Pi</a> and put it on your micro SD card. Once you have done that, put it in and start the Raspberry Pi by powering the speaker.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The initial configuration is pretty straight forward. Open up <a href="http://volumio.local">volumio.local</a> (or the Raspberry Pi's IP address) in your browser and click through the installation assistant. Set the output to "Generic I2S DAC", activate the software mixer and connect to your network share (if any). You can also already set up plugins for streaming services like Spotify. Finally, activate SSH on the developer page <a href="http://volumio.local/dev">volumio.local/dev</a> for the next steps.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3 id="python">Python Script</h3>
|
<h3 id="python">Python Script</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
You can now connect to the Raspberry Pi via SSH as user volumio. The initial password is <em>volumio</em> which you might want to change with <code>passwd</code>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The next step is to install the necessary software packages:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<pre><code>sudo apt-get install fswebcam zbar-tools python3-rpi.gpio</code></pre>
|
||||||
|
|
||||||
|
Copy over script
|
||||||
|
|
||||||
|
Test LED, Webcam
|
||||||
|
|
||||||
<h3 id="configuration">Configuration und Test</h3>
|
<h3 id="configuration">Configuration und Test</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -331,12 +383,45 @@ h2, h3, h4 {
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
If you have any questions or improvements please send me an e-mail to <a href="mailto:tliero@gmx.net">tliero@gmx.net</a>.
|
If you have any questions or improvements please send me an e-mail to <a href="mailto:tliero@gmx.net">tliero@gmx.net</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<pre style="background-color:#ffff99">
|
||||||
|
Intro-Video (evtl. mit Jacob)
|
||||||
|
Komponenten-Fotos:
|
||||||
|
Gesamt-Aufnahme mit Elektronik-Komponenten (plus Raspi, Kamera)
|
||||||
|
CJMCU-5102, 10K-Widerstand, Rückseite
|
||||||
|
TCRT5000 (beide Seiten)
|
||||||
|
USB-Adapter
|
||||||
|
Dock-Adapter
|
||||||
|
LED
|
||||||
|
Buttons
|
||||||
|
Jumper-Kabel
|
||||||
|
Plexiglas
|
||||||
|
Schrauben
|
||||||
|
Gewindeeinsätze
|
||||||
|
|
||||||
|
Screenshots OnShape
|
||||||
|
|
||||||
|
Live-Bild Kamera-Einstellung
|
||||||
|
|
||||||
|
LED im Case
|
||||||
|
|
||||||
|
QR-Abmessungen als Grafik
|
||||||
|
Test-QR
|
||||||
|
|
||||||
|
CJMCU-5102:
|
||||||
|
reicht 10k auf 3.3v auch, wenn die Versorgung über 5v erfolgt?
|
||||||
|
Rückseite
|
||||||
|
|
||||||
|
deactivate microphone?
|
||||||
|
12 mm caps?
|
||||||
|
acrylic glass --> size?
|
||||||
|
Bohrergröße
|
||||||
|
</pre>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||