Go Down

Topic: arduino on breadboard (Read 1 time) previous topic - next topic

0

hi guys...
I have an arduino ATmega 8... say if i want to make a arduino 4m scratch and i have the Atmega 8 chip alone.... wat r the things i would need more to make one myself on a breadboard? would i be able to program the IC the same way in breadboard as wen we do it in the arduino board??
i have already seen this.... but not much help showing the ckt...
http://blog.makezine.com/archive/2007/07/barebones_arduino_on_a_br.html
can i replace atmega 8 with atmega 16 or atmega 168 without changing anything??
thanx in advance...  :)

GordonEndersby



I dont think you followed the link to the full article just below the description.
http://www.uchobby.com/index.php/2007/07/01/ardunio-breadboard/

Once you have built one theres no reason not to be able to do everything you would normaly do with a proffesionaly built Arduino board.

Ive just built one from this:
http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard
It took about half an hour.
Im waiting for a usb to ftdi adaptor so I can program in situ.
Once I have that its all done and Ill transfer it to stripboard with a realtime clock circuit for something I want to build.

0

thanx buddy... :)  can anyone plz tell y we r using a oscillating crystal??? wats its use???

GordonEndersby


The atmega has an on board crystal but it only runs at 8mhz I beleive.
To run at 16mhz it needs the external crystal.

If you are asking why its has a crystal at all.
It provides the ticks that make a microcontroler work.

Gordon

kg4wsv

It doesn't have a crystal built in; it does have an RC (resistor-capacitor) oscillator.  An RC oscillator is much cheaper, much less precise, and more susceptible to temperature changes than a crystal.

-j


sidgug

I've been building my own with these basic bits including FTDI programming connection. Works really well.

See link to my diagram @: http://www.gdesign.com.au/arduino/StandaloneArduinoWithFTDI_4.jpg

0

thanx u guys... i am getting rite to it 4m now... will update wen i finish.... :D thanx a lot....

0

doesnt atmega 8 have an intrnal crsytal oscillator of 8mhz??? so y do i need another one?? wats the benefit in using a 16Mhz crystal??   :)

kg4wsv

Quote
wats the benefit in using a 16Mhz crystal??

Accuracy: a crystal is more precise than an RC oscillator, so for example serial communications are more error-free.

Speed: 16MHz is twice as fast as 8MHz.

Temperature tolerance: an RC oscillator drifts more with temperature than a crystal.

-j


0

16MHz is twice as fast as 8MHz....  means in data transfer???
so if i dont use it will there be any problem?? or do i just buy a 16Mhz crystal and plug it in??? coz somewer i heard it might not work the way it is suppossed to...
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1195067818/3

Anachrocomputer

Quote
means in data transfer


A 16MHz clock will allow the Arduino to do twice as many computations per second as an 8MHz clock.  Data transfer is usually done based on a clock that is divided down from the master clock.  That results in a data transfer rate, or baud rate, that is set in the user program by such lines as:

Code: [Select]
Serial.begin (9600);

So, choice of baud rate can affect data transfer rates over the serial link.

0

#11
Mar 03, 2009, 02:46 am Last Edit: Mar 03, 2009, 02:49 am by dev_000 Reason: 1
so if speed is not a problem i can do with the 8Mhz one???
+ anything i must knw b4 putting the 16Mhz one??

Patgadget

Not sure, but i think that you have to burn different fuse in the Atmega if you want different clock (internal vs external). and i don't think that it can be done with the Arduino IDE
Patgadget
Montreal

0

burn different fuse means? sorry i am a total noob...  :(

Patgadget

The atmega is a microcontroler with flash memory and eprom memory and ram memory.
Arduino guys, develop a bootloader that permit you to download easilly and quickly new software with there interface.
Clock, internal or external, and other setttings are preconfigure in the ATmega using fuse. it can be change, but not easilly, (not for a nooby), one way is to use AVR In circuit programer and there software, there are probally other ways, but not sure exactly how

Burning different fuse means:
changing the settings of the initial configuration of the ATmega.
Patgadget
Montreal

Go Up