Hi nomis,
I want use a
ATmega328 8MHz 3.3V with a big baud rate (
230400).
On your
8MHz crystal what is the
Capacitance in
pico-Farad of this crystal?
And what kind of
capacitor you use on your
crystal?
On your
7.3728Mhz crystal what is the
Capacitance in
pico-Farad of this crystal?
And what kind of
capacitor you use on your
crystal?
what I must to do with
arduino program for use a
ATmega328 with
7.3728Mhz crystal?
I must put this in this file
arduino-0018\hardware\arduino\boards.txt?
build.f_cpu=7372800L
I see this for use a
ATmega328 with a
12MHz crystal.
http://wiblocks.luciani.org/NB1/NB1A-index.htmlhttp://wiblocks.luciani.org/docs/app-notes/boards-txt.htmlFor the Arduino program is write you must put this in this file
arduino-0018\hardware\arduino\boards.txt.
###########################################
wiblocks_328.name=wiblocks 328 at 12MHz
wiblocks_328.upload.protocol=stk500
wiblocks_328.upload.maximum_size=30720
wiblocks_328.upload.speed=19200
wiblocks_328.bootloader.low_fuses=0xff
wiblocks_328.bootloader.high_fuses=0xdd
wiblocks_328.bootloader.extended_fuses=0x00
wiblocks_328.bootloader.path=atmega328
wiblocks_328.bootloader.file=ATmegaBOOT_328_zb1.hex
wiblocks_328.bootloader.unlock_bits=0x3F
wiblocks_328.bootloader.lock_bits=0x0F
wiblocks_328.build.mcu=atmega328p
wiblocks_328.build.f_cpu=12000000L
wiblocks_328.build.core=arduino
And I must use this scale factor:
// If you program a 12MHz board after choosing a 16MHz board
// in the boards selection menu you need to adjust the baud
// rate.
//
// Compensating for the 12MHz XTAL
// 12800 = (16/12) * 9600
// 25600 = (16/12) * 19200
Serial.begin(12800); // 9600 BAUD
Do you can write what do you do for use a ATmega with a 7.3728Mhz crystal with the arduino program?
You must make a
.hex file for the bootloader?
With your technique do you have a
scale factor for your baud rate?
For use a ATmega+8MHz crystal you use this option on the arduino program menu
Arduino Pro or Pro Mini(3.3V, 8MHz) w/ ATmega328?
Thank you