Re: digital to analog input
Hello,
Make a filter to pass the fundamental component. Then use an amplifier or attenuator or even a potential divider to get the sine wave amplitude you want.
If the digital signal has repitition rate, or commonly, frequency f, this is also the fundamental components frequency,i.e. the frequency of the biggest amplitude sine wave you can make this waveform from, so if you only pass it through a filter to pass it only, for example a Band Pass Filter of pass frequency (fp) such that f<fp<2f,
You'll get the wave you want. Then use an amplifier or any thing else, example. amplifier and limiter to get the amplitude you need.