diyAudio

diyAudio (http://www.diyaudio.com/forums/)
-   Chip Amps (http://www.diyaudio.com/forums/chip-amps/)
-   -   Digital Volume Control (http://www.diyaudio.com/forums/chip-amps/25196-digital-volume-control.html)

soundNERD 2nd January 2004 01:48 PM

Digital Volume Control
 
Can I use the LM1972, at http://www.national.com/pf/LM/LM1972.html and control it with two pushbuttons, one for up and one for down?

If not, would any National, Maxim or TI chip (I would like to get samples) work for what I want to do?

Thanks, Mike

mhennessy 2nd January 2004 02:42 PM

Re: Digital Volume Control
 
Quote:

Originally posted by soundNERD
Can I use the LM1972, at http://www.national.com/pf/LM/LM1972.html and control it with two pushbuttons, one for up and one for down?

If not, would any National, Maxim or TI chip (I would like to get samples) work for what I want to do?

Thanks, Mike

No, you would need a microcontroller (such as a PIC or AVR) to generate the serial data required by most of these devices. Checking the datasheets will tell you all you need to know about the format and timing, etc...

An exception to this is the Dallas DS1802, which can be controlled by pushbuttons. I considered it for use in my preamp, you can read what I though here: http://www.mhennessy.f9.co.uk/preamp...e_research.htm

Cheers,

Mark ;)

deandob 2nd January 2004 09:01 PM

PIC volume control
 
I have a working PIC schematic & code for the LM1972 as a volume control - if needed I can email it to you. The code allows the PIC to be connected to a PC serial port & control the volume through software on a PC.

Regards,
Dean

Matttcattt 3rd January 2004 01:24 PM

Re: PIC volume control
 
Quote:

Originally posted by deandob
I have a working PIC schematic & code for the LM1972 as a volume control - if needed I can email it to you. The code allows the PIC to be connected to a PC serial port & control the volume through software on a PC.

Regards,
Dean

Could you e-mail me the info also? matttcattt@yahoo.co.uk

Thanks

jackinnj 3rd January 2004 02:16 PM

Re: Re: Digital Volume Control
 
Quote:

Originally posted by mhennessy


No, you would need a microcontroller (such as a PIC or AVR) to generate the serial data required by most of these devices. Checking the datasheets will tell you all you need to know about the format and timing, etc...

An exception to this is the Dallas DS1802, which can be controlled by pushbuttons. I considered it for use in my preamp, you can read what I though here: http://www.mhennessy.f9.co.uk/preamp...e_research.htm

Cheers,

Mark ;)

No you don't need a microcontroller -- but it is easier with one -- the LM1971,2,3 are synchronous devices so you either toggle the clock line yourself or use a slow-moving 555, an 8-bit "counter" and a "Parallel in Serial Out" shift register (74HC595) -- bring the Load line "LOW", set the address of the LM1972 (0,1,2), by transmitting 8 bits, then transmit the dB/mute setting (second 8-bits), bring the Load Line "High". Parts to do this are about $1.00.

If using a pushbutton for up down, consider how many milliseconds you want the '555 to run for the full gamut.

"Software" in solder -- the old fashioned way -- still works as Steve Ciarcia is wont to say.

deandob 3rd January 2004 08:58 PM

matttcatt, you have mail.

Regards,
Dean

soundNERD 3rd January 2004 09:17 PM

First, I ordered a sample of the dallas chip.

Second, I would like that microcontroller volume control code and schematic.

e-mail me at webmaster@electronet.5u.com

Thanks!

TheTrax 3rd January 2004 09:24 PM

Hi
can you tell me the chip type number and the kind of microprocessor you want to use ?
I can help you making ASM assembler routines if you want ?

soundNERD 4th January 2004 05:00 AM

Well, i donno 2 much about microcontrollers. 2 be honest, ive never used one before. So, whatever is cheap and can be eaily bought. (as always i like free samples).

-Mike

koolscooby 4th January 2004 05:05 AM

Re: Re: Digital Volume Control
 
Quote:

Originally posted by mhennessy


No, you would need a microcontroller (such as a PIC or AVR) to generate the serial data required by most of these devices. Checking the datasheets will tell you all you need to know about the format and timing, etc...

An exception to this is the Dallas DS1802, which can be controlled by pushbuttons. I considered it for use in my preamp, you can read what I though here: http://www.mhennessy.f9.co.uk/preamp...e_research.htm

Cheers,

Mark ;)


And let me add, that your pre-amp is really hardcore-style-awesome :)... i plan to build something similar to it when i have abilities even close to yours ;)


All times are GMT. The time now is 07:53 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