I am interested how to connect pololu programmer pgm02b to atmega16 controller. on manual it says that it must be powered from outside source. what is schematics?
That programmer has a standard 6-pin AVR ISP header which is found on many AVR programmers and boards.
Pin 1 connects to MISO.
Pin 2 connects to VCC.
Pin 3 connects to SCK.
Pin 4 connects to MOSI
Pin 5 connects to RESET.
Pin 6 connects to GND.
You can see some examples of these connections if you look at the schematic of a board that has a 6-pin AVR ISP header. For example, here is the schematic of our Baby Orangutan: