Controlling volume of an amplifier..
Hi PICspert!
I'm new to electronics and programming, please guide me where to start on how to control the volume of an amplifier. The amplifier has volume knob already but I want to create two button switch that will increase and decrease the volume.
Thanks in advance,
joe
1 Attachment(s)
Controlling Volume Control of an AMP
Here is my approach to control volume of any amplifier, i have used DS1802 a digital pot from Dallas Semi with buttons control. No need for a microcontroller. These are schematics and layouts of the circuit, it uses five buttons mute, up, down, right, left.
I have three boards of the same. Using one of them with amy amp , a gainclone based on OPA549 and in realtime it really rocks.
3 Attachment(s)
My solution after some years
Quote:
Originally Posted by
Ioannis
Both chips look nice although MPC507A does not refer any distortion in audio range.
But I think the relay solution gives much better results in whole (crosstalk, distortion etc).
Ioannis
I agree with the posts here regarding the noise introduced by digital volume/balance controls. Have used many but mainly the Dallas DS1809 stereo chip. No matter what you do with support circuitry including the suggested bridge there is still a lot of noise if your aim is top quality sound.
So I went back to normal pots. Used Alps with motors for both volume and balance. There seems to be a move not to include a balance control for various sonic reasons. I find it essential as my recordings vary all over the place and I like the vocal "middle sweet spot". I have now settled on the circuit here - it's about try 7 I guess. Simple but good.
For my new tube pre-amp all functions and the two displays are controlled by a single 16F877 PIC. This is what it controls.
1. Ten second countdown via LED on startup to let tubes warm up prior to turning selected input on.
2. Selectable start Input default or you can code to save to start with off selected.
3. Seven push buttons for Input up/down, Volume up/down, Balance left/right plus Mute. These plus a display/buzzer on/off and standby system on/off are also available from the remote control.
4. Five stereo line inputs via relays. Three Line outputs.
5. Current Input number selected is displayed on a 7 segment LED. When the mute button is pressed the current input is turned off until reactivated. During this time the input is flashing.
6. Alert buzzer which can be programmed to do just about anything.
7. And now the good stuff. There are two other 7 segment LED's which are multiplexed to display at least at the moment a dB volume level as the default. Press a button and the current balance will be displayed. This can then be adjusted from L1-9 to R1-9 until the display says what you want. Seconds later the volume level returns.
All this is done in just one small PIC. Quite amazing. But I must tell you there are no pins left!
I spent a bit of time here to hopefully repay a little the advice received from this Forum over some years. Thanks Guys! - Happy to help if the info here is not enough.
Re: Controlling volume of an amplifier..
Quote:
Originally Posted by
abidr
Ioannis:
I think what you have mentioned is not very difficult to achieve, but for that you ll need a bigger PIC like 16F877A and probably two ULN chips. I intend to make an input selector with a simpler PIC like 16F84A, but insted of relays I would like to use something like MPC507A or if I want to complicate circuitary I ll use something like SSM2404.
Here are a couple of PICs of the populated pre amp its a very small size PCB like 4.5x4.5 Inches.
Very good design Abidr.Please tell me what the IR code of your remote control (Sony,Philips..) and which compiler for your project.Thanks.
Re: Controlling volume of an amplifier..
Hi joe.
You can solve the problem just using a single chip.Just use PT2253B.
Thanks
LOOSHA