Introduction: Arduino Attiny Programming Shield

Picture of Arduino Attiny Programming Shield

An Attiny is a great alternative to the atmega328, it is for those projects that need few GPIO pins and need to be portable. But unlike the atmgea328 the attiny cannot plug into an Arduino board and be programmed. Another way would be to use a breadboard and an Arduino uno as ISP, but it would be really messy and it would be hard to program it this way multiple times.

A better way would be to program it on a shield and in today's instructable I'm going to show you how to build an attiny programming shield. The shield is easy to build and plugs on to an Arduino to program. So all you have to is plug the attiny on the IC Holder and you can program it.

You can also check out the video tutorial on how to build this below.


Step 1: Tools and Components

Picture of Tools and Components

Here is a list of the components and tools required, the list is simple and all you need is

  • Arduino Uno
  • Attiny 85
  • PCB
  • 10uF Capacitor
  • Header Pins
  • Wires
  • Soldering Iron
  • Soldering wire

Step 2: Measuring

Picture of Measuring

For this project we will be using the digital pins 10, 11, 12, 13 and the +5v, Ground and Reset pins of the arduino uno. So lets start with cutting out the header pins to the required amount. Then plug the headers into the PCB and mark the layout of the shield. Solder the header pins on to the Arduino, to solder the pins move the black connectors up a little bit and then solder it.

After soldering place the PCB on the Arduino to see if everything fits fine.

Step 3: Cutting

Picture of Cutting

After soldering the headers lets cut the excess PCB out, to do this I used a rotary tool, you can also use a PCB cutter. Make sure you leave enough space for the attiny IC and a few connecting wires. After cutting the PCB you should have a shield, like the one in the picture.

Plug the board on the Arduino to make sure it fits right.

Step 4: Circuit

Picture of Circuit

Now it is time to solder the rest of the components, the circuit is fairly simple and the connections goes as follows

  • Attiny pin 1 to arduino digital pin 10
  • Attiny pin 4 to arduino Gnd
  • Attiny pin 5 to arduino digital pin 11
  • Attiny pin 6 to arduino digital pin 12
  • Attiny pin 7 to arduino digital pin 13
  • Attiny pin 8 to arduino +5V

You also need to add an Capacitor across the the reset pin and the Gnd pin of the Arduino.

Step 5: Arduino IDE

Picture of Arduino IDE

Now that the circuit part is done, the attiny is ready to be programmed, for this you need to install a plugin to the standard Arduino IDE. In the arduino IDE, navigate to File=> Preferences now add the url in the column.

https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json

Next, navigate to the boards manager and install the attiny package. Now you should see the attiny tiny board in the list of boards. Now you can program the attiny by selecting the right port.

Comments

Dan909 (author)2017-10-17

going to build it soon, just got the different Ic sockets i need.

Sucheth17 made it! (author)2017-04-04

Thanks for the instuctable. It works like a dream.

Eric Brouwer made it! (author)2017-03-07

Thanks for sharing. I made it.

AlfonsoC made it! (author)2016-10-14

I added a LED to IO 4 with a 1k resistor and it works perfectly! Here are a couple of pics.

alexandera51 made it! (author)2016-07-18

i did it with your tutorial and another instructables Tito I made mine and it works so great, I'm so happy I can make a lot of little projects that I have in mind a long time ago, I was using the nano but with the at tiny its better, just need a Tutorial about using the attiny328 like the 84 here's a pic of my shield.

MohanR3 (author)2016-07-15

Just plug and program attiny IC's https://www.htlinux.com/product/attiny-isp-shield/

cfeitz made it! (author)2016-06-24

Thanks! - this worked a treat for me, and now I can start projects based on the ATTiny85

CJLaSart (author)2016-06-23

Could you give me, or point me in the direction of an example of the use of a programmed chip, and how it's set up. As I am rather new to this.

Thanks

diy_bloke (author)2016-06-23

Great. definitely a programmer in its simplest form.
Still room enough to add the heartbeat, programming and Error LED though :-)

JaredE made it! (author)2016-06-21

Thanks! This worked like a charm!!!

StevenV24 (author)2016-06-21

Oh boy, oh boy. The last point in the URL is wrong. With this point it won't work.

The URL - quotation is not a sentence that must end with a point!

PhilS43 (author)StevenV242016-06-21

Could you elaborate on what is exactly wrong with the URL? What do mean by point? - for us Limey's

The Arduino IDE>file>preferences>unofficial support takes you to, amongst others

https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json

which seems to work OK?

JanT14 (author)2016-06-21

maybe it would be wise to use eg 470 ohm resistors between the Arduino pins 10...13 and the Attiny, just to prevent conflicts with used pins in case the Attiny was already programmed before? Anyway, a favorite instructable to me, nice job! I'll try to get my hands on a couple of those nice tiny chips and give this a try!

rpotts2 (author)2016-06-20

I've seen a few of these tutorials and yours seems the most straight forward and easiest to understand. Nice job!

About This Instructable

11,757views

287favorites

License:

More by webgeeks:Chocolate Cookies Dessert Kheer -  an Indian Dessert  Indian Style Chicken Curry
Add instructable to: