Pi Update

Hold the presses! There has been a change of plans. After playing around with OSMC and some more thinking and drawing, I am going to change course with my Raspberry Pi project. Instead of a fancy pants media center, I am working towards a very nice audio system for the basement living room. My last real stereo was too many years too count and was a very nice Yahmaha system. Tuner, amp, CD, and booming speakers. It has long since gone and have been stuck with my laptop or iPhone with headphones to listen. 

So I have moved in that direction. While working with OSMC I found an inexpensive audio DAC (Digital Audio Converter) HAT, (pizereoaudio.com) for the RPi. 

IMG 9433

When it showed up I heated up the iron and with help of a little hot glue to hold the headers in place was able to solder it in place. 

IMG 9434IMG 9435

Don’t be harsh on some of the joints. While above beginner I am still in amateur phase. 

IMG 9436

I downloaded Volumio2 as the streaming distro. After doing some reading and comparing it seemed like a good package to do with. It supports audio streaming (of course) from local media and network devices. It also supports AirPlay but my first couple of attempts with it haven’t really gone so well. 

The DAC setup was quite easy. In Volumio2, under the menu is the Playback options menu. In there it was as easy as selecting the HiFiBerry DAC. And before I knew it my RPi was singing to me. The Pi Zero Audio DAC is based on the NXP 1334A. A low-power, low-priced DAC. The card was cheap compared to some of the other HATs out there. There is only line out installed on the card, but there are pads on the board is one is so inclined to add RCA jacks. Their documentation is sparse to proceed with caution if take this route. 

Since the pieces and parts are hanging together I whipped up a quick stand for it. 

IMG 9517

It is a piece of sheet metal from something and I superglued 4 standoffs to it. Simple and works for its purpose.

IMG 9516

Here is my proof-of-concept for my streaming player. I tossed on an old set of Altec speakers I had in the Studio. I have to say it really doesn’t sound hateful. Nothing high-end, but working well for what it is. 

Now that I am moving in this direction, I am starting to pick up some parts for the goal of this project, something which has gelled up nicely over the past few days. The end product is to be a single speaker streaming device. The pictures will work better than my words. I will share the drafts of how I want the case for it to look. 

I order the Pi Zero W that will be used for the end product. It came it quickly and I was pretty jazzed to get the headers soldered on and start to set it up as the main streamer.

IMG 9506

Pretty cool huh? And hands to Adafruit for getting it here so quickly. Help me here though, what is wrong with my picture? Where are the headers you ask? Someone forgot to order them. I remember the mini HDMI connector, and the rotary encoder I am going to use for the volume knob, but no headers! DOH! Well, off to eBay and now I am waiting for them to show up. Which is fine, I am still working the my Volumio installation. Songs needs sorted in various directories and playlists, AirPlay needs to be debugged, and I am learning how to add streams for my local radio stations. 

I have found a couple of nice speakers on Amazon from Viston and Dayton. I need to check them out a little more and pick one of them. From Adafruit I have my eye on the 20W amp for the speaker. I am still working on how I want/will power it all. I still have some time for thinking on that one. 

Stay tuned, I will be back to write up on what I have found about the DAC scene for the RPi and a little more about Volumio2. 

OSMC part 2

During my downtime I have been reading up on the OSMC (Open Source Media Center) package for my media center project. It seems to be a nice, well put together, distro that does/is what its’ name says. I checked out some reviews online and this was the version pointed to if you wanted a clean, easy to use, well-supported solution. Checking out their web site definitely gives you the feeling they may have something going on. 

Installation was really easy, I must say the easiest of all distros (about 3) I have dealt with so far. When you head to their downloads page, you click on your OS and it downloads an installer package.

PickInstaller

Have your SD card ready for the next part. 

Note I was using a SD card that had Raspbian on it. I used SD formatter to format the card before trying to use the OSMC installer. Don’t use SD Formatter. In my case, it would not mount the card properly. I had to use Disk Utility to format the card using FAT. 

Double-click on the installer. You can see the installer icon to the left of the Welcome to OSMC screen. 

LangPlat2

Pick your language and hardware platform. Once you click on the next arrow it will guide you through a couple of other steps such as if you want to configure networking. Both wired and wireless are supported. It will then ask you if you want to use a local repo or download a copy from the net. Since I didn’t download it yet, I let the app do the work for me. 

Download

The speeds finally did increase as I was tempted to head upstairs and grab a snack if it was going to take this long. 

Once it was complete I ejected the card from my MacBook and popped it in the Pi. Once the Pi gets booted up and begins the real installation of OSMC to the card. 

IMG 9424

This doesn’t take long, about 5 minutes. 

When it reboots it comes up with the OSMC interface and it is ready for configuring. At this point it is 1:30am and time for a little rest. Tomorrow night will come with AirPlay test. This is one feature I am really looking for. Not so much for the video but most defiantly for the audio. I am also on the hunt for the available options for listening to radio. We don’t have a home stereo any more. After years, moves, and kids, parts were either worn down, lost, or broken. Part of this project is to try and create an updated home media/audio center. I miss just turning something on and having it play int he background or for active listening. 

So if you are interested, stay tuned and I will keep posting about progress, pitfalls, and ideas. 

LM386 Audio Amp

Since entering the wonderful world of electronics, I have had an itch to make an audio amp. Probably one reason is that I am sans a real audio system right now and I am digging the hardware aspect of the hacking more than the software.

I started reading and wow there is a lot out there in amp world; but like with the Arduino I am pacing myself. I settled on a project, you can check it out here.

At the same time I am using this article to learn the math behind it all. Geesh, it has been more than a few years since I have used some of those brain cells and there are new things to learn, which is cool.

Here is the board with the hardware installed on it. So far things are looking good.

Here it is all wired up!! I wish I could say I fired it up, but putting the last wire in at around 1:45am my eyes were a little crossed. I am going to wait to get a good nights sleep then double-check my connections and continuity before applying power.

I will be sure and let you know how it turns out.