Questions tagged [square]

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).

Filter by
Sorted by
Tagged with
2
votes
2answers
86 views

Generating 40 kHz square wave using ATtiny13

I'm using an ATtiny13 running at 1.2 MHz and would like to generate a 40 kHz square wave on PB3 and PB4. The signal on PB4 should be 180 degrees offset (inverted) from PB3. I know that I need to set ...
-2
votes
3answers
221 views

Converting a square wave into a sine wave

I have been researching methods for converting a square wave into a sine wave, but I cannot seem to reach a conclusion. Is it possible to preserve the amplitude and frequency of a square wave when ...
0
votes
1answer
49 views

How to remove DC offset (and make average DC value 0V) from ADS1261 square wave AC-excitation circuit

I am attempting to remove the DC offset from the 1 kHz, ± 2.5 V, AC square wave output pins of an ADS1261 (http://www.ti.com/lit/ds/symlink/ads1261.pdf). However, when measured on the oscilloscope (...
0
votes
2answers
42 views

Non-sinusoidal waveforms: relationship (resistance, capacitance)\$\xrightarrow{\text{affects}}\$ (amplitude, frequency)

During the laboratory we have analyzed the following two non-sinusoidal generators: square-wave generator triangular-wave generator Sadly we didn't have enough time to complete the last task. My ...
0
votes
0answers
67 views

Logic-level square wave to transformer

I try to power EL wire at a chosen frequency. For this I have a microcontroller generating a square wave signal at the given frequency; this signal oscillates between 0 and 3.7V and the current is ...
0
votes
2answers
145 views

How to clamp opamp output to +-12v when supply is +-15v

I have the following circuit. It's purpose is to take a 0-3.3v signal from an MCU and provide a square, -12v to 12v wave across R3, R4 and either R5 or R6. The idea is to read +-9v when only R4 is ...
0
votes
4answers
144 views

FFT of a square wave

I'm generating a square wave as PWM whose frequency is set to 25 Hz. On the oscilloscope, I've got: The data referred to the image above was stored and maniputed, then I plot it using jupyter ...
3
votes
3answers
428 views

What would cause a square wave to become rounded?

I have a square wave going through a thousand feet of cable. The cable has \$120 \,\Omega\$ characteristic impedance. I measured the capacitance and inductance of the cable and they are pretty close ...
0
votes
2answers
48 views

Simple Square Wave Amplification Technique?

I have a square wave that is 5v peak-to-peak. I need a circuit that can amplify this square wave up to any given supply voltage between 9 and 50v. I don't need much current, nothing more than 100ma ...
0
votes
4answers
84 views

Offset when trying to convert square to triangular wave

Hi I constructed a circuit to create a 1Hz square wave with LM741 Opamp. The first part makes that and it makes it perfectly. But I need to convert it to a 8Vpp triangular wave. Without any offset, I ...
0
votes
4answers
110 views

Simple circuit to light a LED only if I have a square wave

I have a simple circuit with a transistor that accepts an input 3.3V square wave (50Hz) and amplifies it to a 20V output inverted square wave. I'd like to have a LED that lights up if the square wave ...
0
votes
2answers
70 views

65V Square wave Switching Circuit

I am trying to generate a 65V square wave very similar to the post found here: Mosfet PWM signal not square My load is in a slightly different configuration (i've tried them both ways), but the ...
0
votes
3answers
204 views

Best way to amplify 3.3V square wave at 1MHz to 10V square wave at 1MHz

I am trying to build a bus transmitter complying to 1553 standards. Its input is a 3.3V square wave at 1MHz (CMOS data) and it has to be amplified to 10V or higher at the same frequency. The load ...
0
votes
0answers
16 views

Error % for readings of average-sensing multimeters

Question: What is the error % in reading the voltage of a Square wave (1 Vpp) with an average-sensing multimeter with a half-wave rectifier, compared to a TRms multimeter The answer seems to be 11.1% ...
1
vote
4answers
75 views

Average of flipped square wave

So I need to find what will be the average of a flipped square wave. I know that the high amplitude is 15V and the low amplitude is -9V and the average of the original signal is 2V. What will be the ...
0
votes
3answers
88 views

How to find mean value of square signal

I have a comparator circuit and I need to find the mean value of the output square wave. I have calculated it like this: \$Vmean=1/T*integral(U*dt)\$ from 0 to T and I got \$Vmean=-0.7896V\$ Can ...
0
votes
2answers
126 views

Square wave generator won't work

I'm trying to generate a square wave at 21kHz (+13V,0V) using this schematic: I used formulas and this website to find the correct values for my components but it doesn't seem to work on Simetrix. ...
1
vote
1answer
95 views

Arduino not outputting square wave with 50% duty cycle

I’m currently using an Arduino and my main goal is to output 2 signals from 2 digital pins. Pin 1 (D7) would output a 1 kHz signal with a 50% duty cycle and pin 2 (D8) would output half of pin 1's ...
1
vote
1answer
91 views

Sine to square on complex wave?

What are the required parts on a circuit to get a square wave out of a sine one following the constraint shown in the image? Schmitt triggers seem to work on continuous sine wave but as you can see, ...
1
vote
2answers
87 views

1v square wave generator

I'm trying to create a square wave form from a single AA battery, say 1v. I came across an IC which is essentially a low voltage 555 timer: Semtech SX8122 however it is marked obsolete. I would like ...
0
votes
1answer
78 views

Comparator Undesired Behavior

The following circuit is a comparator, which compares input square signal at non-inverting pin with fixed reference voltage at inverting pin of integrated comparator circuit LM393 (\$R\$ is collector ...
1
vote
1answer
93 views

Oscilloscope displaying two voltage levels (on the same channel) for square wave

Please excuse if this is stupid, I've been searching to see if I can find an answer to this on Google, but it seems I'm facing the issue in which I don't know how to describe the issue I'm trying to ...
0
votes
0answers
44 views

Old motor with unknown pulse generator signal

I have been building a new controller unit for a ~20 years old gate opener because it was never reliable, and eventually stopped working entirely. So far, I have got everything working except from ...
0
votes
1answer
51 views

IR Light Transmission Delay Error

The following circuit consists of two IR (Infra-Red) LED diodes; one as light transmitter (IR1) and other as light receiver (IR2). They are spaced for approximately 4 cm, so distance is not the issue ...
0
votes
1answer
103 views

Is an FPGA the best tool to generate a continuous flow of square pulses with arbitrary amplitude?

I need to generate a train of rectangular pulses, with positive and negative arbitrary amplitude. Ideally, I would like to have the generation electronics connected with a computer, and I would like ...
3
votes
1answer
115 views

Filtering a Square Wave into a Sine Wave

I am trying to Filter a +-4V odd inverted square wave into a sine wave. How should I go about doing so? So far I have computed the Fourier series of my particular input signal to be: Which I ...
0
votes
3answers
241 views

How Much Current is Usually Used with IR Transmitting LEDs, in Remote Controls?

If you take various Remote Controls from your home, such as for a TV, Audio System, TV Box, etc, and measure the current that is supplied to the IR LED in the remote, what would be common current ...
0
votes
1answer
72 views

sine wave to square wave using LT1017

I am trying to convert sine wave of 50 Hz and 10 mV to square wave of 10 mV of positive side only. I used the following circuit. But the square wave has higher voltage compare to my requirement. ...
7
votes
1answer
814 views

How do I design a circuit to convert a 100 mV and 50 Hz sine wave to a square wave? [duplicate]

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.
0
votes
1answer
68 views

TENS spike smoothing when using a relay

I'm currently messing around with a TENS unit and would like to block/unblock the signal from reaching the muscle (Alterations to the TENS unit circuitry aren't possible). The unit uses a 2 mm jack ...
0
votes
1answer
131 views

0-12V square wave to -6 +6 sine

We're working on a car where we've replaced most of the electrical system. We've also replaced the transmission, and the new gear box doesn't have a speed sensor that we can use for the instrument. ...
0
votes
1answer
59 views

How do I calculate the voltage across a capacitor when the source is a square wave?

I have a series RC circuit with R= 2.2K Ohm and C=100 nF, and the voltage supply is a 2.5V peak square wave. And I'm not sure how to calculate the voltage across the capacitor.
1
vote
0answers
289 views

How to make a piezo speaker louder with 5V?

I have connected a tiny piezo pc speaker (https://sktechworks.ca/wp-content/uploads/2017/11/Speaker.jpg) to an arduino and used to tone command to play a simple melody in repeat (square wave only ...
0
votes
1answer
63 views

How can I turn off automatically, say after a fixed number of cycles, a 555 in astable mode?

I looked at the answer to "How to turn a 555 in astable mode into a decaying square wave" but this is really for an input to a speaker. I want the input to go into a counter to count the number of ...
1
vote
1answer
140 views

Stepper driver sine wave

I have a TB6660 Stepper driver and I gave pulse from an Arduino board. According to the TB6660 datasheet, drier should out a sine wave that created by using give square wave from Arduino. But, when I ...
0
votes
1answer
84 views

Why does this “square wave” have what seems to be a charging action on it's leading edge?

I'm trying to produce a basic square wave output across a resistor from an ATMega328P Xplained mini. VCC is 5 V. Setup: Code: (Stuff with DDC/PORTB is just to control the onboard LED) ...
5
votes
3answers
415 views

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). ...
4
votes
1answer
1k views

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 ...
1
vote
4answers
885 views

Why can we hear the full range of square waves from 1 Hz-20 kHz, but not sine waves of the same frequencies?

I connected the output (50Ω) of a function generator to a 35 watt 5Ω speaker. When I sent square wave signals of 1 Hz-20 kHz to the speaker, my friends and I were able to hear them. But ...
1
vote
1answer
2k views

Create a blinking LED circuit with a z-diode and a capacitor

I was searching for the most simple LED flashing circuit. On a webpage (http://cappels.org/dproj/simplest_LED_flasher/Simplest_LED_Flasher_Circuit.html) I found the following circuit with a transistor ...
1
vote
0answers
63 views

Variable frequency of an astable

I have to make the frequency variable of an square waveform generator built with the help of an astable. I modified a circuit a found on the internet and everything seems good with only one exception: ...
0
votes
2answers
343 views

Gibbs phenonemon in real life

If I feed a square wave into a first order, passive, low-pass filter (resistor and capacitor), I get the following results on an oscilloscope (sorry, I don't know how to scale and rotate images): Why ...
12
votes
10answers
5k views

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 ...
-1
votes
1answer
2k views

How to change duty cycle in square wave

I'm using AD9833 to generate sine, triangle and square wave. Square from IC has 0,65V amptlitude and 50% duty cycle. I would like in simple way change duty cycle this square signal from 0-100%. Using ...
-3
votes
3answers
352 views

Can I detect the absence of square wave?

Can I build a circuit to set the output high if there is a square wave at the input and set it low when missing the square wave (the input become low)? Edit: The signal is 2 kHz, +5/0 V. It's not ...
0
votes
5answers
785 views

how to find impedance of inductance with square wave input

I know the impedance of the inductance is: 'jwl'; but this is correct with sinusoidal input; now my question is: how to calculate the impedance when the input is the periodic square wave(like a ...
0
votes
2answers
316 views

What's the simplest high voltage AC square wave oscillator?

I'd like to have such an AC square wave oscillator putting AC through a load - which can go to 60 VDC and deliver no more than 50 mA with sharp, fast rise times and very "square". I would hope a ...
0
votes
1answer
337 views

How generate a square wave from a DC voltage to power on LCD crystals?

I got a small LCD and I would like to power it to show the LCD crystals turning to black. I would like to show at which voltage the LCD crystals start to turn black. I did some research about LCD ...
1
vote
5answers
159 views

Making a square wave which has two different kinds of pulse width

I am going to make a square wave which has two different kinds of pulse width.At first,i think i can use the digital logic gate to finish it,however,after taking lots of time for trying,i still can't ...
1
vote
1answer
69 views

How to set up signal generator in lab to obtain an output voltage?

In one of my laboratory assignments, I am to study how to work with square signals in RC circuits (low pass filter). Please keep in mind this is an introductory Electronics course. Basically, I am ...