Digitally Controlled Volume, Tone IC ??

This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Hello every one

Its been long time ago since I have participated in a thread, nor posted new one...

I spent the last few months learning PIC microcontroller programming, built my own programmer, and have stolen lots of software to accomplish the dream of PIC MCUs programming.

When I first participated in this forum, I always wanted to control audio digitally, so I kept looking for those ICs that support conact switches instead of MCUs control, such as DS1960 as I remember.

Now I can make any thing I want with PICs, starting from LED blinking, to serial communication, and I am really happy with this, my last project was using PGA2310 to control volume, very nice LCD was included too, to display volume reading in decibles, and to show mute state, if switched on or off.

I thought I could use TDA1524 volume and tone control with digitally controlled potentiometers, such PGA2310, but this is still a tedious work.

I mean if I want to control TDA1524 using digi potentiometers, I will have to use three, volume, bass, and treble. And big MCU will be used also such as PIC16F877.

I thought if I have an IC capable of controlling volume, bass, and treble, with a built-in digital control interface for microcontrollers would be much better.

Can any one suggest IC numbers that do this work, especially those that fit into an ordinary stripped board ( Have 2.54 mm pin spacing ) ;)

Thanks to everybody :)
Hey another PIC programer, you use the printer port and two resistors to build your programmer? Cause i did that last year in my Hardware applications using C class. We didn't get into controlling LCDs in class but I looked around PIC Lite programming software that we have in the department and saw some example code.

I was actually looking into using encoders (if found cheaply) and an IC to control volume. But if you got it working with digital pots, thats cool.

I haven't really read the entire Data sheet but check out the LM835, Its used for graphic EQ but i am sure you could use it to control bass and treble.

other then than that i haven't really researched it that much, but do you think you could enlighten a few of us here that know about pics with some Code. I would really love to get an LCD and just volume control on my GC project that i am starting in a few weeks.

The LM1036N is a tone volume control, connect it up to some digital pots, controlled by a pic with an LCD you are good to go. But it doesn't have the ability to be controlled by a micro controller itself.
Not helping :(

Hello G4ME

Yes, I use LPT port, but many resistors and a buffer IC...and some transistors to be able to program most PICs and EEPROMs.

I am not programming PICs with the ASM stuff, rather I am using PICBasic Pro compiler, better than ASM, and C compilers anyway, cuase it has commands to drive LCDs directly, rather than writing code for data lines, RS line, and E line. Also, I don't have plenty of time to gebug code, especially, that one I used to write in ASM when I first started with PICs.

Also, using digital pots is not a big deal here, cause there is a cool command "SHIFTOUT" that handles the sync serial data out and clock, and "BUTTON" command that makes it nice...

I just wanted an IC that connects to an MCU directly rather that using digital POTs to control LM1036, or TDA1524. And I have already made my volume control with PGA2310, cause I will use it for my next gainclone, with STK4191.

For example, LA2650 bass boast IC is controlled using MCUs or Microprocessors, but unfortunatelly, is not available in my country.

And by the way G4ME, if you need any help with MCUs and LCDs, please don't hesitate to contact me :)

Have a nice day
I have used the LM1036 in a low-end application. It controls volume, bass, treble, and balance using DC voltages as inputs. These voltages are usually derived from simple pots, but you could use digital pots, or DACs instead. It does not have stellar performance, so you would probably not want to use it in a gainclone.

You would probably get better performance, as wxn suggested, by using a classical Baxandall tone control, replacing the pots with digital pots (of good quality). Many digital pots use either a bus (I2C) or can be daisy-chained, so you do not neet to have separate control lines for each one, saving a lot of I/O pins on your uC. This is the option that I would investigate first.

Another option is to use a DSP like the Texas Instr TAS3004. This single chip has a stereo ADC, DSPs for tone control and 7-band EQ (and other stuff), volume control, and stereo DAC. It's analog in and analog out, so you don't need any other digital audio chips, just a microcontroller to control it. You don't need to know DSP theory either... you simply specify parameters for each function that the chip performs and it does it. You may not like the idea of adding a generation of analog/digital/analog conversion, but this will perform infinitely better than the LM1036.

A few companies used to make digitally control analog tone controls, but they don't seem to be available now. They had been used primarily in car stereos, but these days they all have some kind of DSP to do that work (it's actually cheaper).
Hello Macboy

Good idea you had, TAS3004, that means I have to use some PCBs, and I really hate designing PCBs, but still a nice idea, as long as I have PROTEL DXP 2004, eagle, proteus...In deed I have them all, and Orcad 10.0 is included, but each time I set to use one of them, I go crazy, so I prefer the old fashoned stripped boards, less expensive too.

A PIC with built-in DACs will be very nice, 3 channels, and as you guys suggested TDA1524, or LM1036, will perform nice, and fairly good, I liked that idea in deed.

Hello neutron7

Thanks for thius IC number, the most important thing it is not SMD, by the way, national doesn't send samples to jordan, and this is not available in jordan.

Any one can provide me with some please :xeye:

G4ME, DACs are good enough, I have used them before, no problems as long as I use PICBasic Pro compiler. TDA7439 is SMD stuff, and I can't use it.

Outstanding Performance

Hello Guys

Today I have found TDA7212, TDA7213, TDA7215, TDA7218. A friend on msn has directed me to these ICs datasheets. He also told me that TDA1524 is notorious, as its noisy as he has described it.

TDA7215 is incredible, it has volume control, bass & treble control, in addition to loudness control.

It uses I2C communication protocol, which means its easy to control it, and the most important its DIP20.

If any need help now, then you can ask me.

Hi, i am another Metallica fan ;) with exactly the same problem. I started learning pic's year ago, and i am also using PicBasic since it's easy and fast to make programs with it. I built 5.1 channel amplifier (5x20w+200w for sub,all with TDA chips) almost a year ago, and the only controls that i am using for volume are the one on soundcard (pretty stupid solution). So i decided to built volume control, but for surround system i had to go with digital solutions, although i don't like them in audio world. The only chip that i found at my favorite shop here in Serbia, was TDA7314. It's very cheap and characteristics are pretty good for my aplication. But since I am using PIC16F84a pic's which don't have I2S output I have to go with PIC16F877. I bought that tda7314 for testing, and than i stoped when i realised that i don't have i2s output. But I spent around 200e for amplifier and about 50e on speakers (DIY offcourse), leaving me, for now, without the money for further upgrading.
I hope that you will present to us your solution (PCB + program), so I will have something to motivate me for further spending of money :D . Good luck with project!
Hello Mx :)

I am struggling with final exams in the university now, so I can't start with this project untill I finish exams, as this is my last semester, offff ... A little patience required.

When I finish, I will certainly start with it, I have the same problem too, I have neither PIC16F877, nor TDA7314, and I have found new programmer that I have to build first, but I will certainly build the programmer and buy the ICs as soon as possible, and start roaming here and there. And I have never used I2C, so some experiments have to take place first.

Of course I will release the PICBasic Pro code, and the compiled HEX files for those people that don't have the compiler. I will put the schematic diagram only, because I don't know how to design PCBs !! Although I have proteus 6.72 Full, Protel DXP 2004, Eagle, and Orcad 10. If some one likes the idea, he/she can support this thread by drawing a PCB for us using Proteus.

For my amplifiers, I will use two STK4191V, one for satellite speakers 2X50W, and the other bridged for subwoofer 120W. As you know Mx, heavy metal requires high power into 8 Ohm speakers, not 4 Ohm "distortion issues", so heavy duty ICs are a must. And don't forget Cradle Of Filth band, while Dani is roaring, the subwoofer will be struggling ;)

Have a nice weekend guys
Heh, again i have the same problem with my time and exams at my electrical engineering university, and i also have to wait summer for all that experimenting. I will use my current programmer for pic16f84a which i am going to expand so i could program 16f877. If we start project at the same time, i hope that we could cooperate and make some killing stuff. ;)
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.