Volume control - diyAudio
Go Back   Home > Forums > Amplifiers > Solid State

Solid State Talk all about solid state amplification.

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 16th November 2002, 03:55 PM   #1
nlinus is offline nlinus  Sweden
diyAudio Member
 
nlinus's Avatar
 
Join Date: Jan 2004
Location: Jämtland
Question Volume control

Hello!
I am building a preamp and found a digital volume control which i thougt looked good, the PGA2311.
Does anyone have any opinions about it? I am planning to use a PIC16f84 to control it.

/Linus Nilsson
__________________
----------------------------------
One of my other projects: Svarthålet Racing
  Reply With Quote
Old 16th November 2002, 04:21 PM   #2
diyAudio Member
 
apassgear's Avatar
 
Join Date: Nov 2002
Location: Viña del Mar, Torreon
Linus,
No opinion since I never used one, but I would like to know what's this vol. control is all about since I have started also building a Balanced Zen Line Stage (BOSOZ). Will you be using a separate PS for this?

Do you have an Schematic that you could show?

  Reply With Quote
Old 16th November 2002, 04:26 PM   #3
diyAudio Member
 
Join Date: Dec 2001
Location: Austin, TX
Hello,

BrianGT is also designing a PIC based control for one of the digital volume controls. He is also using a cool VFD display.

Do a search...

Dale
__________________
doing my part to Keep Austin Wierd.
  Reply With Quote
Old 16th November 2002, 06:58 PM   #4
diyAudio Member
 
MRehorst's Avatar
 
Join Date: May 2002
I did a volume control using an LM1972 a couple years ago, with a PIC16F84 controlling it. I am now working on another with some input switching using the PGA2310.

The first one used pushbuttons to set the levels. It worked very well, and sounded pretty good. The new one uses a rotary encoder so you get to turn a knob for volume.

I am designing a "generic" CPU board that will be connected to a separate analog board so I can use different analog circuits with the same CPU. I have designed in a lot more I/O than is required by this simple project so that if I want to do something more complex later I can use the same board. I am using a 16F874 which is ridiculous overkill, but again allows for a lot of future fooling around.

If I recall correctly, all the code for volume, mute, and reading keys took a total of 114 bytes of memory using the assembly language that MicroChip makes available for free. I put the CPU to sleep when it wasn't changing volume so it didn't generate any digital noise. The LM1972 is a good chip except for a sort of odd pinout which makes separating digital and analog grounds a bit difficult. I used an OPA2134 (?) for the opamp at the output.

Check the latest issue of Electronic Design magazine for a real neato single pin keyboard interface!

MR
  Reply With Quote
Old 16th November 2002, 08:08 PM   #5
mlloyd1 is offline mlloyd1  United States
diyAudio Member
 
mlloyd1's Avatar
 
Join Date: Feb 2001
Location: illinois
Default Re: Volume control

Do a search. There's been some useful stuff posted about these devices. There's a guy in the UK who is building/has built a very nice looking unit with this chip. His preamp is not discrete, but that's not important to your question.
mlloyd1
p.s. I just found the link http://www.mhennessy.f9.co.uk/preamp/analogue.htm

Quote:
Originally posted by nlinus
Hello!
I am building a preamp and found a digital volume control which i thougt looked good, the PGA2311.
Does anyone have any opinions about it? I am planning to use a PIC16f84 to control it.

/Linus Nilsson
  Reply With Quote
Old 17th November 2002, 05:57 PM   #6
diyAudio Member
 
Join Date: Jun 2002
Location: UK
Hi All,

Quote:
Hello!
I am building a preamp and found a digital volume control which i thougt looked good, the PGA2311.
Does anyone have any opinions about it? I am planning to use a PIC16f84 to control it.

/Linus Nilsson
As mlloyd1 says, I've done this just recently. There's quite a lot of info on my website, but please feel free to post or email me for help...

As you might have already realised by now, the PGA2310 is a better bet because it runs from +/-15V supply rails... If you haven't already done so, search this forum for PGA2310 for lots more info.

Good luck

Mark
  Reply With Quote
Old 18th November 2002, 09:51 PM   #7
mlloyd1 is offline mlloyd1  United States
diyAudio Member
 
mlloyd1's Avatar
 
Join Date: Feb 2001
Location: illinois
Oh, Hi Mark. Just wanted to say your preamp is a beautiful piece of work! I'm looking to do somethign similar when I can get some time .....

mlloyd1

Quote:
Originally posted by mhennessy
Hi All,
...
As mlloyd1 says, I've done this just recently...
  Reply With Quote
Old 27th November 2002, 04:35 AM   #8
diyAudio Member
 
Join Date: Feb 2002
For those that have used any of the 3310/2311/2310 chips, is there any major reason I couldn't drive these from a PC parallel port? I had been thinking of hooking up a 68hc11 on the serial port, and driving them with that, but now that I think about it a straight parallel port would be much simpler. I haven't looked at level/timing diagrams in exhaustive detail yet to ensure that it's feasible.

Since I'm using the PC as the source for all my audio/video, it's not an added component.
  Reply With Quote
Old 27th November 2002, 05:33 AM   #9
BrianGT is offline BrianGT  United States
diyAudio Moderator Emeritus
 
BrianGT's Avatar
 
Join Date: Jan 2002
Location: near Atlanta, GA
Send a message via AIM to BrianGT
speaking of the volume control, my roommate who is helping me with it got back the analog volume control boards. They are pretty cool. He made them so that you can stack them on top of each other and then you only have to connect the digital connection to the top board. It is a pretty cool design. It makes it highly scalable. The boards are now populated, and I will get some pics soon. He made one mistake... mapped the +/- 15v to the opamps backwards, so he fried the opa2134 chips, and the pga2310 chip, so he had to reroute these two, and start with new chips. It appears to be working now.

Here is a pic of the unpopulated board. It is quite simple, and is based off the schematics on Mark Hennessy's website. Thanks Mark for the inspiration. I should have a finished prototype soon. The digital side is pretty much done. We haven't done the power supply yet, and are just using a bench supply for the analog stage now.

--
Brian
Attached Images
File Type: jpg pga.jpg (64.0 KB, 1506 views)
  Reply With Quote
Old 27th November 2002, 12:46 PM   #10
diyAudio Member
 
Join Date: Jun 2002
Location: UK
Hi Brian,

I'm impressed with your board layout, and very pleased that my site was helpful to you

You've been able to optimise the layout by freeing yourself from the mechanical constraints that I imposed on myself. I wanted to minimise the interconnections by using things like ribbon cable and PCB-mount phono sockets...

Your layout has lots of copper dedicated to earth, which is an excellent plan. One suggestion, though. I notice that there isn't a power supply decoupling capacitor at the input-end of the PCB. It might be worth trying to solder a couple on the back of the board during listening tests. It might not make any difference, but the PGA2310 datasheets made quite specific recommendations about it.

I notice that you've included gain on the input buffer. I added a very small amount of gain there to compensate for the losses in the input filter - this was only for the benefit of the fixed-level listen-source output that I provided, indeed I didn't bother for the surround-channels. So, you'd be able to simplify that end of the board if you wanted...

Out of interest, what do C15 and C25 do? I ask because they appear to be electrolytics! I guess that they are the 1nF caps that I used to set the -3dB point to 100kHz...

Very impressive work! I can't wait to see the assembled version... Which CAD package does your roommate use?


dwk123: If you are able to control the individual bits of a PC parallel port, then you should have no problem controlling these chips. You just need 3 lines for clock, data and latch (or strobe). You could also control the mute input with another bit - I mute via software. The timing diagrams in the datasheet should tell you everything, but feel free to ask for more info...
  Reply With Quote

Reply


Hide 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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Volume control on DVD player remote. Lose resolution at low volume? Circlotron Digital Source 2 10th June 2011 07:20 PM
i need preamp schematics w/o tone control or volume control hernanstafe Parts 7 30th January 2008 03:12 AM
The remote control paratactic volume control audio-gd Solid State 33 7th June 2007 11:16 PM
PC volume control sumacSK Chip Amps 9 28th November 2005 05:33 AM
remote control motorised control for volume pot/knob CharlesY Parts 0 25th July 2005 11:12 AM


New To Site? Need Help?

All times are GMT. The time now is 12:36 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright ©1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2