energyi
Posts: 54
Joined: Tue Mar 24, 2015 9:39 pm

Simple Pi Zero Audio Output

Sun Oct 23, 2016 8:20 pm

This Adafruit article describes a simple audio filter circuit that can be added to a zero for audio output: https://learn.adafruit.com/introducing- ... io-outputs

Attached is the simple circuit from this webpage: https://learn.adafruit.com/introducing- ... io-outputs

Is anyone selling this as a kit or a HAT? I would sure buy it. Thanks in advance for any commerce.
Attachments
raspberry_pi_audiofilter.png
raspberry_pi_audiofilter.png (41.63 KiB) Viewed 3877 times
energyi

clacktronics
Posts: 60
Joined: Sat Mar 03, 2012 6:07 pm
Location: London
Contact: Website

Re: Simple Pi Zero Audio Output

Sun Oct 23, 2016 9:35 pm

Hey, I did it as a Kickstarter it is here I will be making it available soon
https://www.kickstarter.com/projects/79 ... ry-pi-zero

there is also one on this cap
https://www.bareconductive.com/news/int ... rd-pi-cap/

other options is you can use one of the DAC hats like the pHAT DAC by Pimoroni and others
https://shop.pimoroni.com/products/phat-dac
http://www.iqaudio.co.uk/audio/38-pi-daczero.html
http://www.iqaudio.co.uk/audio/38-pi-daczero.html

I avoided the DAC's because it doesnt work with OMXplayer as it didnt output to ALSA, but good news is that they have just introduced it in the latest release!
My Kickstarter for a analogue AV out - kck.st/1SuGDvV

linux_author
Posts: 240
Joined: Sat Apr 02, 2016 7:04 pm
Location: Gulf of Mexico
Contact: Website

Re: Simple Pi Zero Audio Output

Sun Oct 23, 2016 10:53 pm

i use a simple USB audio dongle - ~US$5 - recognized as a C-Media sound device:
dongle.png
dongle.png (63.97 KiB) Viewed 3795 times
willie
on the cheap-audio Gulf of Mexico

User avatar
karrika
Posts: 948
Joined: Mon Oct 19, 2015 6:21 am
Location: Finland

Re: Simple Pi Zero Audio Output

Mon Oct 24, 2016 4:11 am


energyi
Posts: 54
Joined: Tue Mar 24, 2015 9:39 pm

Re: Simple Pi Zero Audio Output

Tue Oct 25, 2016 1:10 am

Thanks for all the great replies. I will probably go with this USB solution for now, $1.39 free shipping on a slow boat: http://www.everbuying.net/USB-3D-Sound- ... 21020.html

At least I won't have to solder anything onto the Zero.

energyi
energyi

clacktronics
Posts: 60
Joined: Sat Mar 03, 2012 6:07 pm
Location: London
Contact: Website

Re: Simple Pi Zero Audio Output

Tue Oct 25, 2016 4:21 pm

I have played with those USB audio cards and some of them play fine, I have had some dodgy ones too though they do funny things like play double speed! or crackle.

Search ebay for the USB PCM2704 its a bit more expensive but the sound is great! e.g
http://www.ebay.co.uk/itm/5V-USB-Powere ... OSwX~dWnfi~
My Kickstarter for a analogue AV out - kck.st/1SuGDvV

Scubabyte
Posts: 1
Joined: Wed Oct 26, 2016 1:06 am

Re: Simple Pi Zero Audio Output

Wed Oct 26, 2016 1:24 am

I too am playing with audio on the Pi Zero. I have 3 different usb's of which 2 are recognized (I think). The 'x' on the speaker icon goes away and I can adjust the volume. Preferences list the device as well. However, what are you using to play your MP3 (or any audio file)? I've tried the omxplayer with and without the "-o local" option and get nothing.

Thanks in advance for any suggestions.

linux_author
Posts: 240
Joined: Sat Apr 02, 2016 7:04 pm
Location: Gulf of Mexico
Contact: Website

Re: Simple Pi Zero Audio Output

Thu Oct 27, 2016 3:15 pm

mpg321 (cmd-line) or Audacious (X)

YMMV,

willie
on the cooling Gulf of Mexico

energyi
Posts: 54
Joined: Tue Mar 24, 2015 9:39 pm

Re: Simple Pi Zero Audio Output

Sat Oct 29, 2016 1:44 pm

I've used Banshee.

I wrote about running a M2 (not recommended) off the Zero, Jessie and Banshee: http://other2funstuff.blogspot.com/2016 ... about.html

I typically build a functioning OS on a RPi3, then transfer to the SD card to the zero. I have had some success with Moode Audio running headless off the zero, but don't know if I can replicate it again.

Thanks for the discussion.

energyi
energyi

energyi
Posts: 54
Joined: Tue Mar 24, 2015 9:39 pm

Re: Simple Pi Zero Audio Output

Sat Oct 29, 2016 2:43 pm

Just ordered the USB with PCM2704 that clacktronics suggested, was $3.44 total with shipping. UK company selling a product inventoried by Chinese company being shipped to the Rockies in the USA using Ebay as store front and Paypal financing coming back to my local bank account. Components on this board are probably from all over the world, like the Texas Instruments PCM2704. (sorry, not sticking to my own subject).

I appreciate the kickstarter sound solutions discussed in this thread, but for a Zero and my particular project it has to be very low cost with as high sound quality as possible. Cheers.

energyi
energyi

energyi
Posts: 54
Joined: Tue Mar 24, 2015 9:39 pm

Re: Simple Pi Zero Audio Output

Mon Nov 07, 2016 8:31 pm

The USB with PCM2704 that clacktronics suggested just arrived. 9 days to get here, $3.44. Sounds quite nice off Rpi3 using Moode. Will probably write up a compare and contrast on this PCM2704 USB audio to the Supstronics x400 HAT if/when it gets here, 25 days shipping and counting. Slow boat.

energyi
energyi


energyi
Posts: 54
Joined: Tue Mar 24, 2015 9:39 pm

Re: Simple Pi Zero Audio Output

Tue Feb 21, 2017 2:17 am

Updated this information with attempts to put Rpi0 with USB audio into tic tac container.
tic tac small.jpg
tic tac small.jpg (28.92 KiB) Viewed 1140 times
Also compare and contrast USB Audio to Chromecast Audio because the Chromecast has great functionality with lots of audio software. Other very low-cost solutions exist that don't have an amplifier including the items in the photo below (counterclockwise from the top: Rpi0, USB audio card, USB audio card with optical SPDIF, Chromecast Audio with analog and optical SPDIF).
compare audio.jpg
compare audio.jpg (55.9 KiB) Viewed 1140 times
The Chromecast Audio puck is $25 US and has the functionality of a wifi enabled Rpi with audio output, similar to the Rpi0 and USB SPDIF output card shown above. There may be audio quality differences. Through software, I am thinking that the USB audio can be configured to mimic the Chromecast Audio functionality. This may require some skilled software people. It is quite easy to connect many audio services to the Chromecast Audio puck, which I would think if the USB audio can mimics the cast functionality would be very beneficial for marketing purposes.

https://other2funstuff.blogspot.com/201 ... nsive.html

Hope this helps.

energyi
energyi

energyi
Posts: 54
Joined: Tue Mar 24, 2015 9:39 pm

Re: Simple Pi Zero Audio Output

Thu Mar 16, 2017 10:46 pm

Tic Tac scenario now working nicely with Rpi0 W.

energyi
energyi

Return to “General discussion”

Who is online

Users browsing this forum: Bing [Bot] and 73 guests