Turn amplifier ON/OFF via relay

Suggestions/requests/ideas for RuneAudio core features and functions

Turn amplifier ON/OFF via relay

Postby nico » 22 Aug 2014, 16:28

Hi guys,
I've installed Runeaudio and am starting to test it.
Since the RPi (and BBB I think?) has GPIO pins, could we have a feature to turn ON/OFF a pin when we start /stop playback?

The idea is to have the amplifier connected to a relay, which would be controlled by a pin on the computer. When we start playing music, the amplifier turns on, and when we stop it turns off. This would allow us to hide the amplifier in a cupboard or such, and control everything remotely - while being relatively energy efficient.

If there were plans to implement this, it would be greatly appreciated

Cheers and thanks for the good work!

nico

edit: of course the amp should only turn off after the player being idle for some time (hopefully configurable from the Settings page)
nico
 
Posts: 1
Joined: 22 Aug 2014, 16:21

Re: Turn amplifier ON/OFF via relay

Postby ACX » 23 Aug 2014, 18:55

Hi nico,
this feature is currently not on our roadmap, as it is very equipment-specific. Buf if someone comes out with a nice solution for that, we could consider to integrate it as an option in the Settings page.
User avatar
ACX
RuneAudio co-founder
 
Posts: 1693
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: Turn amplifier ON/OFF via relay

Postby krischan » 25 Aug 2014, 09:09

Hi Guys,

my first post here (and a big Thank You for developing Rune Audio), but the feature is quite interesting for me too.

Maybe you can offer an option to automatically start a script when music playback is started and another when it's stopped. The scripts can be filled by oneself. So one can put in what ever one want. The users can post some examples in the forum for the ones with less knowledge.

E.g., modern (AV-)Receivers are controllable via TCP and in respect via shell script too. As a consequence another volume control method could be provided by calling a script, which is setting the level directly in the receiver. (I also use rune audio on a pi with a recent av-receiver, because I don't like the DLNA etc. things and have a sane folder structure for audio)

Also one or more buttons in the playback view can be provided to start scripts and it would be nice to make the script accessible via smb folder.

OK, many wishes... Maybe you can pick the first regarding to nico's original request.
krischan
 
Posts: 1
Joined: 25 Aug 2014, 08:46

Re: Turn amplifier ON/OFF via relay

Postby gswg » 26 Aug 2014, 14:26

The IQaudIO Pi-DAC uses GPIO22 as mute signal to a suitably configured amp and the same is true for the Pi-DAC+ when headphones are inserted, the same pin is used to allow a suitably equipped amp to mute. Obviously this would need software support to enable / disable the amp too but we're working towards similar goals at least.... :-)


Gordon@IQaudIO.com
gswg
 
Posts: 55
Joined: 21 Jan 2014, 21:04
Location: Glasgow

Re: Turn amplifier ON/OFF via relay

Postby skrodahl » 26 Aug 2014, 15:04

This may be a very simple way of looking at it, but it would be useful and simple to implement:

In the settings, have a number of GPIO pins that can be set or unset. Then choose some simple triggers, like "IF music is playing THEN set GPIO# high ELSE set GPIO# low".

That would be sufficient for the original poster, who could then add a relay to that GPIO pin (it would even turn off the amp when the RPi is shut down), and it could be expanded to suit different ideas.
-skrodahl

|| Audiobah TPA3116 || || ProJect Debut Carbon Espirit DC || / RaspBerry Pi / HifiBerry DAC ||
User avatar
skrodahl
Moderator
 
Posts: 160
Joined: 27 Jan 2014, 10:08
Location: Sweden

Re: Turn amplifier ON/OFF via relay

Postby Midnight » 28 Aug 2014, 09:46

I'd rather put the player and the amp together in a case and turn both on/off with a single power switch ;)
User avatar
Midnight
Moderator
 
Posts: 141
Joined: 19 Feb 2014, 14:46

Re: Turn amplifier ON/OFF via relay

Postby skrodahl » 29 Aug 2014, 21:37

-skrodahl

|| Audiobah TPA3116 || || ProJect Debut Carbon Espirit DC || / RaspBerry Pi / HifiBerry DAC ||
User avatar
skrodahl
Moderator
 
Posts: 160
Joined: 27 Jan 2014, 10:08
Location: Sweden

Re: Turn amplifier ON/OFF via relay

Postby Midnight » 30 Aug 2014, 12:27

User avatar
Midnight
Moderator
 
Posts: 141
Joined: 19 Feb 2014, 14:46

Re: Turn amplifier ON/OFF via relay

Postby Midnight » 04 Sep 2014, 14:14

User avatar
Midnight
Moderator
 
Posts: 141
Joined: 19 Feb 2014, 14:46

Re: Turn amplifier ON/OFF via relay

Postby cmh714 » 04 Sep 2014, 15:25

Heres another one I was looking at....wont deal with the amp, but works on Pi

http://www.amazon.com/dp/B00BB0ETW8/ref ... QDC1&psc=1
cmh714
 
Posts: 470
Joined: 04 May 2014, 03:06

support RuneAudio Donate with PayPal

Next

Return to Feature request

Who is online

Users browsing this forum: No registered users and 0 guests