Bootloading an Arduino with a ZIF socket allows you to easily program a lot of chips at once without worrying about mangling the pins. The reason for this is that ZIF stands for "zero insertion force," and as the name implies, ZIF sockets don't require any force to take the chip in or out. This means that you do not have to worry about any of the pins bending when you take the chip in and out of the socket. This is particularly useful if you need to bootload a lot of Arduino chips at once for inclusion in an electronics kit or if you need to repeatedly program a chip and transfer it back and forth between a separate circuit board.

Step 1: Go Get Stuff

You will need:

- ATMEGA328 (as many as you want to program)
- USBtinyISP
- An Arduino board
- A ZIF socket
- A breadboard
- 10K resistor
- (x2) 22pF capacitor
- 16mhz crystal
- Solid core wire
Hi! I have a question : i If i buy this : http://www.dipmicro.com/store/DE3904 <br>would i be able to program this chip written with arduino code : : http://www.abra-electronics.com/products/KIT%252d10870-BigTime-Watch-Kit.html ? <br> <br>at the end of the page, it is mention : Did we mention that the watch kit is super hackable? An FTDI header is broken out to the side of the board and the watch-firmware is running on top of a bootloader! This means that all you need to do to add your own code is to open up Arduino or Wiring and select &quot;Arduino Pro or Pro Mini 3.3V/8MHz w/ ATmega328&quot; as your board. <br> <br>thank you! <br>i really need to program it <br>thanks!
So, basically you are using the arduino board for nothing?
Seems so indeed. If you have the USBtinyISP (a programmer) that can program chips directly
Exactly. A simple schematic (instead of endless photos of placing this-wire-in-that-hole) would have revealed that the six wires from the programmer are directly connected to the ZIF programming socket. They merely pass thru the Arduino Uno board; it's not used for anything. Why not just put a six-pin header directly on the protoboard with the ZIF socket? Neater and cleaner. <br> <br>Also with instructions like Step 5, which state: <br>pin 11 to pin 17 <br>pin 12 to pin 18 <br>pin 13 to pin 19... <br> <br>...is pretty sloppy. pin 11 of what and pin 17 to what? <br> <br>Schematic please!
hey could ya send me one of those atmega328 please!!!
It's already in the mail...
I am 14 and saw a Binary clock and i wanted to make it bur it requires one of these and i just cant go and get them what would you reccomend? and if you have any extras i would be so gratefull!
@Jwilliams- I am in HS too and its hard to get parts sometimes ;) I use <a href="http://taydaelectronics.com">Tayda Electronics</a> for parts (not atmegas), mainly because they are dirt cheap and I dont have a job yet... I have also used <a href="http://digikey.com">digikey</a> for parts- they are a bit difficult to navigate though (but have the fastest shipping ever :P ). A lot of people use <a href="http://mouser.com">mouser</a>. Some use <a href="http://jameco.com">Jameco</a>. I have had success with <a href="http://sparkfun.com">sparkfun</a>. I recommend sparkfun as you can get the chips pre bootloaded or not, actually many of these sites have many different versions of the chip you need. You can skip getting a programmer for the chips and buying an <a href="http://arduino.cc">arduino board</a>, then programming it from there (best bet). Or you can get the chips themselves and then a programmer for them.<br> <br> Its really hard for the beginner, starting with microcontrollers, but Its totally worth the initial shock.. I'm still experiencing the shock a bit myself. But for your clock they used an Arduino chip. I recommend you read some articles about arduinos and programming. Probably most of that is available at arduino.cc<br>
Ok Thanks a lot for the help and i found a KIT BASE WORKSHOP W/ARDUINO BD at http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&amp;name=1050-1004-ND<br>and was wondering if it was a good deal.............i see all kinds of cool arduino stuff on here and thats why i would like one<br>And i am willing to learn all i can about it
http://www.sparkfun.com/products/10173<br>http://www.sparkfun.com/products/9950<br>http://www.sparkfun.com/products/10174<br>are all some pretty good kits- one of them is just the board itself. makershed.com has some good kits too (I got started with the arduino starter pack from makershed)<br>It all depends on what you want to do or how much you want to spend ;)<br>The board itself costs only around $30 and then you can just buy parts for whatever project you need :)
ok and thanks for all the help and im srry if im bieng a nusence ;)
The shop at evilmadscience.com has a load of this type of thing at pretty low cost. I think you can get a working arduino chip and board for about $13 wth the bootloader pre-installed but you'll need a USB to serial cable to talk to it.
Great tutorial so far. I think you're missing a pin 20 wire to the power rail in the last picture.
<br>What's the minimum number of components if you wanted to sole-purpose an arduino programmed chip? I've used parallax processors, and the price is great. Especially if 4Mhz is sufficient. I haven't looked into the arduino things too much because I didn't want to put a $30 board into something. If I understand this, you could just put the atmega chip in a circuit after it's programmed, right?<br><br>Thanks.<br>
What you see on the breadboard here is the absolute bare bones minimum to keep the chip running. A decent minimal circuit has about 10 parts (give or take).<br /> <br /> See here:<br /> <a href="https://www.instructables.com/id/Arduino-Project-Board/">https://www.instructables.com/id/Arduino-Project-Board/</a>
I got <a href="http://www.google.com/search?q=arduino+nightingale&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a">this</a> running (without the special programming), with just a cap and the crystal, and a 5v supply. I was surprised! it took almost no circuitry. And it worked without tying the AREF and VCC pins to 5v. So all of 32 solder points and I have a microcontroller on a perfboard<br>
awesome tutorial
It's allowed to cut the legs of the components slightly. ;-)
As previously linked to I refer to the ladyada article.<a href="http://www.ladyada.net/library/arduino/arduinoisp.html">http://www.ladyada.net/library/arduino/arduinoisp.html</a><br> This is similar to the way I have always done bootloader burning. You run a small sketch on the arduino allowing you to use it as a programmer without the need for an external programmer. Much more convenient :)
I found this to be less reliable. It kept sporadically giving me errors.
I had the same problem - then I found some help.<br>The reset pin resistor needs to be pretty much exactly 110 ohms - at least, between 110 and 124. You also may have to tweak some files to make it play nice.<br>http://laclefyoshi.blogspot.com/2011/01/note-of-caution-for-arduino-isp.html
I agree with the first comment. All you are really using the arduino for is for the ICSP programming header. You could stick one of those on the breadboard as well. One note: If you are not bringing power over from the arduino (or even if you are) and not plugged in to usb, make sure the power jumper on the usb-tiny is set to supply power.
you could eliminate the need for an arduino by simply sticking the wires directly into the programmer's cable<br>just need to check it a bit more, to make sure you dont make any mistakes :P
Yes. I just figure it would be less confusing for people this way.
also true<br>but i was just saying you dont need to buy an arduino for this to work :P
Great Instructable! For people who'd like another resource (basically saying the same thing, but showing you how to make a ZIF programmer shield for the Arduino), check out Lady Ada's bootloader project here: http://www.ladyada.net/library/arduino/arduinoisp.html<br><br>I was really impressed with the quality of the photos, they make the whole article really pop. I imagine you used one of those photographer's light boxes, right? Did you make it yourself?
I don't use anything too fancy. Basically, this is my setup:<br />https://www.instructables.com/id/DIY-Photography-Backdrop/<br /><br />
what exactly does it mean to bootload the IC?
It's to write onto the chip something like an "Arduino operating system" that you can use to write Arduino programs onto it.

About This Instructable




Bio: My name is Randy and I founded the Instructables Design Studio. I'm also the author of the books 'Simple Bots,' and '62 Projects to ... More »
More by randofo:Spooky Whispering Prank Custom Print Kimono Mad Scientist Extension Cord 
Add instructable to: