P. 1
DIY Arduino

DIY Arduino

|Views: 314|Likes:
Published by gudi_manoj

More info:

Published by: gudi_manoj on Oct 14, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





DIY Arduino


The Complete DIY Arduino
~ Corey Kingsbury - March 2011 www.coreykingsbury.com - my graphic design site www.oxzom.com - customize your own website www.fonebug.com - mobile social networking the right way! Featured on Instructables.com http://www.instructables.com/id/DIY-Arduino-or-The-DIY-Duino/
Like 23 people like this.

Page Views: 10488 Click here to E-mail Corey Kingsbury

Table of Contents
This tutorial will walk you through: • Transferring the circuit pattern • Etching the printed circuit board • Assembly of components • Some power source options • Programming the board • Resources • Visitor comments (34) The header will be info@extendedpaws.com, which is my Paypal account. It took a lot of time and energy putting this page together... If you find this tutorial helpful, please donate to further the cause!

All contents © copyright Corey Kingsbury - All rights reserved Any unauthorized reproduction of text or images without expressed written permission is strictly forbidden and may result in legal action.

To quote the Arduino website:

"Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments."
I got one a while ago and life has never been the same. Here is the official website for Arduino: http://www.arduino.cc/ There are a bunch of tutorials that show you how to build your own Arduino on a breadboard, called Hack-duinos or something similar. While these are handy, I prefer to use more solid electronic devices. So I build them with a home-made PCB and solder all the components on there myself. Some may say, "This task seems time Arduino UNO

1 of 47

08-10-2011 18:29

DIY Arduino


consuming and a tad expensive... Why not just kerplunk the 30-some-odd bucks for an REAL Arduino?" Well, some of us enjoy the craziness of making something completely from scratch -and in doing so, learning more about the device you are using. This tutorial will take you through all the steps of making your own printed circuit board(PCB), building an Arduino and loading your own programs onto the board you have built. Just as there are several ways to build your own Arduino, there are likely just as many, if not more, ways to create your own printed circuit board or PCB. This tutorial opens with an in-depth lesson on how to make your own. I've tried several methods of making PCBs, and what follows is a procedure that has worked the best for me. A little background first... People who are new to making their own PCBs often call this method "The Toner-Transfer Method". When searching for how to make your own PCBs on the Net, this is the phrase that will often come up. However, those who have been making these for a while will correctly call it the "Gootee Method" -- and the PCBs themselves are called "Gootee Boards". The reason is this -- the most in-depth documentation on how to etch your own PCB (at least that I know of) has been compiled and tested by Thomas Gootee. See his website: http://fullnet.com/~tomg /gooteepc.htm The PCB you will be making in this tutorial is founded in Gootee's teachings, with a few differences/deviations. A DIY-Duino — you will learn to make

Here is a little wheeled project that I made, using a DIY-Duino, that can be controlled with my television remote.

Transferring the Pattern
• Back to top of page

Transfer Materials

2 of 47

08-10-2011 18:29

DIY Arduino


Copper Board: 12" x 12" You can buy a smaller board, if you want. I buy the 12x12 because I use it for a lot of projects. http://www.parts-express.com /pe/showdetl.cfm?Partnumber=055-140 Photo Paper High-quality photo paper with a glossy finish is the best to use. Clothes Iron Use one you don't mind being ruined. Chances are, it will get funky. Piece of scrap cardboard This will be your makeshift ironing board. Arduino Pattern sheet Click here to download the Pattern file Or right click (Command click for Mac) and save target as. You must use this file to ensure the proper resolution and size of the image. You don't want to print and etch your board and have it be the wrong size. Paper towels To put over your board before ironing. Plastic container To bathe your board in warm water after ironing. Common, household tape For securing the pattern to the copper board Tweezers Not necessary, but can be helpful for peeling off transfer remnants. Fine grain sandpaper To rough up the board and make it able to absorb the pattern better.

12"x12" Copper Board still in the wrapping

Preparing the Copper Board

Cut out the board Protect your eyes. Use your Dremel or a hacksaw and cut out the shape for your board. Give yourself some space around the edges. I usually give myself about a 1/4 inch extra margin — mostly, because I often add in risers or spacers when I'm done at each of the corners. Spacers are good to use, because they keep your soldered bits off of the table or ground or any other surface. They protect your board from getting fried if it happens to come to rest upon a metal surface.

3 of 47

08-10-2011 18:29

DIY Arduino


Sand the board Sand the top of the copper with a fine sand paper. This gives it some more surface area for the toner to stick to. Sand the edges too, because sometimes they can be sharp, and you don't want to cut yourself. It's far easier to assemble a board when you don't have bandages on your fingers.

Preparing the Pattern

4 of 47

08-10-2011 18:29

