Sorry People, I forgot the tag on this post. Steve Hello All, I have a project that I want to do in a pic but want to make sure it hasn't been done before. I really hate re-inventing the wheel. Anyway, What the circuit will do is have a speaker connected in a test setup and pass a range of frequencies to the speaker testing the impedance at each frequency. I would like to have the pic connected to a computer running a basic program for graphing the results. The results will later be used to calculate the enclosure size for the speaker. Questions I know I can use a pic with an A/D for measuring a voltage but how would you have a pic generate a frequency? The frequencies needed are in the audio range from 1hz to about 20khz. If it hasn't been done already I have a schematic of the manual test setup using a freq generator and dvm to do the test manually. I could scan and send the schematic if anyone is interested. Any help would be great, Steve mailto://kcer@home.com -- 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 PICList is archived three different ways. See http://www.piclist.com/#archives for details.