Instructables

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 !!!!!
 
Remove these adsRemove these ads by Signing Up

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
image003.jpg
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
image006.jpg
arduino shield final version.jpg
arduino shield pcb_pcb.png
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
DSC_0024.jpg
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
Fanima Dekoi2 months ago

Thank You! I use this a LOT.

programmer.jpg
Pranavthegreat (author)  Fanima Dekoi21 days ago

your board looks better

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

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

Pranavthegreat (author)  Sauspin11 months ago
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
rbhavanirao4 months ago
Can i reprogram attiny 85
Pranavthegreat (author)  rbhavanirao3 months ago
yes you can program attiny 85 and also 44 and 84
diy_bloke7 months ago
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_bloke6 months ago
Thanks for telling I would add these things in my schedule
electro189 months ago
Hey which board did you use from the board list?
Pranavthegreat (author)  electro189 months ago
Which are you talking about
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)  electro189 months ago
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 .
Kay got it !
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!