Jumat, 10 Agustus 2012


Now USB became in almost laptops and the serial port has gone and all made programmers use serial ports.in this post we will make a simple usb avr programmer connected through usb (no need for serial port).

This programmer uses a Atmega8 microcontroller with a few external passive components. The good thing is you don’t need any USB controller because it is implemented in the firmware inside Atmega8. Yes, you are right, you need an AVR programmer once to load the firmware inside Atmega8.

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).

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.

Download here

COMPONENTS

Part                      Descirption                 Qty
ATMEGA8                  Microcontroller                1
3.6 Volts                    Zener 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    

For details on how to build the programmer READ ME 



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

Software


source :

0 komentar:

Posting Komentar