Showing posts with label mikrokontroller. Show all posts
Showing posts with label mikrokontroller. Show all posts

Friday, August 10, 2012

RANGKAIAN DOWNLOADER AVR MIKROKONTROLLER

type='html'>
This is a simple circuit of downloader AVR microcontrollers (Atmega|Attiny ). This circuit can be used to painlessly transfer hex programs to most ATMEL AVR microcontrollers without sacrificing your budget and time. It is more reliable than most other simple AVR downloader programmers available out there and can be built in very short amount of time.

AVR downloader programmer consists of in-circuit serial programmer (dongle) and small pcb with a DIP socket where you can fit your microcontroller and have it quickly downloader programmed.

Entire AVR downloader programmer has been build with using common parts and fits in the case of the serial connector. The socket pcb has been created to fit a 28-DIP AVR ATmega8 microcontroller, but you can build a socket pcb for any other AVR microcontroller out there. This AVR programmer is compatible with a popular PonyProg software that shows you a status bar of the programming progress.
AVR Downloader Mikrokontrolleravr (Atmega|Attiny) Downloader Mikrokontroller

AVR Downloader MikrokontrollerSkema rangkaian Downloader AVR (Atmega|Attiny) mikrokontroller

AVR Downloader MikrokontrollerAVR Downloader Mikrokontroller
Finished AVR (ATmega|Attiny) Downloader Programmer with standard 6-PIN ICSP connector.


Make AVR Socket PCB

Socket PCB consists of the PCB, 28-DIP socket, 4MHz crystal resonator, or crystal with two 22pF decoupling capacitors, and two header connectors. Two-PIN connector supplies +5V voltage to the AVR microcontroller, and 6-PIN ICSP connects to AVR Programmer dongle.

Supplying microcontroller with external +5V voltage as opposed to taking it directly from computer's serial connection port ensures that the chip is receiving exactly +5V voltage and provides very reliable error free programming. +5V voltage supply for AVR mikrokontroller chip may be provided from external power supply or even better - directly from USB connection.

AVR Downloader Mikrokontroller

AVR Downloader MikrokontrollerFinished Socket PCB AVR ATmega8 microcontroller pic

Saturday, June 30, 2012

Cara Mrogram mikrokontroller AT89S52 Mengunakan Programmer 2.15

type='html'>
Mrogram mikrokontroller AT89S52 Via Programmer 2.15

Programmer 2.15 is a software specifically developed for programming, read, or erase the internal flash memory microcontroller AT89S52, Programmer2.15 also equipped with a text editor that can be used to create the program in 8051 assembler language and compiled directly in to the file hex

Programmer 2.15 windowPic 1. Programmer 2.15 window

How to use Programmer 2.15
  • Programmer2.25 is equipped with a text editor that functions to make programming in assembler language.
  • When finished making your program can compile directly using a shortcut assemblel / compile it (F9), if it found an error from the program list, programmer 2.51 will display an error message, and if there are no errors will appear the message "NO ERRORS FOUND"
  • after the compile process successfully you can directly write down (the download) to the flash memory at8951/52

How to program (to download) to the flash memory AT89S51/52

Assembler program that has been compiled with no errors can be directly in the programming or "the downloaded" to the flash memory AT89S51/52. Programmer 2.15 using parallel port for this download process. Also in need a special interface circuit such as circuit scheme is shown below.

rankaian antarmuka Programmer 2.15
rankaian antarmuka Programmer 2.15Pic 2. rankaian antarmuka Programmer 2.15

Before doing the download process needs to be done beforehand setting process, the setup process is done using a programming menu / setup (See figure 1.) Settings are done to select the parallel port address, memory lock bits mode, and determining conditions RST pin after the download process completed

Pic 3. settings window

Note:
  • Adjust settings such as the picture above
  • LPT1 address customize to your computer
  • Programmer2.15 suitable for programming (download) Microcontroller AT89S51/52
After doing the settings in the process of programming can be done through programflashmemory menu (F2)