Today, I made a small 3x3x3 LED cube with an ATtiny2313 that I had from about 2 weeks ago. Whenever I had to reprogram the LED cube when I thought of more awesome patterns, I had to get out my breadboard and then wire up everything again referring to pin-outs of ATtiny2313 and make sure everything is connected right and then finally upload the new code.

So I went on to eBay and amazon searching for something to program these chips as I was planning on using these chips a lot in the future. After spending about an hour I just realized I was wasting my time as there was no way I was going to spend about 20-30 dollars on a simple shield.

After thinking for a bit, I decided to make a simple and easy to make, ATtiny2313 programming shield, after I made it, all I needed to do to recode any of my attinys' is to just put it in the programming shield and just in a few clicks you have your code uploaded! No need to worry if everything is wired right and make sure there are no short circuits or anything that can short out the chip and fry it or anything else of that sort.

So now in this instructable I will show you how to build one of these shields for yourself!
It costs almost nothing and takes only about 30mins or so to make it.

So lets get started!

Step 1: Materials

Materials required for this project;
  1. Protoboard
  2. 10 Micro Farad Capacitor (or similar value)
  3. 2 LED's
  4. A couple of wires
  5. A single row pin header strip
  6. A single row female pin header strip
Tools required for this project;
  1. Soldering Iron
  2. Solder
  3. Glue Gun (Or just good glue)

<p>Hi, your tutorial is great. Just one thing which has me stumped. When writing code for the 2313, does one have to change the pin definitions to match those of those of the mpu? I have written progs and uploaded them to the attiny85 and always worked. I am 67 years old and have taken up the Arduino as a hobby, but my knowledge is VERY limited. Maybe you could help me out a bit. Or one of the other people commenting on this.</p><p>Thanks.</p>
Replace the led with RGB...
<p>I made this and followed your instructions. It works great, well done and helpful instructable. I use it to create simple RGB faders when and arduino would be overkill...</p><p>Carry on the great work.</p>
<p>This is a great post, thanks for this. I made it !! , didnt put the LEDs though yet.</p>
<p>I made one out of a prototyping PCB, and today I designed and ordered PCBs with all the programming LEDs and headers to test the program on the chip.</p>
<p>I made a quick crude implementtation but it works!</p>
<p>Hi! Do you have the setup for an external clock to put it into the Arduino HW and Board configuration? Would be grat for the 2313 an 4313</p>
<p>I've made mine with a leftover ZIF socket. It can program the 8-pin Attiny25/45/85 as well (jumper in the lower left). The jumper in the top left is for enabling/disabling the 10 mu capacitor. This type of print has pretty large holes so i could solder the headers nicely.</p><p>The images from left to right: component layout; fitted for tiny 25/45/85; fitted for tiny 2313/4313; photo; copper side of the print.</p>
<p>Why never a schematic diagram is given? This is a nice programmer, but first i have to puzzle and draw a schematic diagram before i can build the programmer. Ik see this problem in a lot of Arduino designs. </p>
<p>Since this small thing is just the same thing as this instructable is about, i did not feel the need to draw a schematic as well.</p><p> Furthermore Arduino is about hacking and sharing. I just shared here my version of this design.</p><p>I've another question for you: Since you seem to have drawn your own schematic of this version, why not share it with this community.</p>
I've done my shield, so there's a photo. :)
<p>Nice, can you upload the PCB design for all?</p>
<p>Here it is: <a href="http://upload.fatalwir.cz/files/2313shield.pcb" rel="nofollow"> http://upload.fatalwir.cz/files/2313shield.pcb</a></p><p>I've made it in <strong>DesignSpark PCB</strong>.</p>
<p>thank you</p>
Wow :D this looks amazing, a whole lot neater and more marketable, Great job.
can u say that wat files i have to be download and how to instal for showing that boards in tools menu
You can download the files here: <br>http://code.google.com/p/arduino-tiny/ <br> <br>This is what the instructions in the read me say: <br> <br>Ensure the Arduino IDE is NOT running. <br> <br>* Download the Arduino-Tiny archive (ZIP-file). <br> <br>* Locate the Arduino Sketch folder. This is the folder where the Arduino IDE <br> stores Sketches. <br> <br>* Ensure the &quot;hardware&quot; folder exists under the Arduino Sketch folder. For <br> example, if the Arduino Sketch folder is... <br> <br> C:\Projects\Arduino\ <br> <br> Ensure this folder exists... <br> <br> C:\Projects\Arduino\hardware\ <br> <br>* Extract the contents of the archive into the &quot;hardware&quot; folder. For example, <br> if the Arduino Sketch folder is... <br> <br> C:\Projects\Arduino <br> <br> After extracting, the following files should exist... <br> <br> C:\Projects\Arduino\hardware\tiny\boards.txt <br> C:\Projects\Arduino\hardware\tiny\programmers.txt <br> <br> C:\Projects\Arduino\hardware\tiny\bootloaders\empty\empty2313at1.hex <br> C:\Projects\Arduino\hardware\tiny\bootloaders\empty\empty2313at8.hex <br> C:\Projects\Arduino\hardware\tiny\bootloaders\empty\empty25at1.hex <br> C:\Projects\Arduino\hardware\tiny\bootloaders\empty\empty25at8.hex <br> C:\Projects\Arduino\hardware\tiny\bootloaders\empty\empty45at1.hex <br> C:\Projects\Arduino\hardware\tiny\bootloaders\empty\empty45at8.hex <br> C:\Projects\Arduino\hardware\tiny\bootloaders\empty\empty84at1.hex <br> C:\Projects\Arduino\hardware\tiny\bootloaders\empty\empty84at16.hex <br> C:\Projects\Arduino\hardware\tiny\bootloaders\empty\empty84at8.hex <br> C:\Projects\Arduino\hardware\tiny\bootloaders\empty\empty85at1.hex <br> C:\Projects\Arduino\hardware\tiny\bootloaders\empty\empty85at16.hex <br> C:\Projects\Arduino\hardware\tiny\bootloaders\empty\empty85at8.hex <br> <br> And the following folder should contain the Arduino-Tiny core... <br> <br> C:\Projects\Arduino\hardware\tiny\cores\tiny\ <br> <br>* Create a new file named &quot;boards.txt&quot; in the tiny directory. Following from <br> the examples above, the file would be here... <br> <br> C:\Projects\Arduino\hardware\tiny\boards.txt <br> <br>* Open the &quot;boards.txt&quot; file and the &quot;Prospective Boards.txt&quot; file using your <br> favourite text editor. <br> <br>* Copy board entries of interest from &quot;Prospective Boards.txt&quot; to &quot;boards.txt&quot; <br> (or copy the entire contents of &quot;Prospective Boards.txt&quot; to &quot;boards.txt&quot;). <br> Board entries are delineated by a long line of pound-signs. <br> <br>* In the &quot;boards.txt&quot; file, change the &quot;upload.using&quot; entries to the <br> appropriate value for your setup. <br> <br>* Save and close &quot;boards.txt&quot;. Close &quot;Prospective Boards.txt&quot;. <br> <br>* Start the Arduino IDE and ensure the new boards of interest are listed under <br> the [Tools] [Board] menu... <br> <br> &quot;ATtiny84 @ 16 MHz (external crystal; 4.3 V BOD)&quot; <br> &quot;ATtiny85 @ 8 MHz (internal oscillator; BOD disabled)&quot; <br> etcetera <br>
Thank u very very much ur reply is very useful to me
Please help anybody
Hi i have a problem here i did everything you said but im getting an error saying that arduino.h is not found and a whole lot of other errors like delay not defined etc..! <br>Im pretty sure that i did everything correctly and did not delete or change the arduino.h as it is till there..! <br>Pls help..And good to see young Indians like you doin this with arduino ( im from kerala , 15 yrs)
Can you post the entire error by either print screen or typing because I am not really sure why that is happening. For the arduino.h is not found error I got the same when I used arduino 1.0.1 use a newer or older version from the one you are using. Preferably the 1.0.4, <br>Post back if it worked
how many VOLTS capacitor are you using here???
Im not sure if capacitors are rated in volts, but I used a 10 micro farad capacitor, you can use any within 1-10 micro farad range, hope this helps.
Its okay man i did some other doodoos and the thing worked..!<br><br>Thanks anyway.!
Can you post a picture of it? <br>I would be happy to see it :D!
Of what the hardware..?oh its all messy i did it on a breadboard because im busy with a science exhibition at school..Im thinkin of making a automatic arduino GSM intruder system (AAGIS 4 short)...<br>If u insist illo send u a pic.! ;)
how many VOLTS capacitor are you using here???
Cool, thank you! keep up the good work :) when i have something ready i will post here
That would be great! <br>Thanks!
This is so useful when you need to program lots of chips either for like small businesses or just for doing it for others like friends etc, I usually program about 20-30 chips whenever I am asked to by the club members I belong to and this helps tremendously as I dont need to check for connections or anything and its just a plug and play type <br>Thanks for the great instructable!
Great to hear that the instructable helped you out, may I ask which club do you belong to? Is it something similar to the MakerShed?
You should check out <a href="http://oshpark.com/" rel="nofollow">OSHpark</a> to get a PCB made. That is where I get <a href="https://www.instructables.com/id/Chipper-Board-ATtiny-Programming-Shield/" rel="nofollow">mine</a> made and I am pretty sure they ship internationally.&nbsp;
I even know how to use Eagle so it would be pretty easy to get a PCB made but parents don't want to spend 10$ on a PCB.... :(
I remember when programming a thing like that was a pain... <br>Gone to my Blog: <br>http://faz-voce-mesmo.blogspot.pt/2013/05/mais-um-material-da-shapeways-arduino.html
Thx! I used to program these chips before but always ended up getting either the wiring or the connections were loose or some sort of problem but now its just plug and play type :) <br> <br>Thx for the post on the blog
Glad you've liked it.
i would love something similat to program 18 pin pic like de 16f628a
what pic is the 16f628a? is it an ATtiny chip or something else? I googled the part number and didnt get an answer, if I have them with me and I know how to use them then I will probably make a shield for it as well :)
<a href="http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_104003_-1" rel="nofollow">2 words: ZIF Socket<br> http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_104003_-1</a>
Yea I have seen them be used in a lot of things and I thought it was awesome but I didn't have any at the time I was making this shield so I just made it with some headers and it doesn't seem to be hard to use and does not damage the chip, It fits in easily with no force applied :)
Great Tutorial, and simple easy to make project :) <br>Thx
Glad you liked it!
That look really neat :) <br>How did you make that wiring diagram though?
Thanks! <br>The wiring diagram was made by using Fritzing <br>(Its a free program which helps you make pin-outs with ease)
Only one thing to do now, search forever to find where I put my ATtiny's I ordered ages ago. <br>Thanks for the tutorial
I ought to do the same as well lol, I remember buying some ATtiny's a while ago but don't know where they are

About This Instructable




Bio: A programming enthusiast. I tinker around with everything I see and love to game.
More by vishalapr:Diffused Glue Stick Lamp ATtiny85 POV Display Artoo [R2] (ATtiny2313 Wall Avoiding Robot) 
Add instructable to: