Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Parts Where to get, and how to make the best bits. PCB's, caps, transformers, etc.

Cheap/simple relay/resistors attenuator for RPI
Cheap/simple relay/resistors attenuator for RPI
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 26th December 2017, 12:47 PM   #21
mbrennwa is offline mbrennwa  Switzerland
diyAudio Member
 
mbrennwa's Avatar
 
Join Date: Mar 2005
Location: Zurich, Switzerland
Quote:
Originally Posted by mbrennwa View Post
I have a Hifiberry DAC+ Pro. It does have the holes to add a pass through pin header. But I am not sure if the necessary pins are available after the Hifiberry (will have to look it up in the Hifiberry docs). Also, the relay attenuator does not have the "full" pin header, so it's a bit unclear where to put it. Which pins are used by the attenuator?
Looking at the ALLO docs a bit more I have the impression that the J8 connector on the relay board has a completely different pinout than what's available from the RPI pin header. If I am right (which I am hopefully not), the Allo relay board will not work off the RPI pin header. If so, I'd have to fiddle around with jumper wires... is this really how it works? A bit more documentation about using the relay board off the standard RPI pin header without an Allo DAC would be in order since the first post says that this board can be used "stand alone".
__________________
[ audioroot.net | hifibau.ch ]
  Reply With Quote
Old 26th December 2017, 02:37 PM   #22
Dimdim is offline Dimdim  Greece
diyAudio Member
 
Join Date: Sep 2008
Location: Athens
Cheap/simple relay/resistors attenuator for RPI
You seem to be right. I'd always assumed that J8 would be compatible with the RPi's GPIO header but that does not appear to be the case.

Ioan, can you confirm that?

In any case, it appears that board only needs +5V, SCK, SDA, GPIOB15 and GND to function. They should not be hard to "steal" from the RPi & DAC+ Pro.
__________________
http://www.dimdim.gr
  Reply With Quote
Old 28th December 2017, 10:09 AM   #23
mbrennwa is offline mbrennwa  Switzerland
diyAudio Member
 
mbrennwa's Avatar
 
Join Date: Mar 2005
Location: Zurich, Switzerland
Quote:
Originally Posted by Dimdim View Post
You seem to be right. I'd always assumed that J8 would be compatible with the RPi's GPIO header but that does not appear to be the case.

Ioan, can you confirm that?

In any case, it appears that board only needs +5V, SCK, SDA, GPIOB15 and GND to function. They should not be hard to "steal" from the RPi & DAC+ Pro.
Ok, I installed a pinheader to the HifiBerry and hooked up the Relay Attenuator board to +5V, SCK, SDA, GPIOB15 and GND. I installed and activated the Volumio plugin. I also disabled the software volume control in Volumio.

The relays don't respond to the Volumio volume control. I can hear the relays clicking when I connect or disconnect the 5V power, but that's about it.

Any thoughts how to debug this?
__________________
[ audioroot.net | hifibau.ch ]
  Reply With Quote
Old 28th December 2017, 11:33 AM   #24
mbrennwa is offline mbrennwa  Switzerland
diyAudio Member
 
mbrennwa's Avatar
 
Join Date: Mar 2005
Location: Zurich, Switzerland
Quote:
Originally Posted by mbrennwa View Post
Ok, I installed a pinheader to the HifiBerry and hooked up the Relay Attenuator board to +5V, SCK, SDA, GPIOB15 and GND.
Here's a photo of the setup. Would be cool if someone has an idea of what might be wrong.
Attached Images
File Type: jpg DSC_0121.jpg (994.9 KB, 119 views)
__________________
[ audioroot.net | hifibau.ch ]
  Reply With Quote
Old 28th December 2017, 12:18 PM   #25
cdsgames is offline cdsgames  Canada
diyAudio Member
 
Join Date: Jun 2015
Quote:
Originally Posted by mbrennwa View Post
Here's a photo of the setup. Would be cool if someone has an idea of what might be wrong.
Hi , I am checking with the team , sorry for delays .
  Reply With Quote
Old 28th December 2017, 06:02 PM   #26
mbrennwa is offline mbrennwa  Switzerland
diyAudio Member
 
mbrennwa's Avatar
 
Join Date: Mar 2005
Location: Zurich, Switzerland
Ok, problem solved. The attenuator started to work after a few Volumio reboots. I don't really know what changed on the software side, but it works now.
__________________
[ audioroot.net | hifibau.ch ]
  Reply With Quote
Old 13th January 2018, 01:26 PM   #27
mbrennwa is offline mbrennwa  Switzerland
diyAudio Member
 
mbrennwa's Avatar
 
Join Date: Mar 2005
Location: Zurich, Switzerland
I just found out that on the Allo Relay Attenuator the audio GND is connected to the digital/controller GND. That's very awkward and causes GND noise issues. Is there a way to split the two GNDs? Cut a trace on the PCB?
__________________
[ audioroot.net | hifibau.ch ]
  Reply With Quote
Old 16th January 2018, 08:21 AM   #28
cdsgames is offline cdsgames  Canada
diyAudio Member
 
Join Date: Jun 2015
Hi,

our dacs (and indeed all DACs) that are single ended have the digital ground and analog ground tied.
  Reply With Quote
Old 14th September 2018, 04:05 PM   #29
Alex013 is offline Alex013
diyAudio Member
 
Join Date: May 2015
Hi! I use Relay Attenuator. I would like to add one more relay, and get "100 real steps". I understand how to change the hardware. I need to have "100 real steps" on i2c without interpolation. Who can help me in this?
  Reply With Quote

Reply


Cheap/simple relay/resistors attenuator for RPIHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ADC0804 Relay Attenuator Neutrality Analog Line Level 34 3rd March 2018 12:05 PM
Yet another relay attenuator jwb Solid State 34 21st July 2010 07:17 AM
YET another relay attenuator question robmil Solid State 0 14th April 2008 05:44 AM
relay based attenuator squadra Solid State 21 1st December 2004 10:10 PM
Ladder relay attenuator or so? Eccu Solid State 0 6th October 2003 11:00 AM


New To Site? Need Help?

All times are GMT. The time now is 07:29 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki