Can I use the Pic to generate me 10 MHz pure sine wave.IF it is possible can someone help me with the code.
Can I use the Pic to generate me 10 MHz pure sine wave.IF it is possible can someone help me with the code.
Yes, but only if you use a 16F84 @ 4Mhz
Well, actually, No.
If you had an 18F running at 40mhz, you could execute 1 instruction per cycle of that 10mhz. That's not enough to add 2 numbers, let alone generate a sine wave.
Now, if you really meant 10khz, then Yes, you can get close with FREQOUT. But it won't be "Pure".
.
DT
Is the frequency of 10MHZ may change or you want it fix?
- Some Wein bridge Op-Amp circuit are possible.. at 10MHZ.. may work or not, never tried it before.
- MAX038 will work... not cheap, do too much things
- 10MHZ square wave TTL or CMOS based and integrated twice (or more) with low pass/bandpass/highpass filter using op-amp.
- If your project will use a PIC.. why not choosing a 10MHZ Crystal and send the sgnal to a buffer... then send it to those low-pass filter?
Last edited by mister_e; - 14th March 2006 at 02:43.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Actually why I 'm thinking in that way, because I'm restricted with 9 v battery so you can't use opamp and it's is not simple to design it using transistors (I'm not good in that).Originally Posted by mister_e
As MR. Darrel Taylor said it's not possible with PIC , then help me with any circuits.
Hi Mario,
Search DDS (Direct Digital Synthesis).
Search with Google: DDS 16f84
Examples with an AVR:
http://www.myplace.nu/avr/minidds/
http://www.geocities.com/leon_heller/minidds.html
Best regards,
Luciano
thank you for ur co-operation but that will not work with me. My project should be portable (not connected PC).what I want exactly is simple (sinewave) oscillator circuit with a single supply (not more than 9v) at 10 MHz or more.Originally Posted by Luciano
Bookmarks