Author Options:

I want to replace or alter the crystal oscillator on my UNO as part of a electronics suicide workshop Answered

I want to replace or alter the crystal oscillator on my UNO as part of a electronics suicide workshop, look at it as circuit bending i guess.

I want to know approximately what could happen- is it going to run a simple standalone program, I think serial and flashing will not be possible  post-lobotomy but i can load the program before i bend it.

The processing speed will be the same but any Millis() or clock functions will be way out?
Will it just trip over its own feet and crash?

I have heard interesting things about using your finger over the solder spots to make it run at 60Hz etc...Anyway i will experiment but i wanted to get some predictions from people who know this stuff at a more fundamental level!



Depends on what you do. If you use a faster crystal then you could overclock the Arduino but it may skip some lines of code and be unstable.


It may be unpredictable, but if you replace it with a known value oscillator, and change the background makefile settings so the arduino code knows what speed it's supposed to run at, everything will work fine, just faster or slower, and scaled proportionately.

The makefile setting is the arduino compiler software?

The dropdown list of boards you have supported (uno, dumilenove, etc) each points to a separate directory of exactly what chip and settings to use for that compile. I never change the stuff in the background because I never have the need but it can be done.

Overclocking is a keyword to this then? i will go and research, i have only heard it in regards to computer games!

Unstable is nice, non-functioning is less fun :)

Someone told me a little about using resonant frequencies, either twice the oscillation or 1/3 of it but I don't understand this so much- is it like playing a note different by exactly one "octave" rather than hitting a random key?

The other thing i heard was that the natural oscillation was augmented by comparing two capacitors on the output (or something) and that by affecting the capacitors i can get a +-5% change or so...