Search Engine

Square Wave With Microcontroller

Add Question

19 Threads found on Square Wave With Microcontroller
[QUOTE=online79;inverter Please help me to generate 2 alternate pwm with variable duty (by preset) for a square wave inverter by those pic microcontroller, which have no hardware pwm. please guide me. For square wave inverter you need not require 2 alternate pwm. Only one pwm, be it (...)
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 first, you should convert sine wave to a square wave with a simple OPAMP such as LM324 (has 4 OPAMP). Then you can count square wave using counter module in PIC micro-controllers. good luck HR Karami
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.
11.0592MHz is usualy used in microcontroller systems or other systems that have UART communication. This frequency feeding the baud rate generator, permits baud generation with 0% error. On the market there are plenty 11.0592MHz quartz crystals - this is a "standard" frequency. Just design a quartz oscillator followed by a buffer gate (...)
can we generate a 10 hz wave using pic microcontroller , if yes then how? For a square wave: while(1) { RB0=1; delay_ms(50); RB0=0; delay_ms(50); }
I think you have to do it digitally, what frequency range are we talking about? you can easily measure the frequency digitallyusing a microcontroller(after it has been converted to square wave) you can insert a deliberate phase shift so you can detect continuity of input signal that has to be jammed. then produce digitally stored signal. it (...)
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 (...)
If your input has a known waveshape, then you could measure a smaller portion of it and estimate the length of the full cycle. For example, if it's always a 50% duty cycle square wave, then you could measure half of it. If it's a clean sinewave, and you measure it with an A/D converter, then you could do a (...)

Last searching phrases:

sim340z | ba1404 | pic24fj | beamprop | sccom | meitolake | undongle | sencore | sht7x | tamiya