Pages: [1]   Go Down
Author Topic: programming atmega 8  (Read 439 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i need a suitable usb programmer for atmega 8. can any one send me the circuit diagram and boot loader. im new to arduino pls help
Logged

Offline Offline
Edison Member
*
Karma: 58
Posts: 2078
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

One of the Arduino compatible versions is Arduino NG with ATmega8 with an external X-tal at 16MHz.
That is not the ATmega8L at 8MHz.

So the easiest way is to use the ATmega8, and add a 16MHz X-tal with two 22pf capacitors.
The Arduino IDE can upload the bootloader (it will also set the appropriate fuses when uploading the bootloader).

You will need a programmer. An Arduino board can be used as programmer (Arduino as ISP) or you can buy a USBasp programmer.

Take a look at these pages:
http://arduino.cc/en/Main/Standalone
http://playground.arduino.cc/Learning/AtmegaStandalone
http://www.gammon.com.au/forum/?id=11637
http://www.gammon.com.au/forum/?id=11635
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for your reply, where to get sample programs for atmega 8  and boot loader for it
Logged

Offline Offline
Edison Member
*
Karma: 58
Posts: 2078
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Most examples in the Arduino IDE (the Arduino software on the PC) will work.
The bootloader is in the Arduino IDE. You have to select the programmer, and burn the bootloader. It is all done from within the Arduino IDE.
Logged

Norway
Offline Offline
Full Member
***
Karma: 1
Posts: 142
likes to program Arduinos!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not just burn in the Optiboot bootloader from the beginning? it takes less space (512b), faster baud rate for uploading and it doesn't have this really loooong delay before the code starts running.
Logged

Pages: [1]   Go Up
Jump to: