From Atmega8 to Atmega168

Hi,
I have a problem in using Atmega168 on Arduino. I have no problem using Atmega8 in blinking onboard LED. I choose Atmega168 from the menu bar and compile the same program. Is there any setting i need to change? Thanks.

Regards,

Bryan

what processor is mounted on your arduino?

I have problem with Atmega 168. Thanks

Rgds,
Bryan

kzwin,

I assume you have physically replaced the atmega8 with the atmega168 chip on your arduino board, and then selected the atmega168 in the IDE and are still having problems.

Q: Have you just bought the atmega168 from an online website? (in which case it will NOT have the arduino bootloader on it, which is essential).

Getting the bootloader on the chip is a painful and/or expensive thing to do for beginners. I would suggest you buy a pre-bootloaded 168, you will find some links on the forum

cya
R

:smiley: I had the same problem at first.

Build this:

Then use the software to intialize the bootloader on the chip.

notstarman,

You can only use that cable to upload the bootloader to the atmega8 and not the 168 through the IDE the last time i checked!

cya
R

Can we get someone to verify this?

If so, can we also get some instructions on burning the bootloader on the 168?