AVR Serial Programmer
(Note to readers: I have successfully made this programmer work. However, I have received mails reporting issues with this programmer. Untill I write a complete tutorial, making a better programmer, please consider checking the schematic shown in Ponyprog website, which is much more reliable)
Programmer act as a liasion between your AVR microcontroller and the PonyProg software. It helps you to upload your .hex file into the AVR microcontroller. There are different types of programmers available in the market. The basic difference between them is the way they connect to the computer or the laptop. Some use Serial interface, while others use the parallel port available. Now the trend is to use USB connector with the USB port available.
In this tutorial, we will build a simple AVR serial programmer which connects through a RS232 9 pin connector.
|RS232 - DB9 Female||1||-|
|6 Pin Connector||1||-|
|Transistor||1||BC547 / BC550/ 2N3904|
|Zener Diode||3||5.1 V Zener Diode|
Once you have received all the above parts, it is just a matter of putting it all together in a desired fashion.
Refer to the above schematic and attach the components together. You can either get a small PCB and solder it all together, or simply plug it on a breadboard and connect it. But it might be difficult for you to use a breadboard with so many connections and pins.
In the image to the right, you can find a few components required to build a serial programmer.
- 1. RS232 case and a set of screws to hold the contents together
- A pair of RS232 - DB9 Female connectors. Of course you need only one of these which can be connected to a PC or a laptop
- Few resistors used in the design.
- 5v Zener diodes
Next time I will try to provide a step-by-step guide to solder all these components together and also how to connect it over a PCB. I have displayed an already created programmer and its design here. If anyone is interested, download the eagle schematic and make modifications if required. Feel free to add your comments in the forum if you face issues while making this serial programmer