Introduction: Prototyping Shield for Arduino Mega

This is a down and dirty prototyping shield that will work for Arduino Mega's and there pin compatible clones. This is the first time i have made this board, but i have other projects i think this would be handy for.

Materials used:
Protostack Style 1 Half size (full size would also work)
        I keep a few of these boards around. They make much more robust prototypes than bread boards do.
Arduino Stack-able headers SparkFunUltiMachine
Straight Breakaway headers
Long Breakaway headers
Really long breakaway headers.  (i have some of these, but i cant remember where i bought them.

Limitations:
I tend to build projects for megs that require multiple serial ports and do not use all of the IO pins.
Also all Arduino's have an "error" that goes back to there creation. Pins 8 to AREF are not on  the same .1" spacing as the rest.
The bottom line is that Pins: 8-13 , 22-53 and AREF are not broken out on this completed shield.

Alternatives:
*SparkFun has a.MegaShield Kit for Arduino . This board is "ok" but it does not break any of the pins out to the solider area except 5V and GND. This makes useing as a pass through board harder. (the easiest way to use the board is to plug wire into the top of the headers. I glued a small bread board onto mine and use it for less robust prototypes.

*Arduino has a Shield - MEGA Proto KIT Sold in the US at UltiMachine. This board does break out all of the mega pins to the solder area and allow for pass thorgh to other shilds.This is the board i use when i need all the IO pins.

ProtoStack board:
I use Protostack board because of there ease of use. The work alot like a bread board, but with everything soldered in they are more robust. The Protostack boards have 5 pin groups like a bread board. They also have common positive and negative rails.

Step 1: Layout

I wanted to capture all of the communication pins. Mostly for my current project i need all the serial ports.

I put some sections of breakaway headers into the pin ranges i wanted. I then moved the ProtoStack board around until it fit nicely. The best combination i found aligned:
The ground pins next to pins 52-53 with the negative rail
ONLY ONE of the Positive pins next to pin 22 to align with the positive rail
The analog pins are at one end of the 5 pin strip
The digital and serial pins are in the middle of the 5 pin strip


Step 2: Power Pins

I am using pins for  the power and headers for the rest.

The stackable headers are taller than standard breakaway headers. I used longer headers and slid the spacers where i needed them.

Step 3: Layout 2

I started dry fitting headers and pins.

The stackable headers do force you to raise the board away from the Arduino.

This is a short description, but i spent a lot of time here making sure i had everything where i wanted it before soldiering things in place.

Step 4: Start Soldering - Stackable Headers

Getting everything to line up correctly is tricky. heads tend to fall over and get misaligned during soldering.

With the stackable headers properly inserted through the board into the Arduino,I put some spare break away headers into the to stackable headers. This keeps the stackable headers in one straight line, but will not prevent that line from falling over.

I then stacked a second board on top of that assembly. This will better maintain the alignment without the Mega in place. I flipped the assembly up-side-down and removed the Mega.

To check alignment, i look down the length of the pins.

Solder one pin from each stackable header and re check alignment by looking and by setting the mega onto the stack again. I recommend doing a second pin on each section then checking again. One pin is easy to re-melt and re-align. Two is much much harder. Any more pins than that and you will be in a "bend to fit" situation.

Step 5: Solder - 5 Power Pins

With the stackable headers installed, i inserted the extra long breakaway header for the power pins. They required a little adjustment with the spacer to fit as far down as possible. I don't think i go it as "right" as i wanted because the length of each pin was a bit different.

I used a old piece of perforated board to hold these pin in place for soldering. There are also some hidden pieces of short headers that help keep the pref board in alignment.

I flipped the assembly, held the perf board in place and detached the Mega. I did the same solder and check procedure as before.

Step 6: Solder the Pins for the Powe Bus

Solder the pins for the power bus. Because they are near the edge of the board, i did not want to make them extra long pins and leave them bare (like i did for the other 5 power pins in the middle of the board. so i went with long (not extra long) pins.

Because they barely make it thought the board and into the sockets, there is no easy way to solder them. But because they are close to the edge, they can be soldered while installed in the mega.


VERY IMPORTANT
The pins are soldered in as sets for simplicity. One pin needs to be cut off after soldering. The 5V pin next to pin 23 needs to be cut. This pin would short 5V to GND. (from experience: with no other circuits installed it only shut down the mega, but this was luck on my part that it did no damage.)

A jumper can then be installed from the 5V rail to 5V pin

Step 7: Finished

Now you are ready to make your project.

Here is what I did with mine.
header for a 4x20 LCD
GP, OBD ii,  and serial to text logger on the three serial ports
Lots of room for buttons lights etc...

Comments

author
amandaghassaei (author)2012-10-12

if you use perfboard that does not have conductive strips running across it, would you be able to connect to the double row of digital pins on the mega?

author
AptPupil (author)amandaghassaei2012-10-21

Hi Amanda, yes, the pins line up with the holes, if that's what you're asking. I just checked,as I was wondering the same.
Sorry for the poor pic, but I placed male headers , double-row & single-row, and they did line up.

AptPupil

Pin Locate.jpg
author
AptPupil (author)AptPupil2012-10-21

At least on the Analog side. I have my GLCD hooked up and didn't want to undo it all to check. I'm thinking about making a shield for it, hence the reason for wondering the same.
BTW, mlr266, thanks for the Instructable! :)