Introduction: How to Program Attiny Using Arduino Uno

Picture of How to Program Attiny Using Arduino Uno

I just wanted to make a small arduino for my few projects because buying a arduino for every project will be too expensive for a 15 yrs  old guy !!!!!

Step 1: Things You Need

arduino IDE
attiny files on ur arduino IDE
You can download the files given below and move the files in hardware
1- arduino uno
1- attiny 45 or 85
1- breadboard
few jumper wires
1- 10 uf capacitor

Optional (if you u want it permanent )
1- perfboard
1- 1 led any colour that u like
1- 220 ohms resistor
and some pin headers

Step 2: Lets Get Starded

Picture of Lets Get Starded

Open the arduino IDE
and open the arduino isp sketch from the examples and upload it on your uno Note(don't connect anything to  arduino while uploading the isp sketch).

Step 3: Step 3:- Connecting It With Attiny

Picture of Step 3:- Connecting It With Attiny

Unplug ur uno from the computer and connect it with attiny as shown in the picture below after wiring it then connect the 10uf capacitor the + wire to the reset pin and the - wire to gnd pin after wiring it connect it with usb
Here are the pinout
attiny pin 1- arduino pin 10
attiny pin 5- arduino pin 11
attiny pin 6- arduino pin 12
attiny pin 7- arduino pin 13
attiny pin 4- gnd
attiny pin 8- 5v
TA ADA!!!!!!!! now u can program attiny

UPDATE:
Here is the schematic of the attiny programmer with the led and capacitor , there is also a pcb view of the shield

Step 4: Making the Circuit Permanent

Picture of Making the Circuit Permanent

I made the circuit because i need to program more attiny's so it would be consume time for making the circuit again and again
here are some photos of the shield I hav also added a led in the shield and also check the video

Comments

nhuber3 (author)2017-01-27

I was able to program an ATTiny 85! Thank you.

AshokB25 (author)2017-01-26

Hello. Can you please help me to program attiny102 using arduino. Thanks.

TheyforC made it! (author)2016-06-16

I programmed a ATTiny45 with this instructable. Thank you very much for the detailed explainations!

LukášM33 (author)2016-05-03

very thanks!

LukášM33 made it! (author)2016-04-30

great! but,can i use this arduino further for normal projects?

i have only one arduino and i dont want remake it permanently as programmer.

Thanks!

yes it's just a shield you can remove it and use your arduino normally .

Hungerwood made it! (author)2015-12-31

Thank you! Easy and really fun to build! :)

:) you're welcome

BlueBeast44 made it! (author)2016-01-16

Great tutorial! Thanks!

You're welcome :)

vianch_tog made it! (author)2016-02-17

Arduino shield without led

Great!

majdia1 (author)2015-12-07

Thanks for the diy. I saw some boards shield made with a reset switch button, could you tell why and for what it is used??

Pranavthegreat (author)majdia12016-02-20

To reset the code on your attiny

maunicof made it! (author)2015-12-13

Thank you. !!!

arduinomaster (author)2015-11-24

purchase a shield to save frustration for only 8 bucks

http://arduinomaster.myfreesites.net/attiny-progra...

hann7911 (author)2014-11-14

Hi, if i need two digital outputs and four analog I/Os, can ATTINY24 does the job? Do I follow the same instruction as Attiny 45?

Pranavthegreat (author)hann79112014-11-14

No you can't as the attiny has only 3 analog also u can follow the same procedure for attiny 24 and even 13

borsaci06 (author)2014-11-12

Thx for the post... I am messing around with electronics and Arduino for years but never programmed an Attiny before... I had some Attiny45 lying around and wanted to peogram it using your shield... Made the shield according to the scheme and pics... downloaded the Tiny.zip and extracted to Arduino/hardware folder... Uploaded ArduinoISP and plugged the shield while not connected to USB... Later plugged the shielded arduino to usb and opened Blink example, selected Attiny45@8Mhz from board list and tried to upload sketch with no luck... It says:

avrdude: usbdev_open(): did not find any USB device "usb"

Tried the same on my other WinXP pc with a different response something like:

avrdude: attiny45 not present

Any ideas why? double checked my connections...

Pranavthegreat (author)borsaci062014-11-13

if the arduino isp was uploaded perfectly then i suppose you should not face any problem and for the error i recommend you to search it on forums because i have never experienced this error before.

jamestav (author)2014-08-20

Nice tutorial! If you want to know how to do this with an Arduino Mega, check out my blog at: http://jamestav.blogspot.com/2014/08/programming-attiny85-microchip-using.html

Sauspin (author)2013-05-10

I think to program the sketches is necessary to burn the bootloader first.

Jamebonds1 (author)Sauspin2014-03-05

No. Don't bootload ATtiny. It will damages your mircocontroller.

BLR_RAVI (author)Jamebonds12014-07-06

first i am impressed with you because you r just a 15yr teen...i m new to micro controllers though i studied during my college time..from few days i am looking for some info on net to make a pwm for a cheap..reliable solar charger..but i was so confused with various type of mc..as they needed first bootloader and then prog..aftrr reading your inst..i feel i got my answer..buy one uno and attiny chips for making pwm.s...great..i am glsd for u

Pranavthegreat (author)Sauspin2013-05-10

actually no because the arduino doesn't have a bootload for attiny and as you are going use arduino as isp in the programmers option you don't need to bootload it

Fanima Dekoi (author)2014-01-19

Thank You! I use this a LOT.

your board looks better

rbhavanirao (author)2013-12-09

Can i reprogram attiny 85

yes you can program attiny 85 and also 44 and 84

diy_bloke (author)2013-09-19

Great. Your stripboard contains a capacitor that is not found in yr schedule. Personally I always put a capacitor of about 25-33uF between earth and reset of the UNO or Nano that I use for programming.
The LED is a nice addition, but it would be nice if you had put it in your schedule as well :-)

Pranavthegreat (author)diy_bloke2013-09-20

Thanks for telling I would add these things in my schedule

electro18 (author)2013-07-13

Hey which board did you use from the board list?

Pranavthegreat (author)electro182013-07-14

Which are you talking about

electro18 (author)Pranavthegreat2013-07-15

I'm using arduino uno r3 and in the boards list in the IDE which option did you choose?
P.S.: I'm using ATtiny85 with external 8Mhz resonator .

Pranavthegreat (author)electro182013-07-15

First of all u dont need a resonator it has an in built crystal of 8 mhz and in the software it has attiny85(8 mhz) use that one .

electro18 (author)Pranavthegreat2013-07-16

Kay got it !

About This Instructable

69,194views

150favorites

License:

Bio: I was 13 when I made this account so please don't make fun of my username
More by Pranavthegreat:How To Make A Dark SensorHow to program attiny using arduino unocontrol your servo using a 555 timer!!!!!!!!!!!!!!!!!!!!!!!!!!
Add instructable to: