Instructables

Arduino ATtiny85 programmer Shield on PCB [ATtinyShield]

     Arduino projects are very popular but also big and expensive. There are many times that we don’t need so many input or output pins. As a matter of fact, most projects could be accomplished with only 2 or 3 inputs and outputs. Besides the size, using one Arduino board for each small project can be costly.
     So the solution is given (again) by Atmel with the ATtiny microcontrollers. Especially the ATtiny85 chip, which has 8 Kb flash memory, 6 input/output pins, low power supply at 1.8-5.5V, small 8-pin packaging and costs only 2-3$.
     It is very easy to program the ATtiny85 using our own Arduino board based on the tutorial Arduino-based ATtiny programming published by MIT’s High-Low Tech research group.
     In this instructable I will try to guide you step by step, through the whole procedure of constructing a small board – shield for the Arduino, so that the programming can be made easily and fast. This is what I named the ATtinyShield.

For more Arduino and ATtiny85 projects, check my blog: http://attiny85.blogspot.com

If anyone needs the PCB and/or the Shield premade check here:
(WITH NEW PCB CHECK PHOTO 4 below)
http://www.ebay.com/itm/221324819158
 
Remove these adsRemove these ads by Signing Up

Step 1: What are we gonna do...

Picture of What are we gonna do...
S1-01.mit.jpg
S1-02.attiny.jpg
     Before we start, let’s overview what our objective is.
     As pointed out by the MIT’s High-Low Tech tutorial, we have to connect the ATtiny85 (pins 1, 5, 6, 7) with 4 digital outputs of our Arduino (pins 10, 11, 12, 13), give 5V and Ground to pins 8 and 4 of the microcontroller and finally place a 10uF Electrolytic Capacitor between the Reset and Ground of the Arduino.
     In my project I have added an indicator LED on pin 9 of the Arduino that shows that the programmer is running properly and a reset tact switch for the ATtiny85.
     All this can be seen on both the schematics above.
     So by creating a small shield with all these connections, it’s easy to plug it on our Arduino and worry only about the programming stuff.
Rowdyrobs made it!8 months ago

Thank you Koursaros!!!! I was able to make my own shield thanks to your steps. The only question I have is how does pin 9 connected to the LED come into play with the tiny85? I was also wondering if I am have a copy of your PDF guide booklet? Oh yea, do you like how I added a small breadboard?

photo (2).jpg
diy_bloke8 months ago
(removed by author or community request)
koursaros (author)  diy_bloke8 months ago
Yes I am aware and that why on my first comment I said the pass is : koursaros

Thanks for reminding it though.

yes already had seen that :-) tnx

diy_bloke8 months ago

great. but what is the function of the switch? id dint see it used during the programming, or did i overlook something?

koursaros (author)  diy_bloke8 months ago
The switch is for reset.
When u press it the sketch that was uploaded restarts and the sequence starts from the beginning.
It's a useful function.

ok, thanks, but not necessary for the programming itself. Clear! :-)

dekyos11 months ago
koursaros, have you considered making a Eagle .BRD file of your schematic so people can get them fabbed by someone like OSHpark?
koursaros (author)  dekyos10 months ago
hi friend

Sorry it took me so long to chack the post.
I have it on another programm because that was what i was working on then.
But there is a print out so the idea is there...
thanks
koursaros (author) 10 months ago
If you want the board:
www.ebay.com/itm/221324819158
rpotts21 year ago
I thought this used a soft reset from the uno, hence the reason for the capacitor. could you please explain? Do I still have to press the button to reset right after the upload?
koursaros (author)  rpotts21 year ago
Hi
As the http://hlt.media.mit.edu says about the capacitor:
"
The capacitor prevents the Arduino board from resetting (which starts the bootloader), thus ensuring that the Arduino IDE talks to the ArduinoISP (not the bootloader) during the upload of sketches. (The capacitor is needed if you’re using an Arduino Uno, and might also be necessary for an Arduino Duemilanove.)
"
The button on the shield resets the program thats already uploaded and starts the sketch from the top.

I hope i understood your question.

Thanks for your comment.
openroad121 year ago
would you be willing to sell one of these? maybe in the form of a kit or something?
koursaros (author)  openroad121 year ago
Hi.
I think it is very easy to make one of your own.
That's why i have all these instruction step by step.

But if you want to make one for you - with no interest to make money - contact me in kours3@gmail.com.
I could make u one and pay only the materials and shipping costs.

Thanks for your interest in my istructable :)
I got some time and went ahead and etched and assembled it myself. Thank you for this instructable! really helped me work through etching my first board
koursaros (author)  openroad121 year ago
Hey I am glad u made it by yourself.
Happy to help.
I d like to see a photo of it assempbled by u just for fun... :)

See ya.
Not the author here, but I actually make and sell a shield that can program ATtiny and ATmega microcontrollers. Just google "ArduinoISP Deluxe Shield."
koursaros (author) 1 year ago
Anyone having problem with the Rar file the pass (if needed) is:
koursaros