It seems like I can't upload any files other than pictures, so here's a link to my dropbox, original files included: http://www.dropbox.com/sh/ihua115tbmmy9h8/6tvqm0G5Ue . The non-shield driver has been made with Diptrace, the shield driver with Fritzling.
This is my very first instructable, so well commented "criticism" is welcome.
Step 1: Things You Will Need
Things you will need anyhow:
- Arduino Uno/Mega/all others with similar pin configurations
- A power supply that can deliver enough power
- Headers, a lot of them
- Screw terminals
- Normal red LED + 330 ohm resistor
- 16 pin socket (DIP)
- L293N motor driver
- Soldering iron/ solder
If you are going to etch the board (Toner Transfer Method):
- a copper board
- sodium persulfate (or anything else that is used for etching, like ferric chloride, ammonium persulfate, so on)
^- mark the bottle you are storing your etchant in, so people know NOT to drink it!
- Photo paper
- Laser printer capable of printing thick paper
- Something to heat the etch solution (I used a 4ohm resistor salvaged from a car, on a 12V battery, use a BIG resistor or it will melt)
- Very fine sanding paper
- Etch tank/something NOT make out of metal in which you can etch (I used a plastic Chinese food thing)
- A 1mm drill
If you can't/won't etch:
Step 2: (Etching) Printing on the Photo Paper
First set your printer to manually feed it the photo paper, if possible. Then push the photo paper into the manual feed opening, now go to your computer and go to the printer settings.
Set the printer to: Thicker paper, 600 DPI and leave the rest as it is, these are the settings that work best for me. Now print the file included onto the photo paper. If all goes well you should have the photo paper coming out with the toner on it.
Step 3: (Etching) Tranfering the Toner Onto the Copper Clad Board
Then lay your paper with the toner on top of the copper board. Make sure it aligns and then start pushing on it with the iron set to the hottest setting. Use the tip of the iron on the edges, other ways the toner won't transfer properly. Now put the copper clad with the paper on it into a bowl of water, just plain water. Try peeling of the paper, and after that start rubbing to remove the remaining paper.
If all goes well, all of the paper (make sure there is none left in between the black lines) will rub of the copper clad. Now your copper clad is ready for etching.
Photo description: the top one is sanded, and the bottom one is full of grease from fingers and such. Sand it well, or your toner transfer won't be successful!
Step 4: Etching the Copper Clad Board
Now get your etchant and mix it with some regular water. The ratio of the mix depends on the etchant you are using, I'm using Sodium persulfate and I mix 250 gram of etchant with 1L of water. Now pour it into the etch tank. If you are using a heater, this will be the time to turn it on. Set it to about 40/45 degrees Celsius. The hotter, the faster it will go, but above 50 degrees the etchant will degrade. I manually switched the 12 volt going to my resistor by a switch, if you do the same, you will need a temperature gauge.
When the solution of water and etchant reached their target temperature, insert the copper clad with the toner on it. Don't walk away now, you should take a look at the board every half a minute. When all of the bare copper has been etched away, etched board out of the etch solution, and place it in the bowl of water you used to remove the paper. Shake the bowl a bit, until the etchant that came out of the etch tank dissolves into the water.
For people using Sodium Persulfate, if the color is like in one of my photo's, add baking soda to neutralize the pH value. Then you have a pH-neutral solution which you can dispose of correctly
Step 5: Removing the Toner
Step 6: Soldering Everything in Place
Now get all of the components you will need, first place the 16 pin socket. Now solder that in place, then get the LED and the resistor and solder those in place. Now solder in all of the headers, make sure they have a proper connection with the board. Don't place the driver chip yet, first push the shield with the led and resistor soldered onto the Arduino you are using. If the LED goes on, when the Arduino is powered on, you placed it correctly, if it doesn't, unsolder the LED and place it the other way around.
Now remove the shield from the Arduino, and push the driver chip in, make sure you align it correctly, or you will fry it. If Fritzing is right, the notch on the driver should point away from the USB/power jack. Now you can also solder in the screw terminals.
Now push the shield back into the Arduino, and pray you did it correctly and your Arduino lives to see another clock cycle.
P.S. I normally don't use Fritzling, I use Diptrace, but Fritzling has a template for Arduino boards, so it was a lot easier.
Step 7: Test Your Awesome Homemade Driver Shield
Now write some code that makes one of the screw terminals HIGH, and the other one LOW. If you did it correctly, your LED will light up, your motor will spin, or whatever else you put in fires up. You can control the screw terminals thru pin 3, 4, 6, 8, 9, 10. Pin 8 and 2 are the enable pins, if you don't know what they do, you probably don't need them.
If you like my instructable, please consider voting for it in the Arduino contest.
I have had one report of the scaling being of, so you might want to first print it on cheap paper and stick a row of headers thru it to see if the scaling was right.