digitally control volume - diyAudio
Go Back   Home > Forums > Amplifiers > Chip Amps

Chip Amps Amplifiers based on integrated circuits

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 18th February 2008, 07:29 AM   #1
diyAudio Member
 
Join Date: Feb 2008
Default digitally control volume

hello!

i do not know where to start but i want to make a controller than can control the volume and bass of my pc speaker. my current controller is faulty and i thought of making a diy control. so i need to ask for help so that i can know which IC is suitable.

thank you
  Reply With Quote
Old 18th February 2008, 09:51 AM   #2
Dxvideo is offline Dxvideo  Turkey
diyAudio Member
 
Dxvideo's Avatar
 
Join Date: Nov 2003
Location: Turkey
Send a message via Yahoo to Dxvideo
I am working on a PGA2311 project, not finished yet. But as I heard, its a very nice chip. Need to write some codes and a mcu of course... If you need help I can do...
__________________
Best regards,
Ozgur
  Reply With Quote
Old 18th February 2008, 11:21 AM   #3
diyAudio Member
 
Join Date: Mar 2007
I've just finished a project based on PGA2320. Some details at http://audio.gotroot.ca/minivol/ . Firmware still needs a bit of work, but it's fully functional and sounds great, listening as I type, in fact. Once the firmware is completed I will be posting it with full source, if anyone needs it.

That won't get you any kind of EQ (bass control) though, it does volume control (and balance, I suppose), and that's all. You can build a simple tone control with an opamp and a couple of passives. See http://sound.westhost.com/dwopa2.htm#baxandall for details.

If you're looking for a relatively lo-fi solution you could use something like the TDA1524, but sound quality of these leaves a lot to be desired. You'd get much better quality with the PGA23xx and Baxandall circuit (if you really must have it...you could always EQ in software instead).
__________________
http://audio.gotroot.ca/
  Reply With Quote
Old 18th February 2008, 11:43 AM   #4
diyAudio Member
 
Join Date: Feb 2008
what i was thinking was to replace the analogue pot with a digital pot so that i do not need to turn the knob but jus to press the button.

i wanted to do this cuz the pot that i'm using now will suddenly turn the volume to max and sometimes down to its min. so i cant listen to songs properly. i tried changing it but after a few mths. back to the fluctuating volume.
  Reply With Quote
Old 18th February 2008, 03:38 PM   #5
gootee is offline gootee  United States
diyAudio Member
 
Join Date: Nov 2006
Location: Indiana
Blog Entries: 1
For a good attenuator, look at the 'Lightspeed Attenuator...' thread, here at diyaudio.com. You can use two 'analog optoisolators' per channel, one in series and one to ground after it (shunt), forming a variable voltage divider, with no moving parts.

The analog optoisolators are just an LED and a photocell encapsulated together in a light-tight case. The current through their LEDs controls the resistance across their photocell terminals. You could use the Silonex NSL-32SR2S from alliedelec.com, like the Lightspeed Attenuator uses.

These would be really easy for voltage control. If your control input is 0v to 5v, you use that for one of the optos' LED's current-control (i.e. via a series resistor to the LED, then to ground) and also make the 0 to 5v into 5 to 0v for the other one, probably using an opamp as an inverting differential amp with 5V on the positive input. That way, one goes from minimum resistance to max resistance at the same time as the other one goes from max resistance to min resistance, giving a wide dynamic range as well as a fairly-constant input impedance. (It can easily be used with a potentiometer for the control, too, as the Lightspeed Mk II uses. The main beauty of it, then, is that the pot is not in the signal path.)
__________________
The electrolytic capacitors ARE the signal path: http://www.fullnet.com/~tomg/zoom3a_33kuF.jpg
  Reply With Quote
Old 18th February 2008, 07:41 PM   #6
TheMG is offline TheMG  Canada
diyAudio Member
 
Join Date: Jan 2008
For a current project of mine I have a TDA7439 on order. It does volume, balance, bass, mid, treble and also has a 4-input stereo multiplexer. Controller via I2C serial bus.

I'm hoping the sound quality will be good. Guess I'm going to be finding out fairly soon.
  Reply With Quote
Old 22nd February 2008, 07:56 AM   #7
diyAudio Member
 
Join Date: Mar 2007
I did complete one project based aroun PGA231x with PIC MCU, unfortunately never completed the firmware
Attached Files
File Type: pdf schematic.pdf (36.2 KB, 180 views)
  Reply With Quote
Old 23rd February 2008, 09:36 PM   #8
diyAudio Member
 
danielwritesbac's Avatar
 
Join Date: Nov 2007
Quote:
Originally posted by gootee
For a good attenuator, look at the 'Lightspeed Attenuator...' thread, here at diyaudio.com. . . .
Originally, that technology, from its introduction in 1934, and to current date, has trouble with acting somewhat like a tone control, in that lower volume settings could be muffled.

Has the problem been fixed by using an LED instead of a light bulb?
  Reply With Quote
Old 21st April 2008, 04:13 PM   #9
sexya is offline sexya  India
diyAudio Member
 
Join Date: Jun 2007
Location: Bombay/India
Send a message via MSN to sexya Send a message via Yahoo to sexya
Default Ref TDA7439

hey Mike,
i am working on TDA7439 and TDA7265 as a stereo amp with a PCM2704 for usb inp... but the good news is i have some program ready for it but i am using a 89S52 with a LCD 2/16 hmm the lcd section is kindo not that great if want i can email it.. remeber you'd ahve to work around it a bit
let me know if you wish to work on the one i have and make it perfect .. the communications is working fine.. checked it with proteus and on chip it self
for checking on proteus simulator disable the reply check from 7439 routine and put a i2c debu tool on the i2c line nad you would be able to see hte code's coming out... and then match it with the datasheet of the table...( all this is in proteus (isis))
  Reply With Quote
Old 21st April 2008, 05:37 PM   #10
TheMG is offline TheMG  Canada
diyAudio Member
 
Join Date: Jan 2008
Well, I finished my build using the TDA7439, I have to say I'm quite pleased with the sound quality of this chip. It's quite nice having a digitally controlled 'preamp' as I can do neat things like set different input gain levels and tone settings for different sources, and save those settings in memory, so all you have to do is switch sources, and all the proper settings for that source are loaded automatically.

It was a bit of a pain to program mainly due to the fact I am using a 68HC11 mcu programmed in straight assembly code, and that the 68HC11 does not support I2C natively. I essentially had to 'bit-bang' the I2C interface using general purpose I/O.

I even put a feature on my amp which allows the user to set a power-on password. Should come in handy, there's a person in the house I just know is going to want to crank the thing the minute I'm not there - something my current speakers can't take.
  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
A digitally controlled volume control solution ybserge Chip Amps 2 4th January 2007 09:31 PM
Digitally Controlled Volume, Tone IC ?? metal Chip Amps 55 8th August 2005 11:35 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 07:20 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