Just the ATMega!

Hello, there! I've seen people talking about them simplifying their boards to just the ATMega, an oscillator, and a regulator, such as in this article:


That really interests me, but then how do I program it while still keeping the familliar functions of that arduino environment? I know I have to buy the chip with the bootloader, but I don't know where to go after that.

So, the question:

How do I interface just the chip and oscillator with my computer for programming?

Thanks in advance! 8-)

Doo a forum search for arduino standalone .

Get an FTDI to serial cable with the 5-pin connector, like this:


It takes the place of the USB jack and FTDI chip in a full dress Arduino.

You might like to try the step by step guide to building a perfboard standalone arduino at musheen.com.

Perfboard Standalone Arduino II

I know I have to buy the chip with the bootloader, but I don't know where to go after that.

Actually, you don't even need a bootloader. Bring out the ICSP (In Circuit Serial Programmer) header pins to somewhere on the board. Then use a ICSP programmer to program it.

Don't have one? Use the Arduino:


The ICSP header (the 6-pin male header on the Arduino) is how you put a bootloader onto the Arduino:


By using it, you bypass the need for a bootloader (and gain the program space used by the bootloader, incidentally). The only reason the Arduino isn't set up like this from the beginning is that it would require you to own a programmer (which vary in price from cheap to expensive), and the developers of the Arduino wanted it to work "out of the box", so the bootloader and USB connection was the choice.

But once you have a working Arduino, coupled with the sketch (which is included in your sketch sample folder) - you can use it to upload your own bootloader onto bare ATMegas (if you're into customizing bootloaders), or just upload your code directly, bypassing the bootloader step.