Go Down

Topic: Maximum frequency generated by Arduino uno (Read 2 times) previous topic - next topic

Nick Gammon


What is the best product to use if I am trying to obtain 36mhz?


I presume you mean 36 MHz? Not 36 milliHerz?

You won't get that out of an Arduino, whose clock is only 16 MHz (20 MHz tops with a different crystal).

Perhaps it's time to explain your project. Why do you need 36 MHz? Are you making a radio station?

Nick Gammon

Quote
Code: [Select]
void loop()
{
...

if (pin == HIGH)
pin = LOW;
else
pin = HIGH;

digitalWrite(5, pin);
....
}



What is the best product to use if I am trying to obtain 36mhz?


I wouldn't be trying to switch that way. Period. Use a hardware timer. Whatever platform you get.

holmes4

This is not something that you should really do with a microprocessor, its not what they are designed for!

All you need is a single chip such as this http://www.datasheetdir.com/MK3727+VCXO.

Mark

Go Up