I have a task, as a part of my master thesis, to generate a sine wave using Pmod DA4. I found the solution, however, to generate a sine wave using look-up table. The online LUT generators are for fixed amplitude i.e., sine wave is generated with a dc offset of 1.25V and an amplitude of 1.25Vp-p (considering DA4 with a reference of 1.25V and an internal gain of 2). However, I want to generate a sine wave with different amplitude and frequency (changing frequency is possible with the help of timers, so that is not a problem). Therefore, I want to know if it is really possible to generate a different amplitude sine wave? Is there any algorithm for doing that?
My requirements are,
1. Sine wave with the frequency of around 10Hz (which is possible).
2. With 500mV of dc offset and around 50mVp-p of amplitude.
Question
Raghu0860
I have a task, as a part of my master thesis, to generate a sine wave using Pmod DA4. I found the solution, however, to generate a sine wave using look-up table. The online LUT generators are for fixed amplitude i.e., sine wave is generated with a dc offset of 1.25V and an amplitude of 1.25Vp-p (considering DA4 with a reference of 1.25V and an internal gain of 2). However, I want to generate a sine wave with different amplitude and frequency (changing frequency is possible with the help of timers, so that is not a problem). Therefore, I want to know if it is really possible to generate a different amplitude sine wave? Is there any algorithm for doing that?
My requirements are,
1. Sine wave with the frequency of around 10Hz (which is possible).
2. With 500mV of dc offset and around 50mVp-p of amplitude.
I am using zeboard for the development.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.