A square wave is a non-sinusoidal periodic waveform in which the amplitude alternates at a steady frequency between fixed minimum and maximum values. The square wave is a special case of a pulse wave which allows arbitrary durations at minimum and maximum. The ratio of the high period to the total period of a pulse wave is called the duty cycle. A true square wave has a 50% duty cycle (equal high and low periods).
Questions tagged [square]
196 questions
14
votes
11 answers
How to check (with DIY methods) if an Inverter returns a Square or a Sine Wave?
I do not have an Oscilloscope, but I want to check if my 12V DC to 230V AC inverter does produce a sine or a square wave. Any way to verify that?
I know how a sine wave and a square wave sound, so converting this to audio might be a possibility?…

Paul Weber
- 241
- 2
- 3
- 10
10
votes
3 answers
How do you shift a square wave down?
I have a square wave the oscilates at 25khz from 0 to 30v. I would like it to oscillate from -15v to +15v. Is there a SUPER DUPER SIMPLE circuit to do this? Keep in mind it's going up and down at 25khz.
Here's the circuit. The square wave I want…

Curtis
- 341
- 6
- 18
9
votes
7 answers
Why can a square wave (or digital signal) be transmitted directly through wired cable but not wireless?
Like ethernet cable, optical fiber. We have a square wave signal, do we just send that squre-wave signal directly down along the cable? If we do send it directly, why we can not send the square-wave signal directly into the air wireless channel?…

Yuan Xiao
- 91
- 1
- 3
7
votes
4 answers
Rail to rail +12/-12 V square wave generation with microcontroller
I need to generate a +/-12 V square wave, +/-0.4 V tolerance is allowed. The purpose is to drive the pilot signal of an electric vehicle level 2 charger, for those curious.
EDIT (clarification): what I'm trying to design here is the EVSE controller…

jamarju
- 311
- 1
- 2
- 10
7
votes
1 answer
How do I design a circuit to convert a 100 mV and 50 Hz sine wave to a square wave?
I have a sine wave of 100 mV and 50 Hz. I want to design a circuit that converts this sine wave into a square wave as shown in a figure.

Umangcern
- 69
- 6
7
votes
5 answers
Sine wave to square wave - Schmitt trigger
I need to transform a bipolar sine wave (varies from -5 V to 5 V, 1 kHz) to a square wave for further digital processing (0 to 3.3 V), as in this image:
The important thing is that this sine wave can't be distorted, so there can't be any limiting…

przeski
- 104
- 1
- 1
- 8
6
votes
3 answers
Why does the op amp output in this circuit have low slew rate?
I have the following circuit on a bread board (with the exception of using AD820 instead of AD822 - the main difference based on the datasheets seemed to be one versus two op amps in one package).
simulate this circuit – Schematic created using…

Mikko Rantanen
- 163
- 4
4
votes
1 answer
Improving waveform shape in discrete Pierce oscillator with Schmitt trigger output
I am making a simple clock source using discrete Pierce oscillator with its output attached to high speed Schmitt trigger buffer to get square wave in the final output.
I got the circuit for the discrete Pierce oscillator from National Semiconductor…

Muhammad Nour
- 527
- 6
- 16
4
votes
3 answers
Square wave generator without op-amp
I am trying to make a square wave generator but don't have an op-amp nor the PNP transistor to do it. Is there any way that works? I have tried using this one:
simulate this circuit – Schematic created using CircuitLab
but it is always on.

Logan Kocher
- 43
- 5
4
votes
5 answers
Impedance, square waves, and duty cycle
Will a coil present a different impedance to a 10 kHz sine wave as opposed to a 10 kHz square wave with a 10% duty cycle?
I could not find a way to calculate it, are there any formulas available?

kellogs
- 1,044
- 9
- 18
4
votes
2 answers
Photodiode square wave positive duty cycle lower and lower
I drive an IR LED with a 50% duty cycle square wave and receive its signal with a photodiode. If I take the photodiode farther and farther from the LED, the signal's positive duty cycle is lower and lower. Why?

DJDB999
- 77
- 4
4
votes
1 answer
Square wave autocorrelation integral
Given the following square wave signal g(t) :
I'm trying to find the \$R(\tau)\$ of this signal, but I'm confused about how to solve the integral.
In the signal above, the red square wave is the shifted signal \$g(t-\tau)\$. I understand the…

Yannick
- 437
- 5
- 18
4
votes
4 answers
Why sine wave not square wave?
Rectifying square wave voltage seems to give us DC directly without the need of a capacitor. so, why do we prefer sine wave over it?
What would change if I powered any adapter (laptop adapter as example) or any power supply with a square wave…

iMohaned
- 1,491
- 5
- 24
- 44
3
votes
2 answers
Rewriting piecewise voltage function using Heaviside?
Recently I've had an idea to create an assignment where we have low-pass filter connected to the voltage source which is described by piecewise function. I've already dealt with periodic functions such as sinusoidal waveforms and square waves and I…

tom_ger
- 49
- 6
3
votes
3 answers
Precise square wave generator 32768 Hz
I need to create a circuit to generate a square wave with 50% duty at 32768 Hz +/- 5 Hz. The output of the circuit will drive an NPN transistor ( 0.2 A , 24VDC ).
The cost of the component is not a limit, I'm searching for the best way to have a…