Hi, you can generate a pure sine wave just using an Op-Amp. It is very simple and can be used in many applications. In this article, we are going to learn how to generate a pure sine wave using an Op-Amp.

Disclaimer: Electricity is always dangerous. Proper skill is required to work with electricity. Do work at your own risk. The author will not be responsible for any misuse or harmful act or any mistake you make. The contents of this website are unique and copyright protected. Kindly don’t do any nonsensical act copying and claiming it as yours. Most of the articles published here are kept as open-source to help you. Take the knowledge for free and use it, but if you are interested you can buy the ready resources offered here. If you need any help or guide feel free to comment below, the author will try to help you. Thanks.

How to generate pure sine and co-sine wave?

There are different ways to generate sine and cosine waves. But You can do it in one of the most simple ways. Just using an Op-Amp. Even you do not need any special one for this. Just use any general-purpose Op-Amp for this. 3 resistors and 3 capacitors will be enough for our “how to generate a pure sine wave using an Op-Amp” project.

Circuit diagram:

Sine and Cosine wave generator circuit

Circuit explanation:

Here all the capacitors are non-polar ceramic capacitors. You can change the values to change the frequency. Here a start button is connected to the proteus circuit only. You do not need to use it in a practical circuit.

The working concept is very simple. One Op-Amp (LM358) generates an output which is slowed by the capacitor again another Op-Amp helps in another slow movement of reference. Thus a sine wave is formed rather than a square wave. And due to capacitor phase shift, we get a cosine wave.

Simulation result:

Sine wave and cosine wave output

While simulating in proteus, press the start button once. In a practical test, you do not need this.

You can read this article from our blog: How to make a Single Phase AC voltmeter using PIC16F76 & Capacitor power supply

Practical test:

Practically, the circuit was arranged in a small project board and measured with an oscilloscope. Here I used variable resistors to test the effect of changing resistor values. You can do that too to do some research on a sine wave.

Test circuit on project board
Output wave shape


This project was a very small one and interesting too. Who doesn’t like a sine wave? That’s why it was really interesting to me too. I hope you enjoyed the project and made one for yourself. Thank you, Enjoy!


JLCPCB – Only $2 for PCB Prototype (Any Color)

24 Hours fast turnaround, Excellent quality & Unbeatable prices

$18 Welcome Bonus for new registrations Now!!! https://jlcpcb.com

Check this out: 5 coolest multimeters you can buTop 5 Digital Multimeters for beginners

Lab Projects BD

This is a personal electronics blog. The author loves to write on different topics and shares his knowledge to help others.


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *