hello, i'm going to operate atmega328 chip on breadboard without any crystal. it has duemilanove bootloader on it. so once i program it using arduino board, i'll take it on a breadboard and it would do it's job, but problem is that i'm limited in voltage, so i'd like it to run on 1.8 - 2.2 volts. i've googled and read that it would have low operational Freq, but i don't care. i've tried to configure boards.txt in arduino IDE for low Freq, but it didn't work. so please help me.
giorgi111-111:
hello, i'm going to operate atmega328 chip on breadboard without any crystal. it has duemilanove bootloader on it. so once i program it using arduino board, i'll take it on a breadboard and it would do it's job, but problem is that i'm limited in voltage, so i'd like it to run on 1.8 - 2.2 volts. i've googled and read that it would have low operational Freq, but i don't care. i've tried to configure boards.txt in arduino IDE for low Freq, but it didn't work. so please help me.
At that voltage you can only run it at 4MHz. If speed isn't very important and you don't want to use a crystal then it's much easier to run at 1MHz. You can do this with the "Internal RC Oscillator" - see the "System Clock and Clock Options" section of the datasheet for details.
You select it by burning fuse bits. For that you need an ISP programmer, you can't do it with just a bootloader. ISP programmers are about $8 and it's well worth getting one if you're doing this sort of thing. usbtinyisp for sale | eBay
i take my atmega328 chip (duemilanove) and put it in arduino board, then i program it, using this configuration :
##############################################################
Bits 7-6-5-4-3 of the Extended Fuse Byte are not used. Bits 2-1-0 set the Brown-out Detector trigger level.
See Table 28-6 and Table 29-13
0x05 = 00000101, effectively xxxxx101
Which sets the Brown-out level at 2.7 +/-0.2V.
So 2V is too low, 3.7V would be okay.
A fuse setting of xxxxx110, or 0x06, would bring that down to 1.7-2V.
Or xxxxx111, 0x07, and disable brown out detection.
i can't understand what i've to change. please provide me with a tutorial where i can change it and work with atmega using 2.0 v, or just copy me a right configuration
Hi,
if I may chime in here...
I have a pro mini 5V/16MHz board, but want to use it with a 3V sensorboard.
As I understood, it would be possible when clockspeed is not important.
But what about I2C and SPI settings? Do I have to change anything, when the pro mini runs at 8MHz?
I'm referring to that snip:
// Start the SPI library:
SPI.begin();
SPI.setDataMode(SPI_MODE3);
SPI.setClockDivider(SPI_CLOCK_DIV8);
Maybe I just need to take the 3.3V/ 8MHz bootloader?
Can I leave the Crystal on the pcb, when I use the internal RC-oscillator?
Yes, you can load the 3.3V/8MHz bootloader
You, you can leave the crystal in place.
You need to change the settings in boards.txt to reflect using the internal oscillator.
SPI DIV2 is the fastest setting, 1/2 the system clock. DIV8 will be 1/8, or 1 MHz.
You are powering the board from 3.3V on the VCC pin to be compatible with the sensor?