I was wondering if anyone knew anything about audio spectrum analyzers?
I am currently trying to make one on a LCD display (2x16 squares, 5x8 dots per square) but I cannot see how I can draw straight lines on the display.
If anyone has any ideas, I would be very grateful. I know how to divide the input into the different channels to display, but not how to actually display them!
1. I didn't realize that the c code was available from the video, thanks for pointing that out!
2. How would I define custom characters?
I am only 14, so don't have a big rage of knowledge on everything, but am I right in thinking that I can program a PIC to define the custom characters?
1. I didn't realize that the c code was available from the video, thanks for pointing that out!
2. How would I define custom characters?
I am only 14, so don't have a big rage of knowledge on everything, but am I right in thinking that I can program a PIC to define the custom characters?
Ultimately, Fred and Myself have yet to build any form of spectrum analyzer, but in the research for it, we concluded the following points:
To display using a LCD, we would need to write custom characters to the LCD overwriting standard character's codes. Take a look at this site.
Using an ADC on the audio signal, on any PIC less than a dsXXXX would result in a very basic representation, (18F4550 has only 1024 steps). This would however give you an idea of the amplitude of the signal.
To work out the frequency domain (the whole point of a spectrum analyzer) would require performing a Fourier Transform to calculate the DFT. (To perform this at any useful rate lookup FFT's). This site should give you some basic ideas of how the FFT provides a frequency domain representation.
But, as I said, Freddie and I never got round to actually building the project listed.
is an example project using an FFT to perform spectrum analysis. (All in Assembler though)
Hi Ali,
Thanks for the links.Yes I understand that it will be a basic representation of the signal because of my PIC's ADC resolution.You can take a look at this link to have an idea of what I mean.
You 'understand' wrongly, the PIC has a high resolution of 10 bits, giving 0.1% resolution. The lack of resolution would be down to the VERY limted resolution on the LCD.
Im looking for a bar type LED Dancing Spectrum display in cars. These wire thru speaker line. They were 2-2 1/2 in. wide and 10-11 in. long. You could program it for the LEDʻs to cross each other(like night rider but 3 crossing each other), or from the middle out, bounce.
I think it had 3-4 LED from top to bottom(ROW) and about 10+ length wise.
They stopped producing them and cant find anything on the WWW. Thanx James....