Search Engine

1000 Threads found on Square Wave Pic
I'd like to control the temperature of my soldering iron with a pic micro and a solid state relay (DC input 5-30v ; AC out 220V,10A). I need some advice about the shape (raport/ratio) of square wave that I'll have to generate with the pic micro. :? :? :? Thanks!
Can anyone pls tell me how to generate square wave using Timers rather than delay in pic microcontrollers (16F876). Im using CCS COMPILER. Regards.
Hi, it's so easy for example to creat 1khz square wave using ccs c compiler. We calcualte time duration T=1/1000Hz = 1 ms Then divide it by 2 ---> 1ms/2 = 500 us while (1) { output_high(PIN_A1); delay_us(500); output_low(PIN_A1); delay_us(500); } Bye
I want to calculate True RMS(Root Means square) of square wave in Assembly Language of pic 16F72. For a pure square wave: 1. square waves: Like sine waves, square waves are described in (...)
Greetings Im kindly and desperately looking for a code to count the pulses from a square wave using a pic 16f872. i want these pulses to be the basis of varying the turn on time of a heater connected to the pic and switcing being done by a triac driver and triac.
Hi. In the pic below I have a comparator circuit which I want to use to convert a sine wave into a square wave. As you can see, the circuit converts the sine wave and gives the resulting square wave the same frequency. But the square wave (...)
i need to design 11.0592Mhz square wave generator i need help in that thanks.
oups sorry it's sinewave I gave you... by the way it's better than square wave... regards,
Hi every one I try to generate a square wave generators of 40 KHz, so i use a 18f4520 pic and write the following programmes : int y, yy; main() { do { portb=0x00; for(yy=0; yy<20; yy=yy+1) delay_us(1); portb = 0xff; for(yy=0; yy<20; yy=yy+1) (...)
Hi i am doing project on synchronous rectification for automotive alternator.... I am using pic16F72 for my project I am using CCS compiler..... First let me explain my project.... I am taking three phase voltage from the alternator and giving to comparator as input. The comparator here acts like zero crossing detector circuit...... For non-inverti
i want to convert a square wave with different period, the time that is sitting in 1 logic to be different and to belong to a combination of bits of code RC5, i know that is possible with pic 16f877 but i don t know how do it! thanks for help
A friend has a boat on which the rev counter reads very high since fitting a new alternator, it uses a feed from one of the coils to generate the display value. I'm thinking of a design to measure the frequency of the incoming sine wave, then generate a square wave of a lower frequency to drive the rev counter. In this case the ratio is (...)
And how are you checking the waveform? You need a wide bandwidth oscilloscope and low capacitance probe. Without these, the edges of a square wave will rise slowly and fall slowly making it look far more 'rounded' and similar to a sine wave.(...) The previous crystal oscillator thread already suggested a pure (...)
Hi there, I have to drive a fluriscent load (About 2KW) with an AC signal, but i only have a 220VAC square wave , not a sinewave. I had many troubles doing so, specially the very large startup current. Is there any suggestions, Anything special with this type of loads? Thanks in advance. Yours,
I don't know very well the AUREL modules, used in few occasions ( even they are quite good for the price ), but in some other modules you can see about from 15-20 dB above the threshold an increase in the Jitter of the square wave ( usually at 5-6 dB above threshold you have a jitter about ? 6% the width of the pulse ) and appear sone short spikes
Look for example at the datasheet of the LM324 here: This is a very popular cheap Opamp and you will find some kind of application notes in its datasheet for example a square wave oscillator. best regards
I need to generate a stable square wave (max frequency 5K) with the serial port. With a simple program in basic I see an irregular square wave, I think due to the interrupt management. A solution should be to use DOS but, is possible to do the same task in XP? Regards A. Under Windows it is only possible, if yo
A friend of mine ask me if I could find a circuit that can measure the frequency of a square wave and display it on one or more seven segments displays , i couldn't find any circuit on the NET so I'm asking in this great forum , can you help ?
The period is 1 second, duty is 10%(100ms). How to design such square wave osc and integrated on one chip? Thank you
How much frequency variation? If the variation is relatively small, then a fixed low-pass filter will work fine. If the variation is large, then you could multiply the square wave frequency (perhaps using a PLL), and use it to clock a switched-capacitor low-pass filter. Well hrkhari, you could feed the sine wave through a comparator to (...)
Dear all, I 'd like to make a square wave measurement circuit to record the serial signal from infrared remote control or radio control encoder. Refer to the figure I attached~~ T1 : Signal A High Time T2 : Signal A Low Time T3 : Signal A High Time I have a standard 8951 single chip and a Lattice 4032 CPLD. Could you plea
How accurate must it be? You say 20kHz square wave, but then you say some things that suggest it may not be 20kHz or square. Which is correct? If it really is a 20kHz square wave, then maybe divicde a 81.92MHz clock by 4096, and output the most significant bit. Detect the leading edge of your input, (...)
hi i am tryin to design a square wave generator. input is a sinewave 0.5vp-p. output a square wave tless t≤5ns current drawn≤5mA 50percent duty cycle.
Hi all, How can I convert 50Hz AC to a square wave so that I can feed it to a microcontroller? Will CD4093 work here? I will steps down the ac to 5volts then use a diode in series before hooking it to CD4093? Thanks 1) Use a step down transformer to step it down to say 5V AC at 50Hz. 2) Then use a 741 op-amp fr
What are some basic square wave distortion testing and checking i can do ? Are there any square wave distortion waveform charts?
Impedence of an inductor is jwL. It is obvious impedence is a function of frequency w. square and triangle waves have infinite spectral range, and each frequency component will result in a different impedence.
if we try to deconvolve a square wave or top hat from any function we always face the problem of DIVIDE by zero. Is there any solution for preventing this problem? e.g a = triangular pulse b = top hat h = ? (system response) for deconvolution A = fft(a) B = fft(b) h = real(ifftshift(ifft(A/B))); now since B is a sinc function so it
There are several ECL output comparators. They are frequently made by the same companies that make the ECL logic. Another idea is to use ECL line receivers. Put the several of them in an IC package in tandem. This should square up the sine wave. Another idea is to operate the sine wave at twice the frequency you want and put into a (...)
Hi all, I am trying to simulate (in pspice schematics) a square wave generator, output of which is fed to an integrator. When I simulate the circuit, it is paused, and it says that the supply currents failed to converge. Can anyone please let me know what that means and how i need to correct this problem. Thanks
i am designing a pll based clock generator of 2.4 GHz. For that i need to convert sinusoidal output of VCO to square wave with sharp clock edges. i don't have any clue, how to do it. which will work for GHz . plz suggest me regarding this.
Why exactly do you need square-wave signal anyway? What you could use is a high-speed logic gate with differential outputs, like ECL driver/receiver MC100EL16 (approx 200ps rise/fall time) or MC100EP16 (approx 100-150ps rise/fall time). So you connect your 900MHz (single-ended) output from your lab's signal generator to the ECL driver and you
Hello, I would like to shift a square wave operating between 0-1.8v to one operating between 1.8-3.6V. I tried using a conventional level shifter (domino like circuit). Unofrtunately it only shifts the upper level and not the lower , i.e., the wave output is between 0-3.6V and not 1.8-3.6V (desired). Please help me with this issue (...)
Hello, I would like to shift a square wave operating between 0-1.8v to one operating between 1.8-3.6V. I tried using a conventional level shifter (domino like circuit). Unofrtunately it only shifts the upper level and not the lower , i.e., the wave output is between 0-3.6V and not 1.8-3.6V (desired). Please help me with this issue (...)
sir: I would like to ask for your expertise on how to design a pulser that can generate a square wave output of 50Volts @ 5MHz. This would be used for our undergraduate thesis. thank you.. Lowell
Hello, I need some help on this problem. A square wave has an amplitude of 10 and a fundamental frequency of 50 Hz. First, plot the frequency spectrum of this wave. Use Matlab or Excel to construct the wave usind the cosines that form its basis. To start, assume it is made up of the fundamental, 3rd, 5th, 7th. and 9th (...)
i'm trying to use the s-domain in matlab(not simulink), but i'm using a square wave generator(time domain), so i have to make a fourier transform to it, then multiply it by the system transfer function to see the output spectrum, how it could be done?, & how to display the spectrum without using step or impulse functions?
I need an adjustable square wave pulse generator (5~9 Volts output) that can produce square wave peaks from 1 Hz to 18~20 MHz. Can everybody help me to find one on the web?
I need an adjustable square wave pulse generator (5~9 Volts output) that can produce square wave peaks from 1 Hz to 18~20 MHz. Can everybody help me to find one on the web?
Dear Sir: I need help to find a voltage controlled source whose frequency can be adjusted by with rail-to rail (square wave) output. Or say it is a VCO with square-wave output. in CADENCE ADE environment. Thanks in advance. :|
Hi, Anybody tell me what is the application of the programmable square waves generated by RTC IC's(DS1337 and many). I really dont know how to use. It may be a silly questions to many. But please clarify me. regards, Vamanan.
how can i generate a sine wave from a square wave? the frequency of sine wave should between 12MHz and 14MHz. I'm not familiar with clock, so need your help. Best Regards, wdd
Annu007, I assume that you are referring to an asymmetrical square wave, since the DC value of a symmetrical square wave is zero. A simple single pole low pass filter will do nicely. Connect a DC voltmeter to the filter output. The time constant should be at least 10 X the period of the square (...)
Take a look at the picture below .. The other harmonics you can see below, the rest is at: Regards, IanP
i'm in real need to know how to design a ring oscillator that produces a square wave and how to tune it over a wide frequency range from few hz to 100's of khz? Are the any papers that talk about ring oscillators design?? and i also need to know if there's another circuit that can generate a square wave
the square wave mixing will generate alot of harmonics , to be filters out the sin wave mixing will not gnerate these harmonics but square mixing is better in performance in general check http:
Outputs from crystal quartz may be sine, but usually crystal oscillators outputs square wave, 50% duty cycle. Another reason for which you may see such high freq. as sine wave may be the bandwidth of your oscilloscope. /pisoiu
i want to convert any square wave to its DC avg value(Level) , and i want that converion to be very fast as i can , and i want to know how many cycles of the square wave i need for such conversion ( i want the Minimum no. of cycles required) . I want anyone to tell me how to do that , and suggest me a circuit
Hi, I am new to C++/Cprogramming How do you generate a simple square wave using C++. void square(void) { float Amplitude_S, Frequency_S, S, Sq, t, sgn_z, z; clrscr(); textbackground( fBLUE + fINTENSITY ); gotoxy( 5, 1 ); textbackground( fWHITE + fINTENSITY ); printf("Enter Amplitude: "); fflush(stdin); (...)
Tell me how to generate the 18KHz square wave using 8051 microcontroller Why do you use Timer 0 interrupt ???It's is very easy to do. In the KeilC complier, there is the good example for U ! You can download the demo version in the web (2K limited) and then setup to see the example
Your FPGA board may already have an oscillator that provides a square wave clock to the FPGA. Is that sufficient? Inverter? Do you mean a DC-to-AC power inverter?