I am completely new in electronics. I wanted to make a programmer (or burner) to burn my program in my Atmel16a microcontroller. I found a circuit on the internet:

AVR Programmer Circuit


Everything is clear, except what is the +5V in the ICSP? Is it same as VCC? Do we have to externally supply 5V to this circuit?

And there are two diodes in the bottom. Are they zener diodes? Do they have special names or characteristics?


The diodes at the bottom are indeed zeners. They have 5.1V breakdown voltage. The reason they are there is to make it so you can actually program your chip instead of zapping it with 12V (see below).

It should be possible to replace 1N4148 diode with another switching diode. What that part of the circuit is used for is for lowering the RESET line which is necessary during the ISP programming. As jippie suggests, it is there to protect the transistor: pin 3 on the DB9 is hte RS-232 TX pin, which may be as low as -15V, which is lower than the emitter voltage, which is 0 because it is tied to ground. The maximum emitter/base voltage for BCS549 is 5V, whereas in this case, without the diode it could be as much as 15V.

The +5V in this case is Vcc. The reason you have to supply +5V to the chip being programmed is because if the chip is not powered, it cannot be programmed. And yes, you have to supply the +5V yourself, since RS-232 does have a +5V connection. Neither can RS-232 pins be used to provide +5V in a simple fashion since RS-232 does not necessarily use +5 voltage levels.

With some extra programming and extra components, one might be able to make the free DB-9 pin (pin 9, the ring indicator) provide +5V, however, this will make your circuit and programmer life more complicated, not simpler.

On the simplicity of this circuit (responding to some edited-out bits): most other ISP programmers use an IC (such as another ATmega) internally (see USBtinyISP, USBasp, etc). Your programmer has only nine components (not counting the connectors) which is a pretty simple circuit. You could consider a parallel programmer such as this one or this one or many other variations on this theme you might find on Google if you need a simplest circuit. The simplest way to make an ISP programmer is to buy one: Ebay has a ton of them quite cheaply.

  • \$\begingroup\$ So, does the circuit now looks like this? : postimg.org/image/6zll7ta1v \$\endgroup\$ – cipher Apr 20 '13 at 17:39
  • \$\begingroup\$ That's one way. Another way is to power the chip itself: like this. It doesn't really matter whether you connect +5 on the programmer PCB or on the chip PCB. \$\endgroup\$ – angelatlarge Apr 20 '13 at 17:44
  • \$\begingroup\$ Ok! One last question: Can we use normal 1N4007 instead of 1N4148 diode? and can we use any NPN transistor instead of the specified one ? \$\endgroup\$ – cipher Apr 20 '13 at 17:50
  • \$\begingroup\$ Ok. But i would have been extremely grateful, if you answered the above question \$\endgroup\$ – cipher Apr 20 '13 at 17:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.