Pages: [1]   Go Down
Author Topic: AVR ISP MKII Modification to provide power to circuit being programmed  (Read 1253 times)
0 Members and 1 Guest are viewing this topic.
Dallas, Texas
Offline Offline
God Member
*****
Karma: 30
Posts: 887
Old, decrepit curmugeon
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I encountered this mod, http://www.eevblog.com/2011/03/25/eevblog-158-avr-isp-mk2-lm317-regulator-tutorial/, that allows the AVR ISP MKII to actually power the circuit being programmed.  This is one feature I like about the PicKit2/3, that I missed on the AVR ISP MKII.  While he used an LM317, he analyzed its performance, and it seems clear that a low drop-out regulator would work much better.  So for my attempt I used a TLV2217-33 instead of the LM317.

Since I don't like dead bug assembly (like used in the link) I went ahead and created a very simple circuit board using toner transfer method.  The mod requires a LDO regulator, two caps (I used 0.1uF), and two switches (1 SPST, and 1 SPDT).  The SPDT switch lets you chose between 3.3V or 5V for the circuit being programmed.  The SPST lets you connect/disconnect USB power from that circuit, so when in the off position the programmer works as it would normally.

Easy mod, that so far has been working very well.  I am attaching a few pics that might explain it better--though I do recommend watching the video in the above link.


* Power-brd.tif (1052.23 KB, 612x440 - viewed 84 times.)

* 2012_07_14_8168.jpg (126.17 KB, 1024x789 - viewed 72 times.)

* 2012_07_14_8170.jpg (196.48 KB, 831x1024 - viewed 91 times.)

* 2012_07_14_8172.jpg (194.1 KB, 1024x682 - viewed 104 times.)
Logged

New true random number library available at: http://code.google.com/p/avr-hardware-random-number-generation/

Current version 1.0.1

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26523
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Seems so simple, gotta wonder why Atmel doesn't make that a standard part of the design.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Dallas, Texas
Offline Offline
God Member
*****
Karma: 30
Posts: 887
Old, decrepit curmugeon
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Seems so simple, gotta wonder why Atmel doesn't make that a standard part of the design.

I thought so as well.  In thinking about it I suspect that the reason was cost.  You need to have the ability to switch off the power, so it would add some cost.  I know that when Microchip came out with the PicKit3 they initially did not have firmware support for providing power.  It was something they added later when people complained.  And the method they use isn't as convenient as it was with the Pickit 2
Logged

New true random number library available at: http://code.google.com/p/avr-hardware-random-number-generation/

Current version 1.0.1

Pages: [1]   Go Up
Jump to: