Follow Steps in Pictures :

1.  ATmega16A Micro-controller on breadboard.

More : 






2. Connection Diagram.


 3. USBasp Programmer connect to microcontroller.



4. Capacitor 0.1uF/ 30pF and Crystal Oscillator 16MHz .




5. Take USB Cable Male-Female cable. Connect with USBasp Programmer and PC.











Install USBASP as simple usb device.



Uploading hex file to AVR Microcontroller:


To transfer the Hex file to controller we require a software to access USBASP. There are lots of softwares available on internet.Software which we find easy to use with all features is Prog ISP.
Download: ProgISP 1.7.2