Volume Control

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
britesc
 
Posts: 43
Joined: Thu Apr 26, 2012 2:02 pm

Volume Control

Post by britesc »

Hi,
I need to add a smal speaker to a project.
I know I will need some form of volume control, but am not too sure what to do.
Ideally I would like to control the volume "code wise" by having the Arduino up the volume in response to input either from a web page or from the LCD panel attached to the project box.
All I have at the moment is the speaker, no other hardware or software.
Could you please point me in the right direction (nicely) ...
Thanks as always,
kind regards,
jB 8)

User avatar
adafruit_support_bill
 
Posts: 88086
Joined: Sat Feb 07, 2009 10:11 am

Re: Volume Control

Post by adafruit_support_bill »

The Adafruit WaveShield can do volume control in software. It is not really a great way to do it because you lose some resolution of the signal in the process. A better solution would be a "digital potentiometer". These can attenuate an audio signal under software control without serious degradation.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”