With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.

How it Works »New Instructable »I need a circuit that can convert sine waves to square waves that works with a wide range of frequencies and doesn't change the frequency, for a project i am working on. I also need a circuit that can convert square waves to ramp waves that also works with a wide range of frequencies and doesn't change the frequency. Thank you in advance.

pure sine wave inverter using pic microcontroller

by
MicrocontrollerLab

Sine wave frequency measurement using pic microcontroller

by
tanveerm

1000W modified sine wave inverter using pic microconttoller

by
tanveerm

THE SIMPLEST FUNCTION GENERATOR BUILT ON A BREADBOARD

by
skpvignesh

Op-amp Basics (part 2)

by
brmarcum

Modified Sine Wave Signal Generator.

by
Josehf Murchison

Beginner Pure Data Tutorial: Basic Synth

by
RU4Realz

Pure sine wave inverter

by
maryan_r85

Analog Sound Synthesis on Your Computer

by
Mark Rehorst

Direct Digital Synthesizer based on plain Arduino

by
Maciej Miklas

FEATURED CHANNELS

Join 2 million + to receive instant inspiration in your inbox.

forgot your password or username?

it happens.

it happens.

Enter the email associated with your account and we will send you your username and a temporary password.

Not a member? Sign Up »

We have sent you an email with a password reset code. Please enter it below.

Not a member? Sign Up »

active| newest | oldestwhat makes an op amp convert a sine wave into a square wave?

what makes an op amp convert a sine wave into a square wave?

what makes an op amp convert a sine wave into a square wave?

To convert a square to a ramp, use a circuit called an integrator. This circuit is so named because the output is the integral of the input function. Remember from calculus that the integral of a constant function f(x)=K is a line g(x)=Kx +C.

This circuit is very similar to a low pass filter, and can be built from a single op amp plus a couple resistors and capacitors.

I haven't gone into tremendous detail about these two circuit here, but they are very common and well documented and should be just what you need.

Take a sine wave, square it by clipping, integrate it, its a ramp.

Take a square wave, square it by clipping, integrate it, its a ramp.

Take a ramp wave, square it by clippling, integrate it, its a triangle.

The problem is, done in analogue, keeping the integration time constant related to the period of the incoming waveform - that's VERY tricky, without a priori knowledge.

look up guitar fuzz circuits to see it in action.