In fact in my first generation drum tuner using a 8 bit PIC I generated usable sine waves from the PWM output. I actually used two PWM outputs with one scaled to provide more resolution but still far from clean sounding sinewaves. Pure enough to vibrate the drumheads at only one frequency at a time though.pascal.verdet wrote: ↑Sun Nov 05, 2017 4:09 am Hi,
In fact, I want just to have a modern test bench, to replace very old, gen, freq, and voltmeter.
I'm looking around the PIC, because with a handful of components, you can get the voltmeter,
the frequency counter the dB meter, and cherry on the cake, you can also directly generate a frequency ???
Microprocessor control is good IMO, but modern micros can just about do the entire gig inside one chip...
or drive an external frequency generator,
The AD9835 allows the user to make sine waves from 1Hz up to 25MHz with better than 1Hz resolution.
With which, we will certainly have a "cleaner" signal
Cheers,
Sorry I do not mean to co-opt you project but like i said I have been thinking about this a very long time.
JR