The Transfer Procedure Transfer preparation/things to get ready. you'll let Staples or Kinkos or another copy place do that for you. you don't want anything to touch the image. put it on the hottest setting -. abrasions or anything else will hamper the transfer. fantastic. If not. abrasions or anything else will hamper the transfer. Fire up your clothes iron. Any oils. On 3 sides. set the printer to print out with the maximum quality/toner thickness available.High/Linen. With no steam. If you DO NOT HAVE access to a laser printer: Print the Pattern file.DIY Arduino http://www. no problem. Any oils. darkest quality printout possible. Try not to touch the image area or get anything else on it.com/arduino/diy/ If you have access to a laser printer or a laser copier. Be careful not to burn yourself or anything else! Make sure you turn the iron off when you're done! 5 of 47 08-10-2011 18:29 . Print the Pattern file. Here is a trimmed pattern with a little tab to hold it by. On one side. Occasionally. not trimmed yet. Explain to them what you are attempting to do with these copies. Prepare the pattern Cut one of the patterns out. We want this sucka HOT! It's good to start your iron heating up while you get the other stuff ready. Bring the printout to your local copy store and have them make laser copies of it on high-quality photo paper. there will be someone working there that knows or has heard of what you're doing. Try not to touch the image area or get anything else on it.theparsley. Here is a raw pattern. trim close along the edge of the pattern. If you HAVE access to a laser printer: Put your photo paper in the printer and be sure that the glossy side is oriented correctly. leave a little tab for you to hold on to. You need the image to be printed on the glossy side. If possible. Try to get the best. Again.

theparsley. I use a sandwich container.com/arduino/diy/ Get a plastic container. 6 of 47 08-10-2011 18:29 . Cut out a piece of scrap cardboard for your ironing board. and fill it with hot water.DIY Arduino http://www. large enough so the PCB can lay flat. I use pieces of cardboard box. usually just cutting off one of the flaps. This will bathe your PCB after your transfer the pattern.

Take a couple pieces of tape and secure the pattern to the copper board. This should protect your iron from the gunk that is created when you heat up the paper -but I'm not making any promises.theparsley. You can usually get one cheap at a yard sale or a new one for less than $25. Place a paper towel over the top of the copper board. If you don't want to ruin your iron.DIY Arduino http://www. don't use a good one. Lay your pattern face down on the copper board. 7 of 47 08-10-2011 18:29 .com/arduino/diy/ Place your cut and sanded piece of copper board in the middle of the cardboard with the copper side facing up.

press down FIRMLY on the top of the papertowel.. pattern and copper board. the edges are where the board/image gets the least amount of heat. Go up and down. remove the iron. Pay special attention to the edges. Hold it in place for one minute. it's ok. In my experience. the board will be very hot! Peel the paper towel off of the top. Use the tip of the iron to go over the board bit-by-bit. If some paper towel sticks to the top. After a minute. hold the iron on the board again to finish up. You should be able to make out the edges of the board through the paper towel. Caution.DIY Arduino http://www. 8 of 47 08-10-2011 18:29 . Finally. Take another minute to be sure you apply heat to each part of the board. This will loosen and be easy to remove in the water bath.com/arduino/diy/ Transferring the Image When the iron is heated up. side to side and left to right..theparsley. for one more minute.

2.theparsley. leaving behind some paper and a thin plastic. You peel the paper back and only some of it comes off.. see below on how this works. peel the pattern paper off. But you can see where the toner didn't completely transfer over to the board. this will not likely happen. Now. On the left corner...com/arduino/diy/ Time for a bath Place the board. It's one of the first boards I ever tried to make. the entire paper will peel off and you will be looking at a shiny copper board with the black laser toner transferred onto it.. In case 1: You haven't completely ironed the toner and it hasn't transferred to the board. the ironing the trickiest part of the entire procedure. However.DIY Arduino http://www. Hey. The board on the left isn't totally messed up. but the pattern was not totally transferred either.. In fact. I'm not sure why I still have it. After 10 minutes. In my opinion. 9 of 47 08-10-2011 18:29 .. You will need to start again. at least you have the copper cut out. You peel the paper back and some or all of the paper comes off. I fixed it with a Sharpie. face up in the plastic container of warm water and let it bathe for 10 minutes. the toner is faded — that's because it's still stuck to the paper. the board below that one is a total mess. the best way to be an expert at something is to be a complete failure at it first. right? And practice makes perfect. You are sadly out of luck — only for the moment though. If you've done a good job at ironing. Do not be discouraged! What will likely happen is one of two things: 1.

