Pages: 1 [2]   Go Down
Author Topic: Breadboard Arduino Problems  (Read 1877 times)
0 Members and 1 Guest are viewing this topic.
Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17303
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I have 4x 328s here.
I can't get ANY of them to work with a three pin resonator or a crystal with two caps.

They only work when I have the two pin crystal plugged in.

If other people have other results, I can't explain the phenomena

It's possible the fuse settings for your 328  chips are set such as not to be proper for the standard oscillator settings. Check out an AVR datasheet for the fuse options offered for oscillator function and if you have the means to read your fuse settings, see if it is set up correctly.

The standard fuse setting for an Aduino 328 are:

low_fuses=0xFF
high_fuses=0xDA
extended_fuses=0x05

Lefty
« Last Edit: April 14, 2010, 05:13:40 pm by retrolefty » Logged

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you are mounting then in a breadboard, the board itself may have enought capacitance to let the cristal work properly, but when you add the caps it as too much and can't work, using high clock signals in a breadboard is always asking for troubles.
Logged

Michigan, United States
Offline Offline
Jr. Member
**
Karma: 0
Posts: 69
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I moved the chip to a PCB and had the same effect.
I mean... It's not a problem for me because it's working just fine. I just wish I new why. smiley
Logged

Always Think!

U of A, Tucson, AZ
Offline Offline
Full Member
***
Karma: 0
Posts: 164
Hello World
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I have tested my setup on the dev board that I used to program it and it worked.

What dev board did you use to program it?

Are the 4 328's you tried from a regular Arduino board, or did you just buy them as parts?  Maybe the chips don't have the Arduino bootloader / fuses set and instead is operating off the internal 1MHz oscillator?
Logged

Michigan, United States
Offline Offline
Jr. Member
**
Karma: 0
Posts: 69
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No i used the standard arduino dev board to program them. IF they were programmed to run off of the internal clock, adding an external ceramic oscillator wouldn't make them malfunction anyways right?

It really seems to be an odd situation as right now I feel like my reality is not congruent with everyone else's...

Logged

Always Think!

Pages: 1 [2]   Go Up
Jump to: