Saturday, May 25, 2013

Serial programmer for AVR

This simple AVR Programmer will allow you to easily transfer hex programs to most ATMEL AVR microcontrollers without sacrificing your budget and time. It is more reliable than other simple AVR programmers available and can be built in very short amount of time. 





This circuit is extremely cheap and small in size. The best thing about this programmer is that it is faster than other kind of programmers like USBASP programmer. But as you know, there are always some cons and pros of every device or circuit. The good thing about this circuit is that it is very small, cheap and very fast as compare to other programmers like USBASP programmer. But cons are that this circuit uses the serial port of the computer which is rarely available in new computer these days and mostly laptops also don't have the serial port. Another problem with this programmer is that it doesn't provide the power supply to the microcontroller. if anyone wish to program the controller using this circuit, he have to provide external Vcc to the controller circuit. 


Serial Port:

Here DB9 type connector is used as serial port which is based on RS232 communication protocol. To know more about the serial port, click here.
Female type DB9 connector is connected on this circuit. Pin configuration of the DB9 connector is as below:




How to program:

There are various methods to program any AVR microcontroller using this serial programmer. Here we'll discuss about very common and popular way i.e. using AVRdude.
Click here to download AVRdude gui(win32_executable). After downloading, open AVRdude.exe and go to "setup" tab. Now go to dropdown menu for the programmer and select "siprog". Now go to "programming" tab and program the controller. 

No comments:

Post a Comment