take some lacquer remover. Again. because it IS possible to chip the pattern with them. You can use your fingernails to peel off the plastic. you'll get it. but use them carefully. You can see that it's kind of corroded from sitting around. Take your thumbs and rub off what you can of the "plain" paper. Also.DIY Arduino http://www. I also find that using some tweezers to peel off the thin plastic works too. If this happens to your board. Re-sand the coppe rboard. After all the paper is removed. Soak the board in the warm water bath for another couple minutes. dampen a paper towel with it. You'll easily be able to peel everything off in the morning.theparsley. Return and try to rub off more of the "plain" paper. The main thing to look at is that the toner didn't transfer too well. When you return. You may also notice that there is some "plain" paper that comes off easily.com/arduino/diy/ maybe just to show in this tutorial. you can use tweezers. I just remove what I can of the "plain" paper and then set the board in the bath for a couple hours. so that it looks clean and new and start again. Eventually you'll be able to get everything off. you need to get ALL OF THE PAPER AND PLASTIC off of the board for the etching to work thoroughly. Don't sweat it. 10 of 47 08-10-2011 18:29 . put it back into the water and let it soak overnight. You may notice that there is a thin plastic layer that is sticking to the copper. The photo on the left has only a little of the plastic stuck to it. trust me! In case 2: You're left with some paper still stuck to the board. you'll find that the plastic does not stick so much to the board and you can peel it off easily. BE CAREFULL though with the tweezers. This is what the pattern image was originally transferred on to. Often. and wipe away all the toner. because the transferred toner resists being chipped by your nails fairly well.

so you got all of the paper and plastic removed.com/arduino/diy/ OK. If everything looks good. Sharpie ink resists the acid.theparsley. Etching the Board • Back to top of page 11 of 47 08-10-2011 18:29 . Double check your board. you are now ready to etch your board. Make sure all lines connect properly.DIY Arduino http://www. I have one of the thin-line Sharpies for fixing these little nicks. Go over any nicks with a Sharpie permanent marker.

