Hi all,
I currently run squeezelite on a variety of Raspberry Pi's fed into a multi-room amplifier. I must confess, I love to tinker, but I'm no expert when it comes to programming the Pi's.
My amplifier has a 3.3v trigger which will turn the amp on from standby. ( amp manual here: http://www.daytonaudio.com/media/res...l-revision.pdf)
I need each Raspberry Pi to send a 3.3v signal to the amp whenever that squeezelite player is powered on. Maybe the Pi can supply a small 3.3v trigger without needing additional power supplies?
I've seen various people have a crack at this in the past but the code is way above my level and I wouldn't know how to implement it. I'm willing to pay for somebody to help me come up with a suitable solution.
Thanks for reading,
Scott.
Results 1 to 10 of 12
Thread: Developer request
-
2017-01-19, 09:55 #1
- Join Date
- Dec 2015
- Posts
- 21
Developer request
-
2017-01-19, 10:50 #2
- Join Date
- Apr 2013
- Location
- UK
- Posts
- 1,176
Easy to wire from a pi's GPIO header out to the amp in that case. You can set a GPIO pin to 3.3v or 5v with a couple of lines of shell code so it would be easy to script this.
--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums..
-
2017-01-19, 10:59 #3Players: SliMP3,Squeezebox3 x3,Receiver,SqueezeLiteX,PiCorePlayer x3,Wandboard
Server: LMS Version: Latest Nightly on Centos 7 VM on ESXi 6.5.0U1 on Dell T320
Plugins: AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups
Remotes: iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLiteX
Music: 522GB,1660 albums with 23087 songs by 5204 artists mostly FLACs
Want a webapp ? See http://forums.slimdevices.com/showth...Webapp-for-LMS
-
2017-01-19, 11:05 #4
- Join Date
- Sep 2005
- Posts
- 2,432
-
2017-01-19, 11:21 #5
I need each Raspberry Pi to send a 3.3v signal to the amp whenever that squeezelite player is powered on. Maybe the Pi can supply a small 3.3v trigger without needing additional power supplies?
As I said Pcp has the software functionality requested and in fact the latest squeezelite does (the -G option)
JeffPlayers: SliMP3,Squeezebox3 x3,Receiver,SqueezeLiteX,PiCorePlayer x3,Wandboard
Server: LMS Version: Latest Nightly on Centos 7 VM on ESXi 6.5.0U1 on Dell T320
Plugins: AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups
Remotes: iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLiteX
Music: 522GB,1660 albums with 23087 songs by 5204 artists mostly FLACs
Want a webapp ? See http://forums.slimdevices.com/showth...Webapp-for-LMS
-
2017-01-19, 11:50 #6
- Join Date
- Dec 2015
- Posts
- 21
Developer request
Really appreciate your guys input on this. I will certainly explore pCP and see how this works. Is there a specific trigger option that is easy to enable for a n00b?
I in fact don't have any additional hardware to manage the trigger from multiple pi's into one amp. Certainly open to suggestions though depending on the final solution.Last edited by swc_scotty; 2017-01-19 at 11:56.
-
2017-01-19, 11:50 #7
- Join Date
- Sep 2005
- Posts
- 2,432
[OT]
you could use something like a Schottky diode on each rpi - but if one of them failes - the rpi behind it is @99.99% out of order.
i would not recommend it.
[/OT]
-
2017-01-19, 12:09 #8
SSR's would be how I would do it one for each Pi and have a small "Wall wart" PSU always on to provide the signal to the amp.
Wire the "Contacts" of all the ssr's in parallel to switch the PSU to the amp. In this way all the Pis have 2000V odd isolation from each other
http://uk.farnell.com/infineon/pvt31...aic/dp/9103899
http://www.infineon.com/dgdl/pvt312....5356841f1c2960Players: SliMP3,Squeezebox3 x3,Receiver,SqueezeLiteX,PiCorePlayer x3,Wandboard
Server: LMS Version: Latest Nightly on Centos 7 VM on ESXi 6.5.0U1 on Dell T320
Plugins: AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups
Remotes: iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLiteX
Music: 522GB,1660 albums with 23087 songs by 5204 artists mostly FLACs
Want a webapp ? See http://forums.slimdevices.com/showth...Webapp-for-LMS
-
2017-01-19, 14:29 #9
- Join Date
- Dec 2015
- Posts
- 21
*Edit* ignore the below. I have to enable the beta settings :-)
Hi Jeff,
I've installed PCP on my test rig.
You say that PCP has 'it all built in'. Can you possibly hold my hand a little through this process? I can't seem to find out how to activate any such setting. Googling doesn't return much either.
Thanks for your help.
-
2017-01-19, 14:34 #10
No Problem.
Go to the Web GUI > Squeezelite Settings > Go down to "Power On/Off GPIO" set the GPIO you want to use (I use 13) Set to "Active High" and Save
All Done !
When the Player is "ON" the GPIO you specified goes high.
I use this in conjunction with the "Powersave" plugin works great !
JeffPlayers: SliMP3,Squeezebox3 x3,Receiver,SqueezeLiteX,PiCorePlayer x3,Wandboard
Server: LMS Version: Latest Nightly on Centos 7 VM on ESXi 6.5.0U1 on Dell T320
Plugins: AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups
Remotes: iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLiteX
Music: 522GB,1660 albums with 23087 songs by 5204 artists mostly FLACs
Want a webapp ? See http://forums.slimdevices.com/showth...Webapp-for-LMS