>-----Original Message----- >From: Brian Clewer [mailto:brianclewer@MISTRAL.CO.UK] >Sent: 15 March 2004 12:55 >To: PICLIST@MITVMA.MIT.EDU >Subject: [PIC:] FFT using a PIC > > >Hi all, >do any of you out there know if there are any web sites >documenting how an FFT is done using data produced from the >A/D converter? Probably pushing the boundary of the PIC a >little here, as I know there are quite a few calculations to >be done. Ultimately, I would like to find out what is the >prime frequency and where the side bands are for an >oscillation in the region of 10-300Hz for a period of about 5 >seconds. Maybe I would be better off using a DSP, but I have >never used them in the past. > >Here's hoping...:) > >Brian. This is just the sort of thing the dsPIC was made for. Microchip even have a bunch of DSP libraries (including FFT) available for free on their web site. If you want to stick to a PIC, Circuit Cellar had a project using a 17C series device that produced a spectrum analyser output on a video display, the PIC doing all the FFT and video timing. The article is http://8ball.ofb.net/~heath/eeg/laco-98.pdf and the code should be on the CC web site. Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= Any questions about Bookham's E-Mail service should be directed to postmaster@bookham.com. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body