Put on your eye protection. protect your skin and eyes. It bubbles. It is best to do the etching outside. metal.right near the muriatic acid oddly enough. some precautions Muriatic Acid is very dangerous. Put on your protective gloves. You can get this at the hardware store Container of Hydrogen Peroxide Any Grocery Store (3) Standard kitchen paper towels Use for the ironing. and removing the toner with the lacquer remover (2) Plastic containers (1 for the acid mixture. Container of Laquer Remover This will remove the pattern when you are done etching the board. Hydrogen Peroxide Plastic Protective Gloves 1/4 cup Measuring Cup Etching Procedure First. Muriatic Acid. one to rinse. It will also destroy most of what it comes into contact with. I ALWAYS wear goggles and it's not even an option to not use plastic gloves. Put on your breathing protection. Make sure you are not wearing clothes that you want to keep clean. one to bathe the PCB in hot water) Acid disposal container Size this. breathing and eye protection.theparsley. (1) 1/4 Cup Measuring Cup Use one that you don't mind being destroyed. and be sure to protect Be careful not to get the muriatic acid on anything. It should only be used for this purpose. depending on how much you're using. clothing. more durable pair of gloves at the hardware store -. You can remove the toner and try again. Pair of plastic dishwashing gloves You can often find a better. See below on disposal. Chances are they will be ruined. It is also useful if you make mistakes on transferring your pattern. burns and 12 of 47 08-10-2011 18:29 . Most important. From Left: Lacquer Remover. agitating the acid solution.DIY Arduino http://www. NEVER use it to measure food again.com/arduino/diy/ Etching Materials Jug of Muriatic Acid You can get this at the hardware store. or in a bathroom. This photo shows what happens when it gets spilled on concrete. in a garage or basement. Protection Plastic gloves. it won't hurt anything. both to breathe. Once you use this to measure out the Muriatic Acid. If you can't do your etching outside. and to get on any part of your body. Somewhere where if you spill a little acid. do it in a well-ventilated room.

the second will hold hydrogen peroxide only. 13 of 47 08-10-2011 18:29 . Now.DIY Arduino http://www. smells pretty nasty -. and there are no chips that would make an incomplete circuit. One container will hold your etching solution. and the third will be used to discard your solutions in a safe and proper manner.com/arduino/diy/ anything you don't want completely ruined from the acid. prepare your etching solution The mixture is 1 part Muriatic Acid to 2 parts Hydrogen Peroxide. This is the copper board after you have removed all traces of the photo paper. Use the 1/4 cup measuring cup to portion out one 1/4 cup full of Muriatic Acid and two 1/4 cups full of hydrogen peroxide into one of your plastic containers. If there are any chips or scratches. The containers You will be using 3 containers. Gently place the board into the etching solution. fix them with a Sharpie as described above. The hydrogen peroxide container will be used to rinse off your board after it is finished etching.not to mention looks pretty gross too.theparsley. You should have checked it over and made sure that all of the traces are completed. Basically the only thing that won't be ruined by the acid is plastic.

so that the etching solution mixes over the submerged board.DIY Arduino http://www. This is the acid reacting to the copper and starting to dissolve it.com/arduino/diy/ You will notice that the etching solution begins to change color.theparsley. 14 of 47 08-10-2011 18:29 . Agitate the container gently.

This helps along the etching process.com/arduino/diy/ Use a paper towel to wipe the board while it's submerged. you will notice that the copper will begin to dissolve.DIY Arduino http://www. After about 4 minutes. 15 of 47 08-10-2011 18:29 .theparsley.

The etching solution will have changed to a green color after reacting with the copper. After about 5 minutes.DIY Arduino http://www.theparsley. 16 of 47 08-10-2011 18:29 . your board should be completely etched.com/arduino/diy/ Continue to wipe areas where there is still copper.

Here is what you should have.. You will notice in this photo that there is still some copper in the top right corner. But if this happens on your board and you want to remove it. take your board and rinse it under some water. This should be ok. This will dilute the remaining acid. the one that has just hydrogen peroxide. Now. So. Be careful not to sand off anything you don't want to! 17 of 47 08-10-2011 18:29 .DIY Arduino http://www.theparsley. just gently sand it off.. it's not the best thing in the world to do. but we've diluted any solution still clinging to our board and most of the copper that has dissolved into the solution is diluted as well.com/arduino/diy/ Remove the board and rinse it in the second container.

Put some lacquer remover on a paper towel and wipe off the toner. A Note on the Disposal of Chemicals 18 of 47 08-10-2011 18:29 .com/arduino/diy/ The final step is to use lacquer remover to get the toner off.DIY Arduino http://www. Do your best to get all of the toner off.theparsley. Rinse this puppy off once more and get ready to drill the holes for the components. Your board should look like the one below.

and Dremel. DO NOT POUR YOUR LEFTOVER SOLUTION DOWN ANY DRAIN OR ON THE GROUND OUTSIDE! Drilling the Holes There is not much to explain here. but do-able. you can bring it to your local fire station.theparsley.DIY Arduino http://www. you could get by without a Dremel or other rotary tool. To dispose of this tub. as they are equipped to dispose of dangerous chemicals. 19 of 47 08-10-2011 18:29 . Second normal drills are just too cumbersome to do this delicate work. toss the paper towels in there as well and seal it up. 1/32" drill bit. The acid will react slightly to the clay remnants in the tub. However. If you have cats too and decide to do this. chuck. rinse out the tub. It is good to use a larger container to discard these materials. I have cats so I use the plastic tub that their litter comes in. I must say. First. One slip and you've ruined your precious PCB. Or you can find out when your garbage company picks up hazardous waste and have them remove it.com/arduino/diy/ When you are done etching and rinsing. It may have been trickier. I don't think they even sell 1/32" drill bits for normal drills. I can't imagine getting past this part with a normal drill. pour both the etching solution and the hydrogen peroxide into your disposal container. Only this: Up until now. do yourself a favor and score a Dremel or rotary tool. They are useful for many more things than just making PCBs! From left: Your PCB. the smallest drill adapter for Dremel. So.

Then turn the PCB over to the plastic side and drill through the holes you've made -. so your board isn't sitting on the table and resting on its solder point Pat yourself on your back.theparsley. Anyhow. A 1/32" bit is really not much larger than a sewing needle and easy to break. or order one online. It's a good idea to have these. Putting it All Together • Back to top of page Components & Tools 20 of 47 08-10-2011 18:29 .com/arduino/diy/ Put on your eye protection and carefully drill your holes. Be careful with both the PCB and the drill bit itself. you're now ready to assemble the components. The hardware store near me doesn't even sell individual bits. eventually you will break one. they're in a package of different sizes. On this board.just to be sure you have it going through clean. Then you either have to go to the hardware store and get another. Hold your PCB up to the light and check that you've drilled everything. I think I paid $5 for one canister. If you order them online. It's good to have extras. It's a pain to get half way through drilling and snap a bit. you can buy them in a small canister of 4.DIY Arduino http://www. So it's $10 for one bit and five that I already have like three sets of. carefully drill out the holes for your components. I've drilled places to add risers in the corners. Start by drilling through the copper side.

10K Ohm Resistor.com/products/8377 $0.25 Mini Push Button Switch http://www.sparkfun.sparkfun.35 Resistor 330 Ohm 1/6th Watt PTH -. DIP Socket.sparkfun.Green http://www.35 Green LED. 220 Ohm Resistor.50 3 Little Wires.25 Resistor 10k Ohm 1/6th Watt PTH http://www.com/products/7942 $1. Mini PushButton 21 of 47 08-10-2011 18:29 .220 Ohm will work fine too if you have one http://www.com/products/9650 $0.sparkfun.sparkfun.DIY Arduino http://www.com/products/97 $0. ATmega 328 Basic LED .theparsley.50 ATmega328 with Arduino Bootloader http://www.28-Pin 0.com/arduino/diy/ (3) Little bits of wire DIP Sockets Solder Tail .com/products/8374 $0.sparkfun.3" http://www.com/products/9217 $5.

1uF 22 of 47 08-10-2011 18:29 .25 (2) Electrolytic Decoupling Capacitors .25x2=$0.com/products/523 $0.sparkfun.5V http://www.95 (2) Capacitor Ceramic 0.com/products/536 $0.1uF http://www.com/arduino/diy/ (2) Electrolytic Decoupling Capacitors 10uF/25V http://www.sparkfun.com/products/8375 $0.theparsley.10uF/25V.com/products/107 $1.sparkfun. Voltage Regulator 5V Crystal 16MHz http://www.sparkfun.90 Voltage Regulator .DIY Arduino http://www.50 Crystal 16MHz. (2) Capacitor Ceramic 0.45x2=$0.

sparkfun. http://www.com/arduino/diy/ (3) Break Away Female Headers These are not really break away.DIY Arduino http://www. Bottom row has been cut (4) Standoffs I got these at Radio Shack Here's a link for some from Sparkfun (4) Standoffs 23 of 47 08-10-2011 18:29 .com/products/115 Break Away Female Headers. You'll need to cut them.theparsley.

com/arduino/diy/ Solder (left) Flux (center) De-soldering braid (right)-.theparsley.for errors! Soldering Iron and a second set of hands helps out in a major way! Assembly Procedure 24 of 47 08-10-2011 18:29 .DIY Arduino http://www.

At the left is a simple diagram of the finished setup.pdf 25 of 47 08-10-2011 18:29 .ladyada. I will hope that you are decent at soldering.theparsley.DIY Arduino http://www. There are a bunch of tutorials an pointers out there on how to solder properly. complete with the pin locations.com/arduino/diy/ I have drawn up a little diagram of where everything is supposed to go.net/media/common/soldering. It is not my goal here to teach you how to solder. Here is one of my favorite pages: http://www. In this tutorial. Follow the pictures below to put the board together correctly.

NOT the side with the copper.theparsley. 26 of 47 08-10-2011 18:29 . It should be oriented with the copper facing away. The places where there are squares should be where the ground/negative lead of the component are soldered.DIY Arduino http://www. Put the leads of the components through the board and solder them to the copper. You will be soldering the components on the plastic side only.com/arduino/diy/ Here is the naked board.

The top left of the chip is the reset.com/arduino/diy/ Start by soldering the DIP Socket for the ATmega328.DIY Arduino http://www. This is to let you know how the chip should be oriented. And de-soldering them is a royal pain. 27 of 47 08-10-2011 18:29 . you want to place it with the oval facing up. DO NOT solder in the actual chip. because you can remove your chip if you want to use it in another board or project or whatever.theparsley. nothing will work. Note the area where there is a little oval cut out. When you finally put your ATmega chip into the socket. It is always a good idea to use these Sockets. If you don't put the chip in right.

You may need to file a little of the legs off of the voltage regulator. Important: The capacitors have a little white bar on one side.com/arduino/diy/ Add the capacitors and the voltage regulator. 28 of 47 08-10-2011 18:29 .theparsley. Attach the side with the white bar to where the square pad (ground) is and the other to the power. as the leads are often squarish and flat. The voltage regulator needs to be soldered with the back of the "chair"/ the tall metal part facing out. Do this for both of the capacitors. This is to let you know where to attach it to the ground.DIY Arduino http://www.

com/arduino/diy/ Add the little wires. You have three wires.DIY Arduino http://www. as I'm sure you know.theparsley. you'll solder wires to span and attach to two grounds and one voltage. Just as long as you know where they are supposed to go. For this circuit. It doesn't really matter what color they are. 29 of 47 08-10-2011 18:29 .

DIY Arduino http://www. 30 of 47 08-10-2011 18:29 . You don't want any components dangling.1uf ceramic capacitors (2 of them) and the 16nHz crystal.theparsley.com/arduino/diy/ Add the . The crystal is a little wider than we need for this board. so you should bend the leads so that it will fit in snugly at the bottom. It does not matter how the ceramic capacitors or the crystal are oriented.

brown and gold and will provide resistance to the LED.com/arduino/diy/ Add the resistors. 31 of 47 08-10-2011 18:29 .theparsley. The 10K Ohm resistor is banded brown. orange and gold and will provide resistance to the button. The resistors are 10K Ohm and 220 Ohm. red. The 220 Ohm resistor is banded red.DIY Arduino http://www. black.

Some buttons have 4 leads.theparsley. Be sure to insert the long leg of the LED into the power. 32 of 47 08-10-2011 18:29 . and the short leg into the ground (the square pad). The button will allow us to reset the board. we only need two of them. The LED will light up and tell us that the board is getting power.DIY Arduino http://www. so you can snip the extras off if you have four.com/arduino/diy/ Add the LED and button.

33 of 47 08-10-2011 18:29 . Personally. But. you are good. It's not really necessary to have all these headers. I suppose as long as you have one extra voltage and one extra ground out.DIY Arduino http://www.especially next to the analog pins.theparsley. I like to have a voltage and a ground for every usable pin on the chip -.com/arduino/diy/ Add the female headers.

Some Ways to Get Power • Back to top of page Creating a Power Supply 34 of 47 08-10-2011 18:29 .com/arduino/diy/ Add the power supply. And you're done.theparsley. I'll write a little about that below. There are a couple different ways to connect to a power supply.DIY Arduino http://www.

This is a different version of a DC plug.theparsley. This allows you to plug and unplug your power supply. this might be a good route for you to take. There are a bunch of wall plugs you can buy. Depending on what you're using your board for. you can solder the red line right into the pad for power and the black to the square pad for ground.com/arduino/diy/ Depending on your preference. Click here for more on wall plugs With this fella. because you risk toasting your board. you can create a bunch of different power supplies for your board. You want a 9V DC 100-500mA power adapter.DIY Arduino http://www. I don't have one. Then plug in a 9volt battery and you're good to go. 35 of 47 08-10-2011 18:29 . one with a 2.1mm barrel plug and positive tip. but be careful of its output. This is a DC plug that you can solder to your board as well. because I use mostly rechargeable 9volt and AAA batteries.

DIY Arduino http://www. This is a AAA battery box.theparsley. because they plug in easy to the DC line in above. There are many tutorials on how to wire a DC power jack. if you don't know how to do it. Make it Work • Back to top of page Programming With FT232RL 36 of 47 08-10-2011 18:29 .com/arduino/diy/ I like to use these. that will plug into the power jack.

you will need to modify your board to be able to accept a line from the Arduino's Reset to your boards Reset. FT232RL USB to Serial http://www.sparkfun. You will need to solder male headers to the board.DIY Arduino http://www. I think it's easier and it's just become habit for me. Personally. so you might want to get some of those too.com/products/718 $14.to test if your upload was a success The far left photo is a picture of the top of the FT232 and directly left is the bottom. I like to use the FT232RL USB to Serial. Be sure to remove any battery or power source from your board before you connect the FT232. 37 of 47 08-10-2011 18:29 .com/arduino/diy/ If you already have an Arduino.cc/en/Tutorial/ArduinoISP However.95 I can't remember if mine came with the male headers. you can follow the details on how to use it as an In-System Programmer (ISP) here: http://arduino.theparsley. You will need: The board you created above Breakout Board for FT232RL USB to Serial A breadboard 4 short wires 4 longer wires An LED-.

The wire on the top left is TXD and will go to pin 0 (RX) on your board. The wire on the top right is ground and will be attached to a ground line on your board.DIY Arduino http://www. 38 of 47 08-10-2011 18:29 .theparsley. The wire on the bottom left is RXD and will go to 1 (TX) on your board.com/arduino/diy/ Set up your FT232 on a breadboard like this. Here is basically how the connection looks. The wire on the bottom right is VCC and will be attached to a power line on your board.

39 of 47 08-10-2011 18:29 . The red wire is VCC -.power. download it here http://arduino. Or any other sketch of yours.cc/en/Main /Software and follow the instructions for setup. Open the Arduino Software. The long leg goes to pin13 and the short one goes to ground..com/arduino/diy/ Here is a close up of how the wires are plugged into your board.theparsley. The Black wire is ground. plug a LED into pin 13 on your board. If you do not have the Arduino software.DIY Arduino http://www. If you are going to use the Blink Example. The orange wire is RXD and is connected to pin 1 on your board. The yellow wire is TXD and is connected to pin 0 on your board.. Go to File >> Examples >> Basics >> and open the Blink sketch.

Otherwise you will get an error when trying to upload your sketch. Wait for it to say: "Binary sketch size: 1018 bytes (of a 30720 byte maximum)" 40 of 47 08-10-2011 18:29 . In this case. The program will tell you that its Uploading to I/) Board. Go to Tools >> Board >> and click on the chip you have in your board. we have the ATmega328. Click the upload button (in yellow in the photo).DIY Arduino http://www.com/arduino/diy/ You need to be sure you are set to the right chip.theparsley.

