Hey,
I made a arduino breadboard. But my µC is now 16 times slower. So if I upload this code:
delay(1000)
Than it waits for 16 seconds, but how can I undo that, and can I connect the ethernet shield if it works 16 times slower?
Hey,
I made a arduino breadboard. But my µC is now 16 times slower. So if I upload this code:
delay(1000)
Than it waits for 16 seconds, but how can I undo that, and can I connect the ethernet shield if it works 16 times slower?
I'd have a look at your oscillator circuit and your clock options, if I were you.
This is my oscillator circuit.
Crystal:16.000.000hz (16Mhz)
Capacitor:22pF (500V)
What do I have do wrong.
You crystal might say 16MHz on it but it sounds like it is not oscillating at 16MHz.
Check with an oscilloscope it is oscillating at the correct frequency.
Also you could have the internal fuses set incorrectly so that it is using an internal oscillator. How did you program up the boot loader?
I don't use a bootloader, maby that's the problem. I create a hex code with the arduino software, than I upload the hex code via mega-isp (avrisp). So I don't use a bootloader, is it neccesary than? I don't have a oscilloscope, so I can't check the frequency.
You definitely are not using the crystal - it sounds like you have the internal oscillator running at 1MHz (which is the default).
You need to change the fuses to enable the external crystal oscillator.
See here:
http://www.arduino.cc/playground/Learning/Burn168
b
My guess would be to put a 256Mhz crystal in there
XD
it sounds like you have not set the fuses and are running at 1mhz.