SqueezePlay OS - logic output when audio playing ?

Everything relating to hacking, expanding and modifying the Joggler hardware.
Post Reply
keynet
Posts: 15
Joined: Mon Apr 10, 2017 10:52 am

SqueezePlay OS - logic output when audio playing ?

Post by keynet » Thu Jul 12, 2018 1:37 pm

Hi team,
Using SqueezePlay OS, I'm looking to generate a logic output when it's playing - to turn an external AMP on and off.

I've thought of the possibilities of hardware connected to the IDT sound chip inside - not preferred due to the complexity; a USB sound card with some kind of LED output I can hijack, or other? I plan to drive an SSR to turn the amp on and off, can adapt levels etc, use USB 5V etc.
I'm guessing someone has done this or there's a relatively simple solution out there, though not come across it so far.

I'm trying not to waste the 9-10W idle power of the amp, or keeping on reaching for the on/off switch !
Appreciate any suggestions.

User avatar
pete
Posts: 2610
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: SqueezePlay OS - logic output when audio playing ?

Post by pete » Thu Jul 12, 2018 1:51 pm

Here purchased all necessary for modification of the Joggler to utilize the IDT sound chip digitally. I have done a bunch of hardware modes and never have updated the sound stuff and gone to an external USB audio device (mini thing).

I have read though here that the sound quality is a tad better with an external USB device versus the sound hardware modification internal to the Joggler.

Here have a few Jogglers on line 24/7 and a few of these Jogglers have an analogue audio buzz which has never gone away.

Note these specific problem child Jogglers were made for testing and not "officially" released and utilized by OpenPeak and are labeled "prototype".

The above said for testing still utilize an old IBM external speaker / microphone USB powered device from the 1990's which doesn't sound bad but is not even close to an audiophile's audio.
- Pete

Auto mater

keynet
Posts: 15
Joined: Mon Apr 10, 2017 10:52 am

Re: SqueezePlay OS - logic output when audio playing ?

Post by keynet » Thu Jul 12, 2018 9:05 pm

Thanks Pete. Any suggestions on a suitable USB device?
I just checked the idea using my venerable Soundblaster MP3+ USB (normally sits on a PiCoreplayer - fine using optical to a cinema amp BTW), but its LED starts flashing as soon as the main OS starts up, and doesn't stop after that, playing or not.

User avatar
pete
Posts: 2610
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: SqueezePlay OS - logic output when audio playing ?

Post by pete » Fri Jul 13, 2018 3:43 pm

Yes here just went with ebay el cheapo specials a few years back...maybe $5 USD. Have a zoned audio system here and sound is one source and then sub zones with AVRs and Joggler Squeeze player is the sound sound for the AVR.

I stream the BBC to the master bathroom with 6" in wall speakers via MB AVR and sound is fine for me. More particular here about multiple speaker / AVR configurations for LCD TV 5.1 and 7.1 sound.

Over the years have turned the Kodi computers to STB's for Video and Audio connected to the AVR and television. The Jogglers are alternate audio only devices which are stand alone / AVR or sources for Russound audio.
- Pete

Auto mater

keynet
Posts: 15
Joined: Mon Apr 10, 2017 10:52 am

Re: SqueezePlay OS - logic output when audio playing ?

Post by keynet » Fri Jul 20, 2018 10:39 am

Thanks. Seems there's no obvious solution out there, so here's what I did for ref in case it helps anyone else.

Most amps use more power than one might expect when idling, in mine the big toroid takes 8-9W even even when in standby. With the Joggler running (another 5-6W), that's more than enough 24x7 idle power for my taste!

So I bought an el-cheapo "Dynamode 7.1" USB sound card as suggested - which has 2 LEDs. Like the MP3+ I mentioned earlier, the green one flashes when SQplay is running, and is on constantly when it stops. I devised the circuit below to provide a drive to an SSR I had lying around which I inserted in line with the AMP. I migrated to PNP3 so I can stop/start SQplay on demand (which controls the LED), and also via my home automation system (SSH command to run trigger.cgi - same as using the GUI). So I still have local + remote control, but only the joggler 24x7 is on 24x7. The circuit looks like this:
AMP interface.JPG
I took out the 2 coupling components to the now unused input jack, and used that jack as the output to the SSR which makes things a whole lot neater. The SSR in my case is a 3-15V OACM-U from Tyco/Potter & Brumfield - there are many similar out there.

Photo of the hacked USB sound card below (sadly I didn't mange to make the board small enough to fully reassemble the interface!), and the innards - enough space to put my little circuit inside. As an aside, in another life, I might have done this with a simple comparator / op-amp if I'd remembered how picky the 555 is about retriggering ! Anyway, it works.
Attachments
IMG_4199 (Medium).JPG
IMG_4205 (Medium).JPG

User avatar
hawsey
Posts: 1856
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay OS - logic output when audio playing ?

Post by hawsey » Fri Jul 20, 2018 12:39 pm

Great work Keynet , that looks great , thanks for sharing it .

Sent from my Moto G (4) using Tapatalk

Happy Joggling

Post Reply