I admit it: I'm a total geek. I love electronics, programming, 3D art, vintage Apple hardware, and whisky. I'm always juggling half a dozen projects. I also enjoy documenting it all: my successes, my failures, my experiences... and everything geeky along the way.


 
 
 
 
 

Arduino as ISP Shield | Kevin Rye.net - Main

Kevin Rye

Geek Extraordinaire. Yeh, I said it.

Arduino as ISP Shield

Many a time have I had to set up my Arduino UNO as an ISP in order to burn the bootloader to either another Arduino or an SMD project.

bootloadsetup2

As you can see, it’s a pain every time having to look up the pinouts and construct a cable each time.

bootloadsetup6

I found Nick Gammon’s bootloader sketch. This was a better, quicker solution for burning the bootloader. All it requires is a single ribbon cable that ties both ICSP headers together. The reset pin on the target is broken out to pin 10 on the Arduino. It’s really fast to connect both devices together, load the sketch, and burn.

bootloadsetup4

However, there is one caveat, Nick gammon’s sketch just loads the bootloader. It doesn’t set up your Arduino as an ISP. So once the bootloader is burned, you can’t use it to load another sketch onto the target. You still have to go back and reconnect everything the “Arduino as ISP” way.

bootloadsetup5

Ideally, I’d like something more along the lines of a shield. Similar to the ATtiny Programming Shield that I made. I want to eliminate the need to pull out jumper wires every time. I want to just clip on a shield, connect it to my target, and go.

attinyshield_0065

I jumped into Eagle and got to work. It should be simple. I just have to connect pins 10, 11, 12, and 13 to a 2x3 header, and throw in a 10µF cap.

Screen Shot 2014-09-28 at 3.13.47 PM

I gave it a cool shape. I could have just left it a rectangle, but then it would have been bigger than it really needed to be.

Screen Shot 2014-09-28 at 5.26.49 PM

I printed it out just to get a feel for what it will look like.

DSC_0002

It’s pretty cheap to get a board this small made from OSH Park. Only $6.40 for three.

arduino as isp pcb v1

I then hopped on eBay and found a 6-pin ICS cable for only $1.25.

6pinICSPcable_0013

Two weeks later, my new PCBs arrived in the mail.

arduino_as_isp_shield_0020

This should be a pretty easy build. All I need is a 10 µF cap and a few headers.

arduino_as_isp_shield_0022

The best way to keep headers nice and straight is to pop it on your breadboard while you solder them.

arduino_as_isp_shield_0026

arduino_as_isp_shield_0028

That was easy.

arduino_as_isp_shield_0030

With the pins nice and straight, it just slides right in.

arduino_as_isp_shield_0032

All I then had to do was connect my cable to my target, set up the Uno as an ISP, and load my sketch.

arduino_as_isp_shield_0034

So much easier than messing around with jumper wires and DIY homebrew cables.

Grab the source files from my Sources page.