Problems with Microcontroller Projects? You may face many Problems, but do not worry we are ready to solve your Problems. All you need to do is just leave your Comments. We will assure you that you will find a solution to your project along with future tips. On Request we will Mail you the Codes for Registered Members of this site only, at free service...Follow Me.

USB 8051 (89 series) & AVR Microcontroller Programmer

About the programmer

         This simple microcontroller programmer can progam most of  the 89 likeAtmel' AT89S51, AT89S52, AT89S53, AT89S8252, AT89S8253  including the Atmel AVR series of microcontroller. It simply consists of an ATMega8 and a couple of passive components. The programmer uses a firmware-only USB driver, no special USB controller is needed.




Features

  • Works under multiple platforms. Linux, Mac OS X and Windows are tested.
  • No special controllers or smd components are needed.
  • Programming speed is up to 5kBytes/sec.
  • SCK option to support targets with low clock speed (< 1,5MHz).
Note :-if you have all ready have your USBasp programmer which is previously posted on my blog as USB AVR PROGRAMMER then there is no need buid new hardware you just need to change the firmware of the programmer microcontroller. 

Simple Steps to made This programmer

Step 1:- Step 1:-

Download:Firmware and circuit
The following packages include circuit and firmware.
Firmware is the software which going to be burn into programmer's microcontroller, this firmware have code to enable the programmer to communicate with pc via usb and target microcontroller

Click This link to dwonload the Firware and circuit 
usbasp8051(4 kB )
source code of the firmware also avaible on request to any one who is interested.

Please refer to Readme.txt for details on building, installing and using USBasp.

Schematic USB 8051 & AVR Mircrocontroller progammer

Step 2:- 

Buy The parts You need

Part Descirption Qty
ATMEGA8 Microcontroller 1

3.6 Volts Zeaner Diode 2

22pf Capacitor 2

100nf Capacitor 1

4.7uf capacitor 1

12Mhz Crystal 1

10K Resistance 1

1K Resistance 3

68ohm Resistance 2

2.2K Resistance 1

LED Led (Red & Geen) 2

USB connector 1

USB Cable 1

3 Way dip switch 1 


Step 3:-

PCB and Part Soldering:-

You can create your own pcb using any PCB editor like eagle, OR you can solder the circuit a general purpose pcb, You Can also Use PCB created By me Click here to dwonalod my pcb design
A Genral Purpose PCB
USB AVR Programmer PCB Created by Me For your use
An Soldered AVR Prgorammer PCB
Step 4:-

Getting The Atmega8 Microcontroller Ready To be used as a programmer:-

Getting the atemega8 microcontroller ready to be inserted into the newly soldered pcb ,and start working. you have to burn the firmware which you just downloaded in the Step 1 into the atmega8 microcontroller. you can use the serial avr programmer to get this job done.click here to know about how to make a serial avr progammer and how to program the atmega8 by using a serial avr programmer.

Note:- Make sure you burn the right fuse bit configration along with the firmware into atmega8 microcontroller
for atemega8 the fuse bit are
atmega8 HFUSE=0xC9 LFUSE=0xEF

if you have a problem how to burn those fuse bit use the give serial avr programmer then please visit serial avr progammer page for detailed information

Step 6:-


Driver installation on a PC:-

At the first time when you connect your programmer to the pc your programmer will be dected as usbasp and you have to provide a proper path for drivers to be installed.
this programmer use same driver as my privous usb avr programmer use

USB AVR prorammer Dected By the widnows

Give the Instruction for a specfic location driver installation

Give the path for driver to be installed


USB AVR Programmer installed


USB AVR programmer is being connected and shown in device manager

On Linux and MacOS X no kernel driver is needed. 
Windows requires a driver for USBasp: usbasp-windriver.2009-02-28.zip (70 kB)

Note: Windows Vista/7 x64 requires drivers with digital signature. Currently there are no official drivers for libusb (USBasp software is based on it) with such a signature. Users reported that there is a tool named "Driver Signature Enforcement Overrider" to avoid the signature check.

Step 6:-

Programming the other microcontrollers:-

You can use Progisp software to burn the hex file in to the traget microcontrollers. 
note:  i don't suggest you to use any other sofware then the progisp. but if this works with any other then you are free to use that.

      click here to download progisp168 

Schematic



Connections to the traget microcontroller:-

* you can programe may microcontroller by using this schematic , all you need to do is that find out the data sheet of that mcu you want to program and check the pin configration. and the look for PIN MOSI MISO SCK and Reset , the connection will be as follows





if sombody face any trouble then please let me know

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Recent Comments

Popular Projects

Give Support

Give Support
Encourage Me through Comments

Microcontroller Projects

Total Pageviews