![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| hey guys | |
| |
| | (permalink) |
| What you are wanting is a simple spectrum analyser. There's no problem multiplexing the LED's (using 18 pins), and you could use an A2D to read the analogue input. The problem is seperating the frequencies!. You could do it in hardware, with bandpass filters providing 10 different outputs, and switch the A2D between them in turn. Or, you could use FFT (Fast Fourier Transform), an extremely complicted piece of maths which could do it all in software. The only problem is the power required, I don't know if a PIC could manage it, although I do seem to remember seeing something about it previously. But FFT isn't for the faint hearted :P | |
| |
| | (permalink) |
| thanks for the reply, yes thats exacly the answer i needed | |
| |
| | (permalink) |
| You may find this interesting http://www.piclist.com/techref/micro...t/picspect.htm. Suprising what you can find with Google, I simply entered '+fft +pic'. | |
| |
| | (permalink) |
| thank you kindly sir! | |
| |
| | (permalink) |
| FFT is possible on a PIC, indeed someone won an award a couple of years back where they made a spectrum analiser hook straight upto a VDU. http://www.circuitcellar.com/pastiss...98/article.htm | |
| |
| | (permalink) | |
| Quote:
That looks very similar to the PICList link I posted, I wonder if the same guy wrote the article?. | ||
| |
| | (permalink) |
| take a look at the "Five channel color organ." on this page , this guys got a mid range pic to do FFT by the looks of it http://members.cox.net/berniekm/ hope it helps | |
| |
| | (permalink) |
| I think its the guy who wrote the code the guy on piclist is prasing. Its a very cool design he made, using a VDU rather than a TV to make it safer ! Also i still think of the high end PICs as low end micros | |
| |
| | (permalink) |
| yeah I just went out and got a pic17c756 .. Im going to have a go at makin that spectrum analiser | |
| |