Robert: I was looking for this kind of analyzer for a while, could you point me some piece of code? A 20Hz-20KHz bandwidth, 10-16 frequencies and 4 bit resolution would be great for this aplication, if some realtime could be achieved, like 3 chunks/s better. I just need the basics for DFT calculation if someone could help me... > > So: > > 1. What bandwidth? If audio, one would assume 20Hz-20kHz would be > necessary. This is tough to do as a 'continuum' on a PIC. > > 2. What resolution in frequency? If only 8-16 individual frequencies were > needed (sort of like the LED bar graph spectrum displays), then fixed > frequency transforms might be viable. > > 3. What accuracy is needed? If only 4-bits or so, then memory requirements > are much easier. If 8-bits, you need an external memory. > > In summary, it should be possible to do a 32-, 64- or even 128-sample DFT > on a PIC, if you're willing to tolerate a less than 8-bit resulting > accuracy. The maximum sampling rate would probably be only 1-2 kSPS > real-time, expandable if delays in reporting are allowed (1st record, then > analyze). > > This kind of application is much better suited to a microcomputer with a > larger address space and hardware 8-bit multiply at least. E.g., 8051, > etc., or better. > > ================================================================ > Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: ral@lcfltd.com > Least Cost Formulations, Ltd. URL: http://lcfltd.com/ > 824 Timberlake Drive Tel: 757-467-0954 > Virginia Beach, VA 23464-3239 Fax: 757-467-2947 > > "Vere scire est per causas scire" > ================================================================ > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics