ATtiny Programming Shield for Arduino
by Plusea in Circuits > Microcontrollers
69024 Views, 493 Favorites, 0 Comments
ATtiny Programming Shield for Arduino
![8493302228_380e8599f7.jpg](/proxy/?url=https://content.instructables.com/F3M/MHDQ/HD8TWXKP/F3MMHDQHD8TWXKP.jpg&filename=8493302228_380e8599f7.jpg)
![8493304702_61922a296b.jpg](/proxy/?url=https://content.instructables.com/FB4/TOAD/HD8TWXKM/FB4TOADHD8TWXKM.jpg&filename=8493304702_61922a296b.jpg)
![8492195179_e657627a55.jpg](/proxy/?url=https://content.instructables.com/FRW/USVA/HD8TWXKL/FRWUSVAHD8TWXKL.jpg&filename=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
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
Materials and Tools
![8492197093_3414541078.jpg](/proxy/?url=https://content.instructables.com/FM3/DZ2W/HD8TWXKV/FM3DZ2WHD8TWXKV.jpg&filename=8492197093_3414541078.jpg)
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
- 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
Cut Circuit Board to Shape
![8493258212_c53d7a0725.jpg](/proxy/?url=https://content.instructables.com/FYX/E6R5/HD8TWXKH/FYXE6R5HD8TWXKH.jpg&filename=8493258212_c53d7a0725.jpg)
![8493255878_fd83cfec93.jpg](/proxy/?url=https://content.instructables.com/FW0/0Q5M/HD8TWXKE/FW00Q5MHD8TWXKE.jpg&filename=8493255878_fd83cfec93.jpg)
![8500631112_400870c271.jpg](/proxy/?url=https://content.instructables.com/FUK/16O6/HD8TWYXT/FUK16O6HD8TWYXT.jpg&filename=8500631112_400870c271.jpg)
Cut a piece of perforated circuit board to size (see illustration) and file the edges.
Solder Male Headers
![8493260622_aba5617b2a.jpg](/proxy/?url=https://content.instructables.com/FPF/QQ46/HD8TWXKG/FPFQQ46HD8TWXKG.jpg&filename=8493260622_aba5617b2a.jpg)
![8493262462_fcf0d0918c.jpg](/proxy/?url=https://content.instructables.com/FGS/NOAB/HD8TWXKI/FGSNOABHD8TWXKI.jpg&filename=8493262462_fcf0d0918c.jpg)
![8493264682_5685231a75.jpg](/proxy/?url=https://content.instructables.com/FPY/YL8X/HD8TWXKJ/FPYYL8XHD8TWXKJ.jpg&filename=8493264682_5685231a75.jpg)
![8493266670_83e3d2bf39.jpg](/proxy/?url=https://content.instructables.com/F2R/XT85/HD8TWXL0/F2RXT85HD8TWXL0.jpg&filename=8493266670_83e3d2bf39.jpg)
![8500631112_400870c271.jpg](/proxy/?url=https://content.instructables.com/FUK/16O6/HD8TWYXT/FUK16O6HD8TWYXT.jpg&filename=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.
Video: Soldering headers to perforated circuit board:
Before continuing, make sure the board with headers fit into your Arduino.
Disconnect Circuit Traces
![8492169151_e8e0462d6c.jpg](/proxy/?url=https://content.instructables.com/FE0/YZO3/HD8TWXMG/FE0YZO3HD8TWXMG.jpg&filename=8492169151_e8e0462d6c.jpg)
![8493271562_2f0ac2ec3f.jpg](/proxy/?url=https://content.instructables.com/F31/HKNC/HD8TWXMF/F31HKNCHD8TWXMF.jpg&filename=8493271562_2f0ac2ec3f.jpg)
![8492169151_e8e0462d6c.jpg](/proxy/?url=https://content.instructables.com/FBB/S2GQ/HD8TWXL6/FBBS2GQHD8TWXL6.jpg&filename=8492169151_e8e0462d6c.jpg)
![8500631112_400870c271.jpg](/proxy/?url=https://content.instructables.com/FUK/16O6/HD8TWYXT/FUK16O6HD8TWYXT.jpg&filename=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:
Video: Cutting connection on a perforated circuit board:
Solder Female Headers
![8493279038_9757593bea.jpg](/proxy/?url=https://content.instructables.com/FQW/2N7N/HD8TWXL3/FQW2N7NHD8TWXL3.jpg&filename=8493279038_9757593bea.jpg)
![8493282030_0e575dab68.jpg](/proxy/?url=https://content.instructables.com/F3W/DORU/HD8TWXKU/F3WDORUHD8TWXKU.jpg&filename=8493282030_0e575dab68.jpg)
![8493280338_b15bb16293.jpg](/proxy/?url=https://content.instructables.com/F8T/THO9/HD8TWXL5/F8TTHO9HD8TWXL5.jpg&filename=8493280338_b15bb16293.jpg)
![8492174315_60046d78bc.jpg](/proxy/?url=https://content.instructables.com/FLK/KESA/HD8TWXL1/FLKKESAHD8TWXL1.jpg&filename=8492174315_60046d78bc.jpg)
![8492176653_bc8a37ff66.jpg](/proxy/?url=https://content.instructables.com/F02/D1SO/HD8TWXKT/F02D1SOHD8TWXKT.jpg&filename=8492176653_bc8a37ff66.jpg)
![8500631112_400870c271.jpg](/proxy/?url=https://content.instructables.com/FUK/16O6/HD8TWYXT/FUK16O6HD8TWYXT.jpg&filename=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.
Solder Circuit
![8492184777_ea018f69a6.jpg](/proxy/?url=https://content.instructables.com/FB7/GRK3/HD8TWXKS/FB7GRK3HD8TWXKS.jpg&filename=8492184777_ea018f69a6.jpg)
![8492186263_459d29701b.jpg](/proxy/?url=https://content.instructables.com/FSZ/BB63/HD8TWXKQ/FSZBB63HD8TWXKQ.jpg&filename=8492186263_459d29701b.jpg)
![8492187813_d7873002c9.jpg](/proxy/?url=https://content.instructables.com/FZN/O1Q4/HD8TWXKW/FZNO1Q4HD8TWXKW.jpg&filename=8492187813_d7873002c9.jpg)
![8493290170_acff0cab12.jpg](/proxy/?url=https://content.instructables.com/FMH/LKY3/HD8TWXKX/FMHLKY3HD8TWXKX.jpg&filename=8493290170_acff0cab12.jpg)
![8493293698_aae449d7f3.jpg](/proxy/?url=https://content.instructables.com/FGL/HO9C/HD8TWXKK/FGLHO9CHD8TWXKK.jpg&filename=8493293698_aae449d7f3.jpg)
![8492191641_1c94c9f19b.jpg](/proxy/?url=https://content.instructables.com/FP5/OKD2/HD8TWXKY/FP5OKD2HD8TWXKY.jpg&filename=8492191641_1c94c9f19b.jpg)
![8200895702_eb80bd1168.jpg](/proxy/?url=https://content.instructables.com/FRG/SBQ5/HD8TWYT9/FRGSBQ5HD8TWYT9.jpg&filename=8200895702_eb80bd1168.jpg)
![8191599432_3e2508f44d.jpg](/proxy/?url=https://content.instructables.com/FYV/BX74/HD8TWYTI/FYVBX74HD8TWYTI.jpg&filename=8191599432_3e2508f44d.jpg)
![8500631112_400870c271.jpg](/proxy/?url=https://content.instructables.com/FUK/16O6/HD8TWYXT/FUK16O6HD8TWYXT.jpg&filename=8500631112_400870c271.jpg)
Use jumper wire or cut wire to length and strip either end and start to populate the circuit board with wires to make the connections between the pins of the Arduino and the pins of the ATtiny. Use illustration and the following information for reference. Bend wires on bottom side to stop them falling out before you solder them.
Wiring your ISP connection
ATtiny ----- Arduino
Pin PB2 (SCK) ----- Pin 13
Pin PB1 (MISO) ----- Pin 12
Pin PB0 (MOSI) ----- Pin 11
Pin PB5 (Reset) ----- Pin 10
Plus (VCC) ----- +5V
Minus (GND) ----- GND
10uF Capcitor:
Arduino pins: RESET ----||---- GND
<a href="http://hlt.media.mit.edu/?p=1706"><img src="http://farm9.staticflickr.com/8344/8191599432_3e2508f44d.jpg"></a>
When you've finished making all the connections illustrated in the diagram (including the capacitor) then you are DONE!
Wiring your ISP connection
ATtiny ----- Arduino
Pin PB2 (SCK) ----- Pin 13
Pin PB1 (MISO) ----- Pin 12
Pin PB0 (MOSI) ----- Pin 11
Pin PB5 (Reset) ----- Pin 10
Plus (VCC) ----- +5V
Minus (GND) ----- GND
10uF Capcitor:
Arduino pins: RESET ----||---- GND
<a href="http://hlt.media.mit.edu/?p=1706"><img src="http://farm9.staticflickr.com/8344/8191599432_3e2508f44d.jpg"></a>
When you've finished making all the connections illustrated in the diagram (including the capacitor) then you are DONE!
Upload Your Program!
![8493309278_d3162524b9.jpg](/proxy/?url=https://content.instructables.com/FD9/ZJR7/HD8TWXL2/FD9ZJR7HD8TWXL2.jpg&filename=8493309278_d3162524b9.jpg)
![8492199239_c0613c41f5.jpg](/proxy/?url=https://content.instructables.com/FI4/W6SN/HD8TWXKO/FI4W6SNHD8TWXKO.jpg&filename=8492199239_c0613c41f5.jpg)
Now plug in your Arduino and follow the instructions in the Arduino as ISP post linked to at the top of this page.
Video: Using ATtiny shield to program an ATtiny to play a song
Video: Using ATtiny shield to program an ATtiny to play a song