[resolved] 25Mhz clock signal with arduino

A sensor I am using needs a 25Mhz clock signal for it to operate. I was wondering if it is possible to generate such a high frequency with an arduino nano opposed to creating it with bare components.

If not possible with arduino, is there another way to do this easier than creating a circuit for the clock signal?

I doubt it. Since a Nano runs at 16 MHz, I don't see a way to make it generate the clock signal you're looking for.

Some of the Teensy range run a lot faster and could probably do it, but it would likely be a lot cheaper to build a custom circuit.

I'd go with an oscillator, here are thru hole examples. Apply power & Gnd, get 25 MHz out.

https://www.digikey.com/products/en/crystals-oscillators-resonators/oscillators/172?k=oscillator&k=&pkeyword=oscillator&sv=0&pv1989=0&pv2338=335090&pv2150=u25MHz&pv69=411897&sf=1&FV=-8%7C172&quantity=&ColumnSort=0&page=1&stock=1&pageSize=25

(delete the extra characters that chrome/forum add to the beginning and end of that)

wildbill:
I doubt it. Since a Nano runs at 16 MHz, I don't see a way to make it generate the clock signal you're looking for.

Some of the Teensy range run a lot faster and could probably do it, but it would likely be a lot cheaper to build a custom circuit.

This is interesting actually because I am planning on using a black pill which runs on 96Mhz so might it be possible with a 96Mhz board?

CrossRoads:
I'd go with an oscillator, here are thru hole examples. Apply power & Gnd, get 25 MHz out.

The 'tutorial' from which I got this uses this setup. What is the difference between just an oscillator and a circuit around it? What do I need?

Thanks for helping me out.

Edit: forgot image.

Capture.PNG

You may be able to generate a 25 MHz clock signal with the black pill. That will require extensive study of the processor data sheet. Much easier to follow the tutorial and use a canned oscillator.

This question makes no sense at all. Please try again.

What is the difference between just an oscillator and a circuit around it?

jremington:
This question makes no sense at all. Please try again.

Bottom left diagram shows a 25Mhz crystal with other components such as 2 inverters and a resistor. Why would you use this setup instead of just using a 25Khz crystal as described by @CrossRoads

The oscillator in a can (described by Crossroads) contains the crystal, capacitors and inverter components pictured on the bottom left.

Your choice which to use.

Aha, that'll be my question solved then!
Thanks