documentation
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
+12
-22
@@ -101,35 +101,21 @@ h2, h3 {
|
|||||||
<p class="well" style="text-align: center;">In spring 2016 I finalized the <a href="http://tilman.de/projekte/musikrakete/">Musikrakete</a>, an MP3 player that our boys could operate without assistance. This is the improved second version, which is even easier to use. Music is played by simply placing a QR code card on top of the sphere. It plays MP3 files from the local network or Google drive and audiostreams from the Internet. If you have children who love music, ever used a terminal and also know what end of a soldering iron not to touch, this might be a project for you.</p>
|
<p class="well" style="text-align: center;">In spring 2016 I finalized the <a href="http://tilman.de/projekte/musikrakete/">Musikrakete</a>, an MP3 player that our boys could operate without assistance. This is the improved second version, which is even easier to use. Music is played by simply placing a QR code card on top of the sphere. It plays MP3 files from the local network or Google drive and audiostreams from the Internet. If you have children who love music, ever used a terminal and also know what end of a soldering iron not to touch, this might be a project for you.</p>
|
||||||
|
|
||||||
<p class="gallery" style="float:right;">
|
<p class="gallery" style="float:right;">
|
||||||
<a href="photos/02.jpg" class="fancybox"><img src="images/audiosphere-02.jpg"
|
<a href="images/audiosphere-02.jpg" class="fancybox"><img src="images/audiosphere-02.jpg"
|
||||||
width="480" alt="The AudioSphere. The QR cards are placed on the window on top, where they are detected by a photo sensor that triggers the recognition process. After the code has been read by the webcam, the respective playlist is loaded via network and played directly." /></a>
|
width="480" alt="The AudioSphere player. The QR cards are placed on the window on top, where they are detected by a photo sensor that triggers the recognition process. After the code has been read by the webcam, the respective playlist is loaded via network and played directly." /></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<!--
|
|
||||||
<h2 id="toc">Contents</h2>
|
|
||||||
<ol>
|
|
||||||
<li><a href="#idea">The Idea</a></li>
|
|
||||||
<li><a href="#piplayer2">PiPlayer, version 2.0: AudioSphere</a></li>
|
|
||||||
<li><a href="#parts">Parts List</a></li>
|
|
||||||
<li><a href="#case">3D Printed Case</a></li>
|
|
||||||
<li><a href="#system">System Installation</a></li>
|
|
||||||
<li><a href="#jblpreparation">Preparing the JBL IIIp Speaker</a></li>
|
|
||||||
<li><a href="#electronics">Electronics</a></li>
|
|
||||||
<li><a href="#manual">User Manual</a></li>
|
|
||||||
</ol>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<h2 id="idea">The Idea</h2>
|
<h2 id="idea">The Idea</h2>
|
||||||
<p>
|
<p>
|
||||||
This project started about a year ago, when Anica asked me if buying a <a href="https://de-de.hoerbert.com/">hörbert</a> MP3 player would be a good idea. At the time our boys wasted two to three CDs every week, trying to get some music out of the small player in their room. And the player in the living room also seemed to reach its end of life pretty soon due to their enthusiasm. Still I wasn't too sure about this hörbert thing. In order to get new files on the SD card of the player, the case had to be opened, the navigation with 11 buttons also seemed a little confusing and a single speaker operated with four batteries also did not seem promising to me.
|
This project started about a year ago, when Anica asked me if buying a <a href="https://de-de.hoerbert.com/">hörbert</a> MP3 player would be a good idea. At the time our boys wasted two to three CDs every week, trying to get some music out of the small player in their room. And the player in the living room also seemed to reach its end of life pretty soon due to their enthusiasm. Still I wasn't too sure about this hörbert thing. In order to get new files on the SD card of the player, the case had to be opened, the navigation with 11 buttons also seemed a little confusing and a single speaker operated with four batteries also did not seem promising to me.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
I had seen a <a href="http://www.die-schembergs.de/index.php?page=qr-music">project description of an MP3 player for small children</a> shortly before: A Raspberry Pi, connected to a webcam and speakers reads QR codes and plays the respective track or playlist. So this was what I suggested and to my surprise it was considered a better solution right away. And I had a project.
|
I had seen a <a href="http://www.die-schembergs.de/index.php?page=qr-music">project description of an MP3 player for small children</a> shortly before: A Raspberry Pi mini computer, connected to a webcam and speakers, reads QR codes and plays the respective track or playlist. So this was what I suggested and to my surprise it was considered a better solution right away. And I had a project.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
As good as the project description seemed to be, I wanted to make some improvements on the original design: The player should detect the QR cards on its own, all components should be put together in a single case and, most important, the MP3 files should be delivered directly from our home server. No SD card replacement needed.
|
As good as the project description seemed to be, I wanted to make some improvements on the original design: The player should detect the QR automatically, it should have buttons for play/pause and skipping and all components should be put together in a single case. Most importantly, the MP3 files should be delivered directly from our home server. No SD card replacement needed.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -137,17 +123,22 @@ h2, h3 {
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
But there were still some open ends on the technical side and I knew that we might need a second player, once the boys both have a room of their own. So when Anica was searching for a good gift to her best friend's son we decided that an updated version would be a good idea.
|
But there were still some open ends on the technical side and I knew that we might need a second player, once the boys each have a room of their own. So when Anica was searching for a good gift to her best friend's sons we decided that an updated version would be a good idea.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p class="gallery" style="float:left; margin-right: 4ex; margin-top: 8ex;">
|
||||||
|
<a href="images/audiosphere-qr-cards.jpg" class="fancybox"><img src="images/audiosphere-qr-cards.jpg"
|
||||||
|
width="480" alt="The QR cards for the AudioSphere player. They are placed on top of the case with the cover picture facing up. On the backside is a QR code that tells the player where to find the MP3 files." /></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
<h2 id="piplayer2">PiPlayer 2.0: AudioSphere</h2>
|
<h2 id="piplayer2">PiPlayer 2.0: AudioSphere</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The major improvement in handling was switching from a QR card slot to a window on top where the QR cards are placed on. I had seen that especially the smaller one had problems getting the cards into the narrow slot. Unfortunately, this also meant that a rocket shape was not an option anymore. At first I tried to put only a hemisphere on top of the JBL speaker which would make it look like a UFO. But the webcam needed at least 8 cm distance to the card in order have the entire QR code covered. Technically, it would be possible to further reduce the size of the ball but fitting all the components in there is hard enough as it is. Also, I wanted to be able to use the relatively large cards from the first player in the new one as well.
|
The major improvement in handling was switching from a QR card slot to a window on top where the QR cards are placed on. I had seen that especially the two-year-old had problems getting the cards into the narrow slot. Unfortunately, this also meant that a rocket shape was not an option anymore. At first I tried to put only a hemisphere on top of the JBL speaker which would make it look like a UFO. But the webcam needed at least 8 cm distance to the card in order have the entire QR code covered. Technically, it would be possible to further reduce the size of the ball but fitting all the components in there is hard enough as it is.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Also, an ethernet port is now available (since we had problems with the Wi-Fi connection in the boy's room) and thanks to switching to the Raspberry Pi Zero, the Apple dock port is now able to power all the components. No additonal power source needed. By incorporating a <a href="https://shop.pimoroni.com/products/phat-dac">Pimoroni PHAT DAC</a> I removed all the audio-related headaches. (You can order one <a href="https://shop.pimoroni.com/products/pi-zero-project-kits">together with the RasPi Zero as a kit</a>.)
|
Since we had problems with the Wi-Fi connection in the boy's room an ethernet port is now also available and thanks to switching to the Raspberry Pi Zero, the Apple dock port can power all the components. No additonal power source needed anymore. By incorporating a <a href="https://shop.pimoroni.com/products/phat-dac">Pimoroni PHAT DAC</a> I removed all the audio-related headaches. (You can order one <a href="https://shop.pimoroni.com/products/pi-zero-project-kits">together with the RasPi Zero as a kit</a>.)
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -158,7 +149,6 @@ h2, h3 {
|
|||||||
OK, so much for the overview - let's build this, step by step.
|
OK, so much for the overview - let's build this, step by step.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<h2 id="parts">Parts list</h2>
|
<h2 id="parts">Parts list</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@@ -38,3 +38,17 @@
|
|||||||
sudo dd if=/dev/mmcblk0 of=/media/tilman/ROT/raspberry-pi-zero_before-read-only.img bs=4M
|
sudo dd if=/dev/mmcblk0 of=/media/tilman/ROT/raspberry-pi-zero_before-read-only.img bs=4M
|
||||||
- Passwort ändern und aufkleben
|
- Passwort ändern und aufkleben
|
||||||
|
|
||||||
|
|
||||||
|
## Google Drive
|
||||||
|
sudo mount -o rw,remount / && sudo mount -o rw,remount /boot
|
||||||
|
nach https://github.com/astrada/google-drive-ocamlfuse/wiki/How-to-install-from-source-on-Debian-Jessie
|
||||||
|
https://github.com/astrada/google-drive-ocamlfuse/wiki/Authorization
|
||||||
|
https://github.com/astrada/google-drive-ocamlfuse/wiki/Headless-Usage-%26-Authorization
|
||||||
|
|
||||||
|
|
||||||
|
## Noch schreiben
|
||||||
|
- Spiegel-Problem
|
||||||
|
- Ausblick: App
|
||||||
|
- Google
|
||||||
|
- Stromverbrauch messen
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user