Author Topic: remote controlled volume with avr  (Read 2245 times)

0 Members and 1 Guest are viewing this topic.

Offline victorTopic starter

  • Regular Contributor
  • *
  • Posts: 110
  • Country: 00
  • Boy who writes code and take things apart
    • vitim.us
remote controlled volume with avr
« on: November 09, 2013, 10:22:07 pm »
I have an old amp that has no remote control, connected to a directv box. I basically want to control the volume without getting out the couch.

I'm open to any other suggestion or approach, but this is my idea. I already played with arduino IR library and it was pretty easy to use a IR module. So I could use an atmel 328 or similar to decode the button press from a remote control, and control the volume.

I want to control the input level before it goes to the amp input, so I don't have to modify the internal amp potentiometer, something like this.

I could use a servo or digital pot.


But to be able to control it using a uC I think digital potentiometer is the way to go, but I have no experience with then, and how many circuitry is required for it to work.



Anyone can help me to build this circuitry. I want build something cheap that does the job, I know how to etch pcb and sodder smd, but through hole is preferable.

Any thoughts would be more than welcome.
your body is limited, but not your mind
 

Offline Alana

  • Frequent Contributor
  • **
  • Posts: 297
  • Country: pl
Re: remote controlled volume with avr
« Reply #1 on: November 09, 2013, 10:43:20 pm »
Digital potentiometr in google and look at datasheets.
For example https://www.sparkfun.com/products/10613
And for volume control you would want logaritmic characteristic of a pot.
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7388
  • Country: nl
  • Current job: ATEX product design
Re: remote controlled volume with avr
« Reply #2 on: November 10, 2013, 09:09:49 am »
Ti has a series which is designed for audio use, mainly for preamps:
http://www.ti.com/product/pga2310
It is easy to use, not cheap though.
 

Offline garak

  • Contributor
  • Posts: 32
  • Country: au
Re: remote controlled volume with avr
« Reply #3 on: November 10, 2013, 11:48:28 am »
Digital potentiometr in google and look at datasheets.
For example https://www.sparkfun.com/products/10613
And for volume control you would want logaritmic characteristic of a pot.

Alana's suggestion isn't bad. These devices are reasonably easy to drive (they use an SPI interface) and aren't too expensive. You'll need two for doing stereo volume control, but these DON'T feature zero-crossing detection and you may get a zipper-like sound when changing volume. It might also make sense to get a dual-channel model as the potentiometers in these will be more closely matched than two single ones.

Have a read of the comments section on the SparkFun page, there are a number of people there who are doing the same thing and got it figured out. You'll find all the SPI commands you need in the datasheet, specifically on pages 47 and up.
« Last Edit: November 10, 2013, 11:53:46 am by garak »
 

Online Psi

  • Super Contributor
  • ***
  • Posts: 9951
  • Country: nz
Re: remote controlled volume with avr
« Reply #4 on: November 10, 2013, 12:30:19 pm »
You could also use a motorized pot, like they have in some stereos/amps.
Generic H bridge driver on the mcu could control the motor speed/direction easy.
Greek letter 'Psi' (not Pounds per Square Inch)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf