Friday, 17 January 2014

AVR PROGRAMMER DESIGN

USBasp - USB programmer for Atmel AVR controllers


USBasp is a USB in-circuit programmer for Atmel AVR controllers. It simply consists of an ATMega88 or an ATMega8 and a couple of passive components. The programmer uses a firmware-only USB driver, no special USB controller is needed.

THIS FILE IS CREATED MYSELF:

Make the atmega-8 programmer
Step-1:
Transfer this proggrammer to atmega-8 controller
    avr-doper-mega8-12mhz.hex
download usbasp-mega8-12mhz.hex from FileLoby.com - Store & Share Your Files
Step-2:
Use fuse bit setting for atmega 8
    Fuse Settings for programmer.png

To transfer the data from controller to PC is use following setting into ur controller
 

FUSE SETTING:-

################################## ATMega8 ##################################
#
# ATMega8 FUSE_L (Fuse low byte):
# 0x9f = 1 0 0 1   1 1 1 1
#        ^ ^ \ /   \--+--/
#        | |  |       +------- CKSEL 3..0 (external >8M crystal)
#        | |  +--------------- SUT 1..0 (crystal osc, BOD enabled)
#        | +------------------ BODEN (BrownOut Detector enabled)
#        +-------------------- BODLEVEL (2.7V)
#
#
# ATMega8 FUSE_H (Fuse high byte):
# 0xc9 = 1 1 0 0   1 0 0 1 <-- BOOTRST (boot reset vector at 0x0000)
#        ^ ^ ^ ^   ^ ^ ^------ BOOTSZ0
#        | | | |   | +-------- BOOTSZ1
#        | | | |   + --------- EESAVE (don't preserve EEPROM over chip erase)
#        | | | +-------------- CKOPT (full output swing)
#        | | +---------------- SPIEN (allow serial programming)
#        | +------------------ WDTON (WDT not always on)
#        +-------------------- RSTDISBL (reset pin is enabled)

PCB DESIGNING:-

Circuit design: 
download usb_progammer.pdf from FileLoby.com - Store & Share Your Files

No comments:

Post a Comment