Instructables

ATtiny Programming Shield for Arduino

Featured
Picture of ATtiny Programming Shield for Arduino
8493304702_61922a296b.jpg
8492195179_e657627a55.jpg
This little circuit sits nicely ontop of an Arduino board and lets you quickly plug in an ATtiny chip for programming using the Arduino "language" and IDE to write the code, and the Arduino board as an ISP programmer to upload the code to the tiny chip.

These instructions are also published on our website titled HOW TO GET WHAT YOU WANT.

For instructions on how to use Arduino to program ATtinies, please look at the following links. This Instructable will only explain how to build the programming shield.
Arduino as ISP >> http://www.kobakant.at/DIY/?p=3742
Arduino board as ATtiny programmer (by Dave Mellis) >> http://hlt.media.mit.edu/?p=1706
Programming an ATtiny w/ Arduino 1.0.1 (by Dave Mellis) >> http://hlt.media.mit.edu/?p=1695

There is also a really nice Tiny AVR Programmer now available from Sparkfun (designed by Dave Mellis) that does the same thing even more compactly >> https://www.sparkfun.com/products/11460

Video of "ATtiny Arduino Shield Programmer" in action
 
Remove these adsRemove these ads by Signing Up

Step 1: Materials and Tools

Picture of Materials and Tools
Materials
- Perforated circuit board
- Male and female headers
- Wire
- 10uF capacitor
- Arduino Uno or Duemilanove (with an ATmega328, not an older board with an ATmega168!)
- ATtiny45 or 85

Tools
- Cutter knife
- Cutting mat
- File
- Wire cutters and stripper
- Soldering iron
- Helping hand

Step 2: Cut Circuit Board to Shape

Picture of Cut Circuit Board to Shape
8493255878_fd83cfec93.jpg
8500631112_400870c271.jpg
Cut a piece of perforated circuit board to size (see illustration) and file the edges.

Step 3: Solder Male Headers

Picture of Solder Male Headers
8493262462_fcf0d0918c.jpg
8493264682_5685231a75.jpg
8493266670_83e3d2bf39.jpg
8500631112_400870c271.jpg
Take two rows of four male headers and solder them to the circuit board, but with the solder connections on the unintended side of the circuit board. So solder them you will need to hold them away from the circuit board a bit so that you can make the solder connection. Once you've got the first pin soldered the rest will be easier.

Video: Soldering headers to perforated circuit board:


Before continuing, make sure the board with headers fit into your Arduino.

Step 4: Disconnect Circuit Traces

Picture of Disconnect Circuit Traces
8493271562_2f0ac2ec3f.jpg
8492169151_e8e0462d6c.jpg
8500631112_400870c271.jpg
Disconnect the line traces as follows (see illustration and video) using a cutter knife

Video: Cutting connection on a perforated circuit board:

Step 5: Solder Female Headers

Picture of Solder Female Headers
8493282030_0e575dab68.jpg
8493280338_b15bb16293.jpg
8492174315_60046d78bc.jpg
8492176653_bc8a37ff66.jpg
8500631112_400870c271.jpg
Insert the female header pins and use an ATtiny chip as reference to make sure you get the spacing right. Then solder.

Can anyone explain to me what an ATtiny actually is. I'm just in my first year computerscience and haven't seen these.

It is a 8-pin microcontroller chip

http://www.atmel.com/devices/attiny85.aspx

Very cool! Also, if you need me, I'll be in the corner having a panic attack over how close the tip of that soldering iron is to your finger.
tecnocubeguy10 months ago
So, on the arduino power headers, both ground pins (in between Vin and 5V) are completely the same, and interchangeable? One of the above diagrams shows 10 uf between RESET and the GND furthest from the usb plug, however, your design only uses the GND closest to the usb. That won't cause any problems? I'm new to arduinos and microcontrollers, but that kinda seems weird for there to be two of the same pin on the arduino. Enlighten me. :)
There is absolutely no difference, except for extremely miniscule interference, between the grounds on the arduino. There are multiple ones for the sake of convinience. If you don't want to fork over your capacitors, you can use a 200 ohm resistor between RESET and 5Vcc on the ARDUINO.
robot7975 months ago
do you have a high res version of the layout?
MakerDP8 months ago
...and it worked! Now I think I am going to build a "shield" that will plug-into the '85 header pins so that I can program an '84 chip using the same basic setup.

Thanks for the practical Instructabile and the inspiration to take it a step further.
MakerDP8 months ago
Well done! Just finished putting it together and about to plug it in for the sniff-test.
jnowak10549 months ago
Yes, they are both connected to the ground plane on the board or are "interchangeable." Two grounding points are often very useful. I usually use them both on two separate breadboards, each containing different connected circuits (often one 5V and 3.3V.) In some cases they can also be utilized in such a way to help control electrical noise.
tecnocubeguy10 months ago
So, on the arduino power headers, both ground pins (in between Vin and 5V) are completely the same, and interchangeable? One of the above diagrams shows 10 uf between RESET and the GND furthest from the usb plug, however, your design only uses the GND closest to the usb. That won't cause any problems? I'm new to arduinos and microcontrollers, but that kinda seems weird for there to be two of the same pin on the arduino. Enlighten me. :)
I just had this idea today, and thought it would make a good instructable :( so I searched to see if somebody had already done one. . .
Idea already taken :(

Lol I like it!
marc.cryan1 year ago
I was struggling to use an Attiny with the Arduino when I saw your project. This is fantastic. I've just added headers to a board in a Kickstarter project, so it can be connected to the Arduino as you have done. I've linked back to this instructable for atribution, but it could be considered commercial use, so please let me know if this is not okay and if I can do anything for you.

Thanks for always doing great things!

This is where I have used the idea http://www.kickstarter.com/projects/marc-cryan/blinky-fish
Plusea (author)  marc.cryan1 year ago
hi marc, am glad this instructable was of use to you. and i have no problem if you use it commercially. good luck with the project.
steph19781 year ago
There are many shrinker project around the web but this one is the cleaner I've seen.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!