AVR serial programmer

In modern electronic circuits, microcontrollers are increasingly used. What can I say, if today you do not even find an ordinary board without a microcontroller inside – it sets various illumination programs.
I first encountered microcontrollers when I was assembling my first pulse metal detector, the Clone . It was then that it turned out that the controller without the firmware is just a piece of plastic with legs. And in order to fill in the necessary firmware in ATMEGA, one cannot do without a programmer. Next, we consider the two most simple and time-tested scheme programmers.

With the help of this programmer you can flash almost any AVR controller from ATMEL, you just need to check the pinout of the chip.
The COM connector on the diagram is the “Female”.
Just in case, I quote the layout of the printed circuit board for the ATMega8 ( download ), although it is easier to draw such a primitive scheme by hand. Board before printing need to mirror.

The PCB file can be opened with the help of the popular Sprint Layout program (if you haven’t already installed it, then download version 5 or better, version 6 ).
As is clear from the diagram, for the assembly of the programmer, an insignificant number of parts will be required:

I decided to take the power supply (+ 5V) from the USB port.
If you have a new microcontroller (and no one tried to flash it before), then quartz with associated capacitors can be left out. Work without a quartz resonator is possible due to the fact that the stone from the factory goes with a bit to the built-in generator and the circuit, respectively, is clocked by it.
If your microcircuit is used, then without external quartz it may not start. Then it is better to put quartz at 4 MHz, and the capacitors are better at 33 pF.
As you can see, I did not put quartz with capacitors, but just in case I provided space for them on the board.
It is best to fill the firmware using the PonyProg program (download).