Success! You have successfully created your own PCB.instructables. Awesome! Some Good Resources: The Official Arduino Page http://www. You only have a couple seconds to do this. and programmed the board.arduino. the RX and TX lights on the FT232 will go all blinkey for a couple seconds. you will get a "Done Uploading" message and the LED will begin flashing. When they stop blinking. otherwise your upload will fail and you will get an error. http://www.theparsley.sparkfun. assembled your own DIY-Duino.DIY Arduino http://www.cc/ Sparkfun Good place to get supplies and learn http://www.com/arduino/diy/ When the software says "Binary sketch size: 1018 bytes (of a 30720 byte maximum)"press the reset button on your board.com/ Ladyada Another great site with a wealth of information and products 41 of 47 08-10-2011 18:29 .com/ Instructables A great website to learn and share your ideas and inventions. When the program is sending the sketch over.

My response to Eric Matthews is right asbove his post. Not sure why its not working for you. August 12. 2011 @Eddie . 2011 without response. it should work.com/pcb-resources/downloads/ThankYou. If you just click the link and open it in your browser. August 12. 42 of 47 08-10-2011 18:29 ..kwartzlab.net/ PCB-123 A good program to design patterns for your own boards. If you just click the link and open it in your browser. it will not prink correctly.ladyada.sunstone. it will not prink correctly.com/arduino/diy/ http://www. and I'll try as best I can to help you if you have any issues. If you right click and select \"Save Target as\".Thanks for pointing that out! Yeah. 2011 foooooooooooo CoreyK Friday. fooooo Friday..ca/2010/04/reverse-engineering-cheap-ardu/ Visitor's Comments & Questions • Back to top of page Add Comments & Ask Questions Leave me a comment or a question. it should work. Eddie Wednesday.My response to Eric Matthews is right asbove his post.theparsley. Download the FREE program below: http://www. 2011 @Eddie . I print this pattern file after downloading and it doesn't fit page. Hope this helps. Hope this helps. What size should the final printout be? Eric Matthews asked same thing Monday.aspx?ID=14 Reverse Engineering a Cheap Arduino Programming Cable http://www. You have to make sure you save the file. May 25. 2011 @MoB . You have to make sure you save the file. Not sure why its not working for you.DIY Arduino http://www. Name Email Your email will NOT be displayed Comment/Question CoreyK Friday. May 16. August 10. August 12. Glad you got one put together and assembled and its working. If you right click and select "Save Target as". Thanks Eddie CoreyK Wednesday.. 2011 Please answer the question about printout size.. I mirrored my first one as well.

