Go Down

Topic: ATmega328 (Read 1 time) previous topic - next topic

jhonray

hi.. can anyone tell me about ATmega328 if it is okay to remove from arduino board and attach it to another bread board without crystal? i want to make a project without using arduino board... or i want it only ATmega328 alone...

Osgeld

#1
Dec 17, 2010, 06:59 pm Last Edit: Dec 17, 2010, 06:59 pm by Osgeld Reason: 1
without the crystal you need to reset configuration fuses, get yourself a ceramic resonator, its the 16mhz clock and 2 caps in 1 tiny package and less hassle

jhonray

So, it is necessary to have or put a crystal or whatever resonator capacitor and ceramic?

biocow

#3
Dec 17, 2010, 07:12 pm Last Edit: Dec 17, 2010, 07:14 pm by biocow Reason: 1
Google "bare bones arduino" or "standalone arduino"



Or if you want to get REALLY tiny, "single chip arduino"

10 PRINT CHR$(7)
20 GOTO 10

jhonray

what i mean is the mcu is already programmed in the arduino board.. then replace it in the bread board without xtal or resonator?

James C4S

Quote
what i mean is the mcu is already programmed in the arduino board.. then replace it in the bread board without xtal or resonator?

Unless you reprogram the fuses to use the internal oscillator, you need to provide one.  Keep in mind that the internal oscillator does not run at 16MHz.

More information in this thread: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1247139691
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

jhonray

so it is applicable to do what i want?

jhonray


so it is applicable to do what i want to?


Quote
Quote
what i mean is the mcu is already programmed in the arduino board.. then replace it in the bread board without xtal or resonator?

Unless you reprogram the fuses to use the internal oscillator, you need to provide one.  Keep in mind that the internal oscillator does not run at 16MHz.

More information in this thread: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1247139691


Graynomad

#8
Dec 18, 2010, 09:18 am Last Edit: Dec 18, 2010, 09:19 am by graynomad Reason: 1
No, as stated above you either have provide a crystal or resonator OR reprogram the fuses to use the internal clock.

If you reprogram the fuses the chip won't run at 16MHz but at 8, this may or may not matter, it depends on whether you depend on functions that do timing like millis() and the serial port.

______
Rob

Rob Gray aka the GRAYnomad www.robgray.com

Go Up