Updated:
- 2016-08-17 - Added small application for calculate frequencies and parts.
10 Band Equalizer |
A graphic equalizer is a high-fidelity audio control that allows the user to see graphically and control individually a number of different frequency bands in a stereophonic system. A typical graphic equalizer consists of several audio filter/amplifiers, each centered at a specific frequency in the audio range. Most graphic equalizers have two identical sets of filter/amplifiers, one for each channel in a stereophonic system.
The gain controls in most graphic equalizers are slide potentiometers that are adjusted by moving a controller up or down. Gain is increased by sliding the upwards. The slide potentiometers for each channel are placed side-by-side, with the lowest-frequency unit at the left and the highest-frequency unit at the right. In this way, the positions of the buttons appear to follow a graphical curve that represents the gain as a function of frequency for each channel.
By using following circuit you can build a 10 band stereo graphic equalizer that can be controlled via I2C system. For this circuit I used two of TEA6360 ICs. Each IC contains two serial five bands equalizer blocks. Therefore, we need two ICs for 10 bands. We can reduce the size of circuit because all the function can be drive via i2C. So that, we do not need connect potentiometers to control the gain of frequency bands like an ordinary equalizer. In addition, we can reduce cost and complexity of circuit using this IC.
Schematic |
Circuit on PCB |
In my demo code, I used 16F628A micro-controller and single button to set equalizer modes. The modes are ‘Flat’, ’Rock‘, ’Pop‘, ’Jazz‘ and ’Party’. The status will indicate by five LEDs those connected to PORTA. In addition, selected mode saved to device Eeprom and load to ICs when start up. However, according to your choice you can able to change the code.
For example if you need to set gain for each frequency manually, then you can add 1 button to each channel and total 10 buttons. For another example, you can add 3 buttons. One button to raise the gain and other to lower and 3rd one for select desired frequency.
The center frequency of each bands are 31Hz, 62Hz, 125Hz, 250Hz, 500Hz, 1KHz, 2KHz, 4KHz, 8KHz and 16KHz. the Q (quality) factor is 1 to 1.2 and PCB, full schematic and sample code can be downloading in below.
Part List
- C04, 07, 08, 09 = 0.37uF
- C10, 11, 12, 13 = 0.18uF
- C14, 15, 16, 17 = 0.01uF
- C18, 19, 20, 21 = 0.047uF
- C22, 23, 24, 25 = 0.022uF
- C27, 28, 30, 31 = 0.01uF
- C32, 33, 34, 35 = 0.0052uF
- C36, 37, 38, 39 = 0.0027uF
- C40, 41, 42, 43 = 0.0015uF
- C44, 45, 46, 47 = 720pF
TEA6360
The 5-band stereo equalizer is a 12C-bus controlled tone processor for application in car radio sets, TV sets and music centers. It offers the possibility of sound control as well as equalization of sound pressure behavior of different rooms or loudspeakers, especially in cars.FEATURES
- Monolithic integrated 5-band stereo equalizer circuit
- Five filters for each channel
- Center frequency, bandwidth and maximum boost/cut defined by external components
- Choice for variable or constant Q-factor via I2C software
- Defeat mode
- All stages are DC-coupled
- I2C-bus control for all functions
- Two different module addresses programmable.
Posted By :
Please Note: All contents provided on this blog are for non-commercial purposes only.
Hi Scopionz,
ReplyDeleteThanks for this project, please if I want to change the xtal frequency to 8MHz do I have to edit PCON.OSCF = 1; //4MHz code?
David.
Of course, Remove the code and select HS oscillator from oscillator selection. And make sure to change clock frequency to 8MHz.
DeleteGreat project, but you forgot to include the parts list! :)
ReplyDeleteSorry for that. I will update it.
DeleteThanks! :) I'm curious, how did you calculate the values for the resistors and capacitors? I'd like to make a similar application but with three EQ ICs and I can't match a formula for calculating the filters..
DeletePlease refer datasheet.
DeleteAlso I added small application to the download section. please use it to calculate.
I can't find any equations on the TEA6360 datasheet but your calculator seems to work for the similar chip the TDA7317 as the results match the equations and results on its datasheet.
DeleteHi Philip,
DeleteI used equation of TDA7317 for this. And it worked for TEA6360 too.
Great project. I've being looking for something like this for some time. I had build a stereo 5 band equalizer with a couple of BA3812L and X9c104p for the "digital control". I'm looking at the little app to calculate the C2 capacitor, and I see that each filtering block is comprised of 2 capacitors and 1 resistor. So I don´t understand where the other resistor for the calculation is found. Which should be that one? Thank you.
ReplyDeletePlease refer device datasheet for calculation.
DeleteSame here. Is the other resistor internal to the chip and if so, what value is it? I have checked the datasheet and it's not mentioned as far as I can see.
DeleteHi Philip,
DeleteI geuss it should be 27k to 33k
Nice could one produce an 20 band by repeating the circuit?
ReplyDeleteForgot to ask. Is there an link to the source-code relating to the project?
ReplyDeleteSource-code included in zip file
Deletecan you please provide gerber files for making the pcb, I am unable to do it with the provided pdf file, Schematic file is also ok.
DeleteSend your email address
Deletegreat man...great project i want direct chat with u ...can i do it
ReplyDeletewhere i can get the schematic with the 16f628? thank you!!
ReplyDeletehttps://3.bp.blogspot.com/-zDixlzH7f04/VWbh00-5U6I/AAAAAAAAACY/va79LD0-3bo/s1600/TEA6360_sch.jpg
Deleteok, this one i know, i need the 16f628 schematic to connect to the main pcb, i can not find it,sorry and thank you again
DeleteUse desktop mode if you use mobile phone browser and then click download button ☺
Deletehttp://tiny.cc/Eq_6360
Deletehi, i can't download the files. i'v got 404 error.
ReplyDeletecan you repost the files ?
thank you
Nice pls how do arrange the equalizer pin,is it soft touch button
ReplyDeleteShould I use log variable resistors
ReplyDelete