The relays are just for switching. For attenuation a PGA4311 will be used. But that is on a different board, so that you can use anything you want.
Head-Fi.org › Forums › Misc.-Category Forums › DIY (Do-It-Yourself) Discussions › Arduino based passive analogue input selection & volume control
Join Now
Be a part of the community.
It's free, join today!
Recent Reviews
-
I haven't finished getting used to these yet so please check back in future for a full review and accurate scores. For now, let me tell a short tale... I hope you'll stick with me here and I...
-
I bought these puppies just before Christmas and they have been a revelation. I can't tell you how much they suit my listening tastes. I love close listening with lots of treble and tight...
-
It's very small player, so I like it. I have Clip+ since Christmas and I'm very satisfied!
-
First of all let me say this is one of my favourite BA driver earphones I have ever heard. That said, being a basshead, these didn't deliver in the bass department - I can't deny the fact...
-
I've had this card for quite a while now, and I have to say its a really nice card - a huge step-up to my on-board motherboard's audio. At first I do have to admit, it didn't feel like the D1...
Head-Fi Sponsors
Drop by and thank our partners for helping keep the lights on at Head-Fi!
Arduino based passive analogue input selection & volume control - Page 6
post #77 of 123
9/30/09 at 11:11am
sure, the question still stands though 

- _atari_
- Trader Feedback: 0
-
- offline
- 142 Posts. Joined 1/2007
- Location: Hamburg, Germany
- Select All Posts By This User
Ok,
now I got it right. Hmm - that is an interesting idea. Are those LDRs in light proof cases? Because you will have a lot of them in parallel. How high is the off-resistance and is it enough to not influence other input signals?
I think LDR-base attenuators are a good idea. But I am lacking expereince with them. And there could potentially arise a lot of problems due to heat, input signal strength and so on.
It is enough work to get the whole setup up and working. I will concentrate on this first.
If this is done I could think about an LDR based attenuator.
That is the whole idea of making it modular - you can change any of the components of the preamp for the component you like most.
My budget on time/money/knowledge or personal taste is perhaps not enough for anybody. So I want to leave it open how to implement better methods.
Your idea is very interesting - I do not want to say it is bad. But I do not think I will - currently - find time tinker around with that too.
Or did I get you completely wrong?
now I got it right. Hmm - that is an interesting idea. Are those LDRs in light proof cases? Because you will have a lot of them in parallel. How high is the off-resistance and is it enough to not influence other input signals?
I think LDR-base attenuators are a good idea. But I am lacking expereince with them. And there could potentially arise a lot of problems due to heat, input signal strength and so on.
It is enough work to get the whole setup up and working. I will concentrate on this first.
If this is done I could think about an LDR based attenuator.
That is the whole idea of making it modular - you can change any of the components of the preamp for the component you like most.
My budget on time/money/knowledge or personal taste is perhaps not enough for anybody. So I want to leave it open how to implement better methods.
Your idea is very interesting - I do not want to say it is bad. But I do not think I will - currently - find time tinker around with that too.
Or did I get you completely wrong?
post #79 of 123
9/30/09 at 11:49am
Quote:
|
Ok,
now I got it right. Hmm - that is an interesting idea. Are those LDRs in light proof cases? |
Here's one part:
http://www.alliedelec.com/Images/Pro...es_6993010.pdf
- _atari_
- Trader Feedback: 0
-
- offline
- 142 Posts. Joined 1/2007
- Location: Hamburg, Germany
- Select All Posts By This User
I am still concerned about their switch off voltage. according to datasheet this is 2K
If we assume something like 1k for input impedance of the amp - this enhances the inut impedance for one signal from 1 to 3k.
I am concerned about crosstalk between channels
I do not want to ground one channel - is this nice to the input stage??
Lot of questions
If we assume something like 1k for input impedance of the amp - this enhances the inut impedance for one signal from 1 to 3k.
I am concerned about crosstalk between channels
I do not want to ground one channel - is this nice to the input stage??
Lot of questions
post #81 of 123
9/30/09 at 12:08pm
- linuxworks
- Trader Feedback: 0
-
- offline
- 3,407 Posts. Joined 10/2008
- Location: mtn view, ca
- Select All Posts By This User
my gut feeling is that ldr's wont be high enough resistance to offer true isolation between input selector channels.
I tested one that I got at a local surplus store. this is the plot I saw:
25ohms @12v
.
.
.
130 @5v
200 @4v
460 @3v
1.7k @2v
100k @1v
inf at 0v
I'd have to check what exactly 'inf' means (very high; but how high, really?).
also, the 'closure' resistance isn't nearly close enough to zero to be a good input switch part (at 5v, though).
and the ldrs aren't that small. you could fit several relays (omron latchers) in the same size as a single sealed ldr module.
but its possibly worth TRYING, at least
who knows, maybe this is good enough for input switching. and its solid state, too, so no parts to bounce or wear out.
I tested one that I got at a local surplus store. this is the plot I saw:
25ohms @12v
.
.
.
130 @5v
200 @4v
460 @3v
1.7k @2v
100k @1v
inf at 0v
I'd have to check what exactly 'inf' means (very high; but how high, really?).
also, the 'closure' resistance isn't nearly close enough to zero to be a good input switch part (at 5v, though).
and the ldrs aren't that small. you could fit several relays (omron latchers) in the same size as a single sealed ldr module.
but its possibly worth TRYING, at least
who knows, maybe this is good enough for input switching. and its solid state, too, so no parts to bounce or wear out.- _atari_
- Trader Feedback: 0
-
- offline
- 142 Posts. Joined 1/2007
- Location: Hamburg, Germany
- Select All Posts By This User
But real solid state multiplexers & switches are so darn tempting.
Anyway.
I did some reconsideration:
So back to square one - expects updates at the weekend. This time with PGA4311 volume control (except above points) nearly finished.
Anyway.
I did some reconsideration:
- TO220 regulators are real overkills for 100mA - going back to TO92 (should be enough for the 60mA or so.
- Pansonic TQ relay are easily availlaible via mouser and smaller and come in latching and they are smaller.
So back to square one - expects updates at the weekend. This time with PGA4311 volume control (except above points) nearly finished.
post #83 of 123
9/30/09 at 12:46pm
Well, I'm just throwing some ideas for you guys to think about out there. I've done my own circuits and research and come to my own conclusions. In this case, I've used LDRs as switches.
Also, I've had my nose in enough commercial gear that making some recommendations puts me in a strange position. For example, what about using CMOS FET switches, both Analog Devices and Siliconix make suitable parts, and there are at least two high end audio vendors doing this.
Also, I've had my nose in enough commercial gear that making some recommendations puts me in a strange position. For example, what about using CMOS FET switches, both Analog Devices and Siliconix make suitable parts, and there are at least two high end audio vendors doing this.
post #84 of 123
9/30/09 at 12:48pm
huh? They are around 6mm x 6mm, see above datasheet.
- _atari_
- Trader Feedback: 0
-
- offline
- 142 Posts. Joined 1/2007
- Location: Hamburg, Germany
- Select All Posts By This User
As stated above - I have been tempted doing this. Since they are used for test and measurement equipment - so why should the be bad for audio?
Do you have any recommendation.
Thanks for your ideas.
I am really thinking about doing an LDR base attenuator later - after this project. It sounds interesting.
But exactly the personal opinion and preferences are the reason why I want to make it modular.
Its all about choices
Do you have any recommendation.
Thanks for your ideas.
I am really thinking about doing an LDR base attenuator later - after this project. It sounds interesting.
But exactly the personal opinion and preferences are the reason why I want to make it modular.
Its all about choices

- _atari_
- Trader Feedback: 0
-
- offline
- 142 Posts. Joined 1/2007
- Location: Hamburg, Germany
- Select All Posts By This User
Input Selector redone & Volume Control nearly finished
Over the weekend I had some time to tinker with the layouts again.The input selector was too big for me, so I change some things:
- Using Panasonic TQ4Y latching relays – they are smaller than the Omrons and latching (so less power consumption)
- removing the possibility to externally power the Relays or get power from the voltage regulator.
- Changing the voltage regulator 7805L in TO92 package - should be able to provide something like 100mA of power. The circuit will need a constant power of something like 10-20mA.
- Complete redesign of the board
Schematics

Board

I also found some time to start the PGA4311 based volume control:

Very straight forward:
One Input & Output (balanced), an SPI connector for programming of the PGA 4311, some capacitors & regulators for power.
A preliminary board design looks like:

Still some beauty work to do:
- Checking & optimizing the ground & power planes
- checking the wiring (especially wire paths & crosses)
Both designs will not draw very much power - so I think it is bearable to use solely film capacitors (with capacitance under 10µF) - what do you think?
post #87 of 123
10/5/09 at 12:56pm
Very nice design
How difficult would it be to include a switchable input attenuator on the selector board? Shouldn't add very many components or increase size much.
Also, what are the dimensions of the board? Max component height?
Jeff
How difficult would it be to include a switchable input attenuator on the selector board? Shouldn't add very many components or increase size much.Also, what are the dimensions of the board? Max component height?
Jeff
- _atari_
- Trader Feedback: 0
-
- offline
- 142 Posts. Joined 1/2007
- Location: Hamburg, Germany
- Select All Posts By This User
Quote:
|
Very nice design
How difficult would it be to include a switchable input attenuator on the selector board? Shouldn't add very many components or increase size much. |
If you look for a stepped attenuator check Twisted Pear's Joshua Tree attenuator.
Quote:
|
Also, what are the dimensions of the board? Max component height?
Jeff |
The maximum component height is defined by the plugs & capacitors. I think something like 1cm (~0,4 inch) - perhaps a bit more. You should be able to use horizontal connectors if you have more space horizontally than vertically.
Did this answer your questions?
post #89 of 123
10/5/09 at 1:20pm
I personally prefer putting the input connectors on the board itself. Yes, it increases cost of the board and limits the connectors that can be used (though you could always wire the connectors), but I think it's a huge convenience.
- _atari_
- Trader Feedback: 0
-
- offline
- 142 Posts. Joined 1/2007
- Location: Hamburg, Germany
- Select All Posts By This User
Quote:
|
I personally prefer putting the input connectors on the board itself. Yes, it increases cost of the board and limits the connectors that can be used (though you could always wire the connectors), but I think it's a huge convenience.
|
But I prefer to mount the connectors to the chassis (gives a much more sturdy look) and it gives a bit more flexibility and makes the board size smaller.

If anything is finished I will post the eagle files anyway - so if you do not like any of my design decision (or should iI say compromises) feel free to change it.
Hope that it is OK for you.
Return Home
Back to Forum: DIY (Do-It-Yourself) Discussions
Head-Fi.org › Forums › Misc.-Category Forums › DIY (Do-It-Yourself) Discussions › Arduino based passive analogue input selection & volume control
Currently, there are 1762 Active Users
(355 Members and 1407 Guests)
Recent Discussions
- › New Flagship from Audio-Technica: ATH-W3000ANV, 50th Anniversary... 8 seconds ago
- › The Deals Thread 9 seconds ago
- › SAC KH1000 class-A amp designed for AKG K1000 headphones 2 minutes ago
- › Getting "called-out" for not wearing the Beats 2 minutes ago
- › classified 4 minutes ago
- › udac-2 with AKG Q701 4 minutes ago
- › Show us your Head-Fi station at it's current state. No old... 4 minutes ago
- › Pictures of your computer rigs! Post them here! 5 minutes ago
- › Could noise canceling headphones cause hearing damage? 6 minutes ago
- › The Apple diyMod: My Take on the Famous iMod [56k killer]... 8 minutes ago
View: New Posts | All Discussions
Recent Reviews
- › Shure SE535LTD RED by Loquah
- › Sennheiser HD 25-1 II Professional Headphone by Thing Fish
- › SanDisk Sansa Clip+ 2 GB MP3 Player (Black) by kwakor
- › Audeo Phonak PFE112 Revision II Earphones by Totally Dubbed
- › Asus Xonar D1 Sound Card (Black) by Totally Dubbed
- › Apple In-Ear Headphones (White) by Totally Dubbed
- › Bose® IE2 audio headphones by Jonathandale
- › iWave HF-700 WIRELESS HEADPHONES by felicia
- › Apple iPhone 4 Black Smartphone 32GB by Swimsonny
- › Corsair Vengeance 1500 - 50mm PC USB 7.1 Dolby Headset + Mic by curiousgeorgieo
View: More Reviews
Recent Articles
- › Headphone Buying Guide by keanex
- › Fostex T50RP modification summary LINKS - wiki by ardilla
- › Comparisons of the LCD-3 and the LCD-2 Rev. 2 by MacedonianHero
- › Posting Guidelines by Currawong
- › Comparisons of LCD-2 Rev. 1 and Rev. 2 by MacedonianHero
- › Membership Levels, Badges and Custom Titles by Currawong
- › Sennheiser Hd4 8 Modding For Newbies by koolkat
- › Grado Pad Choices And Mods by Maverickmonk
- › Grado Modification Overview by maxsayer
- › How To Open Your Grado Headphones by chrislangley4253
View: Recent Articles | All Articles
Home | Head Gear | Forums | Articles | My Profile
About Head-Fi.org | Join the Community | Advertise
© 2012 Head-Fi.org is powered by Huddler Tech | FAQ | Support | Privacy/TOS | Site Map
About Head-Fi.org | Join the Community | Advertise
© 2012 Head-Fi.org is powered by Huddler Tech | FAQ | Support | Privacy/TOS | Site Map




