Pages: [1]   Go Down
Author Topic: arduino on breadboard  (Read 1648 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 0
Posts: 235
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...  smiley
Logged

London
Offline Offline
Sr. Member
****
Karma: 1
Posts: 330
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset



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.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 235
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

London
Offline Offline
Sr. Member
****
Karma: 1
Posts: 330
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


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
Logged

0
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 60
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 235
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanx u guys... i am getting rite to it 4m now... will update wen i finish.... smiley-grin thanx a lot....
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 235
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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??   smiley
Logged

0
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 235
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Bristol, UK
Offline Offline
Edison Member
*
Karma: 1
Posts: 1197
Exhibitor at UK Maker Faire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
Serial.begin (9600);

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

0
Offline Offline
Full Member
***
Karma: 0
Posts: 235
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

so if speed is not a problem i can do with the 8Mhz one???
+ anything i must knw b4 putting the 16Mhz one??
« Last Edit: March 02, 2009, 08:49:24 pm by dev_000 » Logged

Montreal
Offline Offline
Full Member
***
Karma: 0
Posts: 185
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Patgadget
Montreal

0
Offline Offline
Full Member
***
Karma: 0
Posts: 235
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

burn different fuse means? sorry i am a total noob...  smiley-sad
Logged

Montreal
Offline Offline
Full Member
***
Karma: 0
Posts: 185
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Patgadget
Montreal

Pages: [1]   Go Up
Jump to: