If you can generate a sine wave you can generate a triange wave.
increment from 0 during first half of period to maximum, decrement during second half
press the rotary encoder button to switch between control of frequency and amplitude
horace:
If you can generate a sine wave you can generate a triange wave.
increment from 0 during first half of period to maximum, decrement during second half
press the rotary encoder button to switch between control of frequency and amplitude
The AD9850 uses DDS techniques to generate a sinewave. It is not just a DAC.
Kkjoker, Why do you want to generate triangle waves? Is it just because other signal generators sometimes do?
In the 40+ years I've been in the electronics industry I've never needed a triangle wave generator.
horace:
If you can generate a sine wave you can generate a triange wave.
increment from 0 during first half of period to maximum, decrement during second half
press the rotary encoder button to switch between control of frequency and amplitude
Can you explain more about how can adjust amplitude with arduino, ad9850 and rotary encoder?
kkjoker:
1.May I ask is it possible to make triangle wave with these device?
2. I use rotary encoder to adjust the frequency successfully. Can I change the amplitude with these device?
No
No
The AD9850 generates a sinewave by DDS, you can square the output with the comparator in the AD9850.
You cannot change the amplitude or generate other waveforms directly.
The AD9850 generates a sinewave by DDS, you can square the output with the comparator in the AD9850.
You cannot change the amplitude or generate other waveforms directly.
Yours,
TonyWilk
If i want to do so, what can I use instead of Ad9850?
I am sorry that I really need help. I check AD9833 can replace AD9850 to geneate 3 waveforms. However, I am not sure how can I adjust the amplitude by Arduino. Can anyone teach me?
The AD9850 generates a sinewave by DDS, you can square the output with the comparator in the AD9850.
You cannot change the amplitude or generate other waveforms directly.
Yours,
TonyWilk
What component can I add for the amplitude control? Can you give the example cod as I really have no idea on it
kkjoker:
I am sorry that I really need help. I check AD9833 can replace AD9850 to geneate 3 waveforms. However, I am not sure how can I adjust the amplitude by Arduino. Can anyone teach me?
The version of Ad9833 development board I bought from ebay, includes a MCP41010 8-bit digital potentiometer and an opamp. It seems that it can boost and control the amplitude of the output?
Is there any sample of Ardtino code for this module? Many thanks.
not gonna get much bandwidth..... I'm betting he thinks he's build a 1hz to 20mhz generator with just the two boards (ardu & dss).
If he gets far enough with an amp on the backend, his next post will be wondering what happened to his output signal when he tried to go into rf range,,,,,