Search Engine www.edaboard.com

Square Wave With Microcontroller

Add Question

18 Threads found on edaboard.com: Square Wave With Microcontroller
You don't tell in which form you want to the "timing information". But it shouldn't be difficult to generate an array with time of all square wave edges.
I use ATmega 8 microcontroller and timer1 I want to generate two PWM square wave on OC1A & OC1B pins, but the phase between the waves must be 180 degrees The frequency for both waves = 50 Hz The duty cycle for both waves = 30
Hi, Can anybody suggest me how to measure frequency of sine wave of 50Hz,with 0.1 precision. Hi siddarth.ghaste Although my knowledge in digital is very small . but i know how to do it . you'll have two ways for going through . 1- using an FVC integrated circuit and then measuring the out put voltage of the FVC by ADC of your PIC .
Hello can anyone help to set up timer1 or timer0 for measuring timer elapsed from Rising edge of a square wave signal to the next rising edge. I want to determine the frequency.I only know ccs c . Thanks.
The only way is to communicate with it over i2c bus. Use a microcontroller in i2c master mode. See the datasheet: The simplest functional check once you have i2c connected would be to turn on the square wave output on pin 7 of the DS1307 and check that pin for a signal.
Hi Marius, instead of generate sinusoidal waves with PWM, DAC or an analog waveform generator, you can use your microcontroller (or other digital circuit) for generate a square wave at f0 and f1. Then, filter the square-wave FSK with a (...)
How about an H-bridge configuration, directly controlled by the microcontroller? with a timer interrupt or PWM type of outputs (at 50% duty cycle), you can easily control the frequency in the range you mentioned. You can add a fixed current limiter (300mA) at the supply of the H-Bridge. If you don't like the square wave (...)
Hi, i will write a PIC18 program in C and examine my program using MPLAB simulator to generate a square wave signal with 60KHz frequency and 60% Duty cycle so how can i do it if any one can help me (me new in microcontroller world) thanks for all
i think that you cannot wake up the microcontroller by usart. because modem doesnt procude a signal when received a sms. i suggest you, first send sms to modem, and then call it. incoming call produce a square wave in the communication port of modem. you can use this square wave to wake up pic18f4520
It can be done with CMOS version of the 555-timer .. Here is an example of a square-wave-generator based on the standard version (should work up to 100kHz): First, generate 2Hz to 2MHz, then to make perfect 50% duty ratio divide it by two using
Use your microcontroller to generate a square wave at 5MHz, and feed that into a LC or RC filter made with 2 discrete components. Set the values to make the passband = to 5Mhz.
i need to design 11.0592Mhz square wave generator i need help in that thanks.
Obviously, yes! But can be square wave, triangular wave, sine wave, arbitrary....
i need to connect a detector section with a jammer section. for that i need to convert an ac sine wave into a square wave. again i want to provide the same input to the square wave generator even though the detector section is switched off. so basically i need to store the frequency of the input.
Easy way to do it is to employ a small (8-pin) microcontroller with built-in PWM (pulse-width-modulator) and program it in such a way that when a 'high' is applied to the selected input it starts generating square wave (PWM from 0% to 100% mark-to-space ratio) and when the same input goes low it does the opposite - from 100% (...)
Hello all. I'd like to introduce another idea. If you are sure that the wave shape is always the same, i.e., sinewave, I would propose that: square your input signal using for example a comparator or a smith-trigger gate as 4093 or 17132. Then connect the square signal to one of the CCP inputs of the (...)
The simplest DAC is with PWM. You generate (with microcontroller or fpga) a square wave with variable on-time, and constant frequency. This way, the average voltage varies with the duty cycle (on-time divided by period). A simple RC low pass filter will remove the higher (...)
dear flatulent, I'am facing the same problem as massive and your indication makes me wondering. If the input frequency is 0.1Hz (or 1 oscilation in period of 10 seconds), I have to wait 10 second to get the output? (because I have to measure period of the frequency). Is that right? is that too long to get the output with 0.1Hz input square w