>-----Original Message----- >From: Hulatt, Jon [mailto:jhulatt@MONSTEREUROPE.COM] >Sent: 22 April 2004 11:57 >To: PICLIST@MITVMA.MIT.EDU >Subject: [EE:] sine wave generator > > >Hi, > >I need to generate a 1300Hz ish sine wave pulse, from a pic, >that I can plug into a tape recorder's line in jack to log. > >Obviously, it's fairly easy to get a 1300 Hz square wave, but >what can I do to simply and easily smooth this out a bit, so >it's reasonably close to a sine wave? > >Any pointers appreciated > >Thanks > >Jon If the signal is always going to be at the same frequency, this isn't too hard. You simply need to remove the harmonics to leave the fundamental frequency using a low pass filter. You get something approaching a decent sinusoid, you will need a multi-stage active filter. Alternatively you could try loosely coupling the square wave to an parallel LC resonant circuit http://www.wenzel.com/documents/waveform.html 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 hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics