t78
Posts: 14
Joined: Thu Apr 16, 2015 2:48 pm

adding piCorePlayer to Wireless speaker

Thu May 09, 2019 3:33 pm

hi,
I acquired a discounted Blaupunkt BPSAB-A1 wireless speaker and have had a project in mind to use the USB charger port on the speaker to power a Pi Zero running piCorePlayer (I already have LMS set up), then sending the signal back to the AUX input on the speaker (possibly via a pHatDAC or similar).

I already have a Pi Zero and cheap USB DAC, but would also need a wifi connection so I think it's either a dedicated DAC hat, or a Pi Zero W.
I'm favouring the hat option, but opinions are welcome.

I've got a Pi Zero running Kodi happily powered from the TV in similar way, so hopefully the power supply should be sufficient.


just looking for any thoughts, or if someone has done similar?

epoch1970
Posts: 2973
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: adding piCorePlayer to Wireless speaker

Fri May 10, 2019 9:49 am

I would check the power management on the speakers. Some have auto-on when line-in gets active and auto-off when inactive for a while, but not all. I assume the charge port doesn't go down when the amplifier powers off.

If the speaker has power saving features and is not too smart, you might need to add an IR emitter controlled by the Pi to control it. That is generally feasible but not so great as the speaker doesn't report its status via the IR link, so you could easily end up with the player on and the speaker off (and conversely). Controlling via IR, your best chance to avoid silence is to hammer the on/off commands, except some times it is not an option as the IR power command is a switch (on-off-on-...).
If the BT interface is sophisticated perhaps that is an alternative to IR control?
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

t78
Posts: 14
Joined: Thu Apr 16, 2015 2:48 pm

Re: adding piCorePlayer to Wireless speaker

Wed Jun 12, 2019 8:22 pm

just to follow up, I have got the speaker/ pi zero setup working, using a phat dac (first soldering for about 25 years!).
sound seems perfectly fine to me, the speaker goes quite loud.

the pi is powered from the speaker and returns audio from the dac to the aux input. controlled by the Squeezer android app.
installation was pretty straight-forward, raspbian > phat dac > squeezelite
Attachments
IMG_20190611_200131191.jpg
IMG_20190611_200131191.jpg (200.62 KiB) Viewed 308 times
IMG_20190611_201429437.jpg
IMG_20190611_201429437.jpg (159.1 KiB) Viewed 308 times

User avatar
Greg Erskine
Posts: 111
Joined: Sat Sep 15, 2012 4:20 am

Re: adding piCorePlayer to Wireless speaker

Wed Jun 12, 2019 10:15 pm

What was missing with piCorePlayer?
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

t78
Posts: 14
Joined: Thu Apr 16, 2015 2:48 pm

Re: adding piCorePlayer to Wireless speaker

Thu Jun 13, 2019 8:33 am

I just found it easier to do it in stages, ie. set up the Pi and wireless, then the DAC and test it, then I found a simple guide for Squeezelite so used that.

assume it's pretty much the same result in the end..

Return to “Graphics, sound and multimedia”