- This topic has 2 replies, 3 voices, and was last updated 11 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › generation of signals
how to generate sine, square and ramp signals at a time with variable frequency and voltage????
you need a DAC for that
you have to give digital input and you get corresponding analog output
for example using 8 bit DAC to generate square wave
first give digital input 00h (all 0’s)
then after delay give input FFh (all 1’s)
again after delay give all 0 input like wise
Hi,
Signal generation requires two parameters to be controlled.
1. Amplitude
2. Frequency
To control the amplitude, you have to use DAC which will give Analog voltage on output pin.
To control frequency, you can use keys, keypad etc. for entering the frequency value. Another option is use ADC for this.
The output of ADC controlles the sampling rate and hence you can obtain variable frequency output.
All the best.