A twisted tale about a logarithmic relay attenuator

Status
Not open for further replies.
I know that this post is old but I'm looking at LOG attenuators and just wanted to offer a comment.
While the individual spec for the I/O pins above is correct, the absolute total for the PIC16F685 PIC
is 200 mA for all the ports. Your calculation:
20mA * 14 (all on) = 280mA........

So just to confirm what is being said here (and in Brian's original post three years ago), a balanced Joshua Tree would draw over 0.5A of current?
 
So just to confirm what is being said here (and in Brian's original post three years ago), a balanced Joshua Tree would draw over 0.5A of current?

for the relays (there are 8 per JT and for balanced mode you will need 2JT's), the calculation would be:

5v / 237ohms = 21mA * 8 relays * 2 JT's = 0.33A

This is ofcourse a worse-case scenario, so 0.5A is in the right ball-park.

sjalloq said:
I was planning on using my own encoder along with MCU board. If I want to integrate it with your relay driver board what do I need to know?

as mentioned, you need to drive the relays to ground using a ULN2803. This sinks all the current so your pic won't melt 😉
Coupled to a 74HC595, the code to control a JT (using SPI) is surprisingly simple.

Mike
 
Cut the crap!! Software isn't my business! My main focus areas are:
- Digital to analog conversion (Which was my special during my education)
- Analog electronics (Also my special)

I know your special is more like this: http://web5687.web04.talkactive.net/homepage/kbhifi/gallerier/moede_01_02_08/klubforforamp.jpg

I am more into making electronics like this: http://img522.imageshack.us/img522/7730/pict2819vm3.jpg

For those who don't know Erlend Sæterdal, please feel free to ask me. His intentions isn't what they look like 🙄

But let's have some of the users of Diyaudio decide... Guess you have to make a bunch of fake profiles, to wote for you (Like all the other forums).

http://web5687.web04.talkactive.net/homepage/kbhifi/gallerier/moede_01_02_08/klubforforamp.jpg
There is no reason to laugh about this Hurtig.
Printed on the front plate is a completely full volume with the remote control: volume, phase switch, mute, four memories for volume setting , input select, max output setting, sleep timer, etc.
perhaps it is not so nice, but it is far above your level,
A closer look here:
http://tkhifi.homepage.dk/javapro/Ir_system1_3.jpg
It is built around an AVR controler.
and the sound of this preamp is fabulous
 
Cut the crap!! Software isn't my business! My main focus areas are:
- Digital to analog conversion (Which was my special during my education)
- Analog electronics (Also my special)

I know your special is more like this: http://web5687.web04.talkactive.net/homepage/kbhifi/gallerier/moede_01_02_08/klubforforamp.jpg

I am more into making electronics like this: http://img522.imageshack.us/img522/7730/pict2819vm3.jpg

For those who don't know Erlend Sæterdal, please feel free to ask me. His intentions isn't what they look like 🙄

But let's have some of the users of Diyaudio decide... Guess you have to make a bunch of fake profiles, to wote for you (Like all the other forums).


????????????????????????????
 
Posted my question in TPA's forum but no help there so I guess I should ask here for better advice.

I've just finished populating the boards and wired it to my headamp. Now the problem is I couldn't set the pot to mute. Right after I turned on the music, the sound is already very loud, even when I already turned the pot all the way off and I had to adjust the master volume in Foobar2k. When I turned the pot, the relays clicked but the sound is not louder, just the same. I already set the switch on the relay driver to off.
My guess is something wrong with the cable from the relay driver to relay board. Somehow I broke the connectors so I just soldered the wires directly to the pins on both boards.

Any idea on this? Would be great if someone could provide me the correct wiring.
 
Last edited:
Posted my question in TPA's forum but no help there so I guess I should ask here for better advice.

I've just finished populating the boards and wired it to my headamp. Now the problem is I couldn't set the pot to mute. Right after I turned on the music, the sound is already very loud, even when I already turned the pot all the way off and I had to adjust the master volume in Foobar2k. When I turned the pot, the relays clicked but the sound is not louder, just the same. I already set the switch on the relay driver to off.
My guess is something wrong with the cable from the relay driver to relay board. Somehow I broke the connectors so I just soldered the wires directly to the pins on both boards.

Any idea on this? Would be great if someone could provide me the correct wiring.

Sounds like you have the audio wired incorrectly. Could you post a pic?
 
Status
Not open for further replies.