but noting happend :-( I have checked connection but no shortens and the pinheader are connected in a right way to the corresponding C pin. but i can get it to work . Also.works perfect on Arduino board.DIY Arduino http://www. but because I was so excited I didnt recognize this point. the Voltage Regulator works perfekt 5. just to find out that all connections are wrong (fliped). You have to actually download the file and print it. its just great! It all works really well and I was able to make a neat PCB (besides the problems discribed above :)) in my first attempt.com/arduino/diy/ MoB Wednesday. May 10.. 2011 Corey. Otherwise the type will be ok but the Atmega wont fit! I really like your design Jens. though I know its not a good idea. and the short leg shoud go to the top row. 2011 Amazing! I'm going to follow this tutorial step-by-step and build my own Arduino. May 12. Let me know. It took me a bunch of attempts before I got my first board to work. Right click and select "save target as" Hope this helps. you will end up with a wrong curcuit! Think of it like you are looking from the top (where the electronics are) through the board. it won't come out right. May 16. so it was my fault :) I am now considering to bend the legs of my Atmega to make it fit. I did it. 2011 For everyone who wants to use the layout of Jens Beck. but I'm just approximating. it won't work. Based on how the resistor looks. But anyhow. it will not work. CoreyK Tuesday. Thanks for sharing with the community! CoreyK Tuesday. I am having trouble printing the pattern to size. However. It comes out the wrong size on my HP laserjet 1012. May 10. etched the board and assambled it. Again. I gave a aduino bootloader with my programmer on my Arduiono board (2009) and programmed the blink program . In your picture.. May 25. Please tell me there's a better way to print this. Eric Matthews Sergio Montini Thursday. but thats all you'll get. Don't get discouraged! Its awesome when it works! Mike Herbst Tuesday. But if the actual pins cross anything. though the text isnt! This means that if you mirror it again for printout. @Corey: Thank you very much for this tutorial. thanks for teh tutorial.i have no idea why it does not work. I think your curcuit should work properly. I have been able to approximate the size by choosing landscape mode and then telling the printer driver to pring at 128%. Pretty silly not to think about it before I started making it. Is there a way to ensure the correct size? I'm printing from IE8. Thanks for a wonderful and inspiring tutorial. 2011 Hi. Then i put the Atmel to the DIYdurino board . the top row is (-) the middle is (+) and the bottom one connects to the chip. May 17.Check the LED. ~ Corey Eric Matthews Monday. BE CAREFUL: The layout itself is already mirrored. Hope this helps. I mirrored the file.02V i have no clue whar should i check 43 of 47 08-10-2011 18:29 . The long leg (with resistor) should go into the bottom row. When you directly print the layout it will work but the type will be mirrored. as in your pic. it's of course ok for (-) to touch (-) and (+) to touch (+). if ANY of the solder from the atmega chip's pins touch. The power light will come on. you might have it set up wrong. 2011 @Mike Herbst . You've done a beautiful job on this. when you print it the right way. 2011 @Eric Matthews: Did you save the file and then print it? If you just print from the web browser.theparsley.

DIY Arduino http://www.jpg http://jbek. I'll have to give it a try and see how it works. was the jumperwires on the PCB. Also the issue brougth up by Tiago about conecting the CA-42 cable. was on my mind. I also created one without the wires. 2011 A very very usefull tutorial. Working on making a RBB board too. March 27.. 2011 I can see that the system cuts out html-code. It looks like the component placement should be easy to figure out.thank You!! The only tiny litle thing I disliked. March 27. but here they are: http://jbek.dk/atmega328/singleprint. My blog: le credit ou Rachat de Credit sygma CoreyK Monday. 2011 @Jens Bek: Thanks for the pattern.printout. Acording to the site mentioned. 2011 totally agree with you. so the links to the dosn't exist.com/arduino/diy/ thanks for your help Cory Monday.theparsley. So I desighted to tuch up the layout a bit. Though maybe you could post another photo for others and show how you'd set it up. the conection should go like this: Gnd N/C Vcc TX RX RST I ended up with this design: 44 of 47 08-10-2011 18:29 . Glad you liked the tutorial! ~ Corey Kingsbury Jens Bek Sunday.jpg Jens Bek Sunday.rev. May 2.dk/atmega328 /pattern. March 28.

because the ceramic caps are inside. Do me a favor though. CoreyK Tuesday. March 14. along with it's resistor. Thank you very much for putting the time into showing how to do this. I would like to change the layout of your board. if you try it out. Just a thought. It costed me a sixpack of beer to figure this redesign out.sunstone.123". 2011 @Tiago -.So.DIY Arduino http://www.com/arduino/diy/ On the componentside. CoreyK Monday. Thank you and sorry for the inconvenience.aspx?ID=14If you do a search for the program "PCB123" you'll find it. The Reset-button are moved to the edge and it's resitor located just North of the 328's cassing. but overall this is an EXTREMELY useful tutorial. 45 of 47 08-10-2011 18:29 . 2011 I'll email it to you. and send me the changes you make. Especially if you add a motor driver! Tiago Mitsuo Monday. March 15. not the program. I'd like to get the source file. 2011 @CoreyK -.com/pcb-resources/downloads/ThankYou. Could you make a board that uses a 16mHz crystal resonator? I think it's better. ie "file. so please get back to me. I don't have the ability to try out the design at the moment. the Power-On LED are moved to the SW-corner. March 17. March 14. The two copperlanes on W-side has changced polarity. 2011 This is awesome. I'd like to see what you do. The board keeps the same messures. and now I will go nurse my hangovers! :-) Related files: Single board printout Full side printout I realy hope you can use the design Best reguards Jensi theDane Thursday.theparsley.here is the link: http://www.

I am looking into Arduino as part of my hexacopter project and your tutorial made me realize what can be done using prototyping. CoreyK Monday. I thought about it for using in mini sumo robot.kwartzlab. awesome! 46 of 47 08-10-2011 18:29 . You may be able to drill through to the reset pin.ca /2010/04/reverse-engineering-cheap-ardu/ What program you designed the PCB? Could you send me the source file? I would include a L293D in your PCB. March 12. March 13. March 11. March 8. 2011 @CoreyK -. can I connect the serial cable (RS232) directly on this board? For example. Tiago Mitsuo Sunday. but I would redesign the board to fit it better. March 14. 2011 @Bruce Allen -. Bruce Allen Friday. Had you seen this? http://www. 2011 @CoreyK. It seems the regular/thicker Sharpies are better for direct etching. and the smaller Sharpies are good for just touching up the toner. Though I have had some get disolved when I mixed the acid too strong.I'm not sure if you can connect that. March 14. March 11. Thank you! CoreyK Saturday. 2011 @Tiago -. I would make the project cheaper.cause it isnt needed by the FT232. 2011 @Tiago -. 2011 yes. there is a link to it in the Resources part of the page. Hmmmm L293? A motor driver? Interesting. At ebay. 2011 I love what you have put together. I think that a motor drive would be very practice.pretty much. March 11.theparsley. It could be done. which isn't accessible on my design -. 2011 Excellent work! I have a question. I've only used the FT232 as shown in the tutorial. March 10. and I want to try to build one. 2011 So. I haven't found the PCB source file.DIY Arduino http://www. (top left) and drill it before the path to the button. IuriiO Thursday. I hope this helps you! Tiago Mitsuo Friday. so I asked the serial connection. The program I used to design the PCB is called PCB123. yeah.com/arduino/diy/ Tiago Mitsuo Monday. could I soldering a DB9 female connector in this board? Thank you very much! CoreyK Friday. 2011 Amazing! Thanks for this.I have seen that. I've been looking for it for a long time :) FrankRizzo Tuesday.Your board is very good and cheap. March 11. the cable is very cheap. But I'm not sure. I've never done this. does this mean a Sharpie can be used directly for a "resist" pen? So I can just draw some quickey PCB artwork if I don't mind how primitive it will look? Leif Nygaard Eilertsen Friday. Many of the other cables require you to use the reset pin.

47 of 47 08-10-2011 18:29 .Bootloader I usually just buy them with the bootloader on it.here is how to burn the bootloader: http://arduino. ZikZak Monday.com/arduino/diy/ Bean_or_beaR Tuesday. March 2. thank you thank you! CoreyK Tuesday.DIY Arduino http://www. March 8. I've been looking for a place that had all of this on one page. March 7. March 8.All rights reserved Any unauthorized reproduction of text or images without expressed written permission is strictly forbidden and may result in legal action. 2011 cool! All contents © copyright Corey Kingsbury . 2011 GREAT ! Could you write a How-To about a DIY to install the bootloader on an empty atmega ? Paul Wednesday.theparsley.cc/en/Hacking/Bootloader?from=Main. March 2. hope this helps.. 2011 @ZikZak .. this is totally awesome. 2011 Dude. I'm soooooo making one of these. so I've never tried it. 2011 Thanks! Jojo Wednesday.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->