Audio volume control with the AD5220 Digital Potentiometer
b_newms
Posts: 4
Is there a way to use The AD5220 Digital pot to control a mono audio signal's volume with the basic stamp? I am using the Basic stamp BS2 (rev G). I really think it can be done but I can't find info on it anywhere.
Comments
I think I am going to try the " digital control of an analog op-amp" scematic on page 191 of the microcontroller cookbook 1. I have the ad5220 digital pot and a lm358n dual op-amp instaed of the DS1804 dig.pot. LM324n op-amp they call for in the book.
I guess I'm just not sure what to do with the 1/4" audio cable. Do I put the cable's ground into the stamp ground? or leave it intact? How do I figure out the voltage carried by an audio cable? Is it too much to go straight into the dig.pot? please Help....
... there is also an audio amplifier scematic in the second cookbook on page 171. it looks a little different and maybe a little too complex for what I'm trying to do.
If anyone thinks that this is stupid, please stop me! I'll wait a day or so before I start to see if anyone answers this.
Thanks ahead of time!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
It's not "stupid."
This device [noparse][[/noparse]AD5220] is a potentiometer with a linear taper. ·For an audio project you need a device with a logarithmic (or audio) taper.· The easiest way for you to appreciate the difference would be to build an amplifier using a log pot (the sort with a knob), adjust that around and see how that works,·and then·swap it with an equal value linear pot.
http://focus.ti.com/lit/ds/symlink/pga2311.pdf
Post Edit -- Link added
Post Edited (PJ Allen) : 3/15/2008 5:17:24 AM GMT
sound.westhost.com/pots.htm#taper
If you have any interest at all in audio electronics, you can't go wrong by reading everything at the ESP web site.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
I'll mess around with a log pot instead.
Any other suggestions would always help.