How do I program Arduino Pro Mini 16mhz with Arduino -0012?

Hello -

Just got my Arduino Pro Mini 5V 16Mhz set up, went to the Arduino -0012 IDE to select it under the “Tools / Boards” menu, and only found a selection for 8mhz. I went ahead and used the 8mhz selection, and ran the basic Blink sketch successfully.

So my question is, is there a forthcoming Arduino revision to add a 16 mhz selection, or do I just need to calculate any delays or internal clock related commands to be 1/2 of what would be used for 8mhz? Or is it more complicated than that?


Paul Garcia

This is a 5V Arduino running the 16MHz bootloader (select ‘Arduino Diecimila’ within the Arduino software).

The boards menu is populated from hardware\boards.txt.

The board speed is set there (f_cpu).

I am having the same problem as md10bldr. I looked into hardware\boards.txt, and I created a new entry as follows Pro (16 MHz)?











This was taken from the 'Arduino Pro or Pro Mini (8 MHz)' entry, changing only the name, bootloader.file, and build.f_cpu entries. The new option is selectable on the Tools/Board menu, but it does no better than any other when I try to download to the Arduino:

avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Any suggestion will be appreciated.

I am using Arduino-0015 under WinXP.

I am still trying to figure this out. When powered up, and whenever the reset button is not held down (including when Arduino.exe thinks it’s downloading to the board), the pin-13 LED loops through a pattern with a 3.34-second period. The pattern is a 21-beat pulse train consisting of one long high (1000 ms) and 20 short highs (18-28 ms), separated by lows in a declining sequence: 530 ms, 300 ms, 200 ms, 176 ms, and so on down to 15 ms or so. Does this sound like what one should expect from the baseline contents of the program memory?

Hi fenichel,

What you are describing is actually a very precise break down of the blink example program. This is loaded on all Arduino’s and shows that your board is working properly out of the box.

I hope this helps.

I had recently learned that what I observed was the appropriate behavior for the pre-installed program, but notice that it is not the same as the Blink sketch. The Blink sketch gives a simple 50%-duty-cycle 0.5 Hz square wave, not the repeating 3.34-s pulse train of the pre-installed program.

My problem is solved :smiley: It was just a port-selection error, and I feel stupid :? Back to work.


I am aware that it is not the exact sketch. Just sharing an example sketch.