Electronic – What do I need to program an ATmega 168

atmegabreadboardispprogrammerprogramming

I use AVR Studio for my compilation and c/c++ code (not arduino).So far I have used a Atmega 2560 development board provided by Nex robotix.

I have ISP programmers of the following sorts…
AVRISP mkII USB Programmer
and NEX AVR USB ISP STK500V2.

Now I need to do some programming on low end microcontrollers like ATmega 168 (28 pins).
I just have the raw chip. Can I program it on breadboard,or must I buy a development board?

After programming the chip can I use it on breadboard with Vcc, GND and the pins I need for my application?

Best Answer

Yes you can do this no problem. I have a setup on my desk doing this right now. Follow this tutorial and it will explain it to you:

http://avrprojectsfiuady.blogspot.com/2011/07/programming-avr-with-avrisp-mkii.html

If you are running the new AVR Studio also watch this video to help get you setup:

http://www.youtube.com/watch?v=iTTZUpzAjKc

(You will need AVRDUDE installed as well).