Go to http://www.ke4nyv.com/picprojects.htm where you will find the details of how to generate sine waves with four bits of a PIC port ..... only five resistors. Someone did send me a better set of points, which I will have a look for if you are interested. I think I also have some PC Scope shots of the waveforms generated by this simple, but effective circuit. John. ----- Original Message ----- From: "John Nall" To: Sent: Friday, June 20, 2003 5:13 AM Subject: [PIC]: Square wave to sine wave - how? > I have a hunch that this is a stupid question to ask, and if so I may have > to endure a few sarcastic replies (or, even worse, no replies). But since > I need to know, guess I just have to take that chance. :-) > > Clearly, generating a square wave from a PIC is a piece of cake. But I > need to generate a sine wave and am not sure how to do it. Is there an IC > around that takes a square wave as input and outputs a sine > wave? Perhaps an AF amplifier or something like that? > > Thanks for any suggestions. > > John > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu