ok....how about making a window monitor....using two opamps, with a digital pot controlled by the micro? > ---------- > From: Hisham Abboud[SMTP:abboud@CEDRUS.CEDRUS.COM] > Sent: Wednesday, September 24, 1997 11:36 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: Help connecting a microphone to a PIC > > Hello, > > I have an application which requires that a PIC > microcontroller monitor the volume level on a microphone. > It doesn't need to record or anything, simply monitor > the volume level and take some action based on whether > the level is above or below a certain threshold. > This cannot be done with a comparator since the threshold > can be set at will by software inside the PIC. > > Are there any schematics available on how to connect > a microphone to the A/D port of a PIC? Do I need a > pre-amp? What else would I need? > > Thanks in advance. > > Hisham. > > > -------------------------- > Hisham A. Abboud > Cedrus Corporation. On the Web: http://www.cedrus.com >