Mega and standard PCB

Hello !
i wanted to use a standard PCB on top of a Mega using simple male headers, but realized that the pins 8 to 13, GND and AREF did not follow the spacing of the other headers.

any workaround to this problem ?

what i've been thinking so far :

  • unsoldering header 8 to 13 and AREF and wiring those to the PCB
  • buying another mega with loose headers ( here )
  • trying out some other mega with a different disposition of pins, PCB compatible ( here or here with this very elegant substitute to my main PCB : here )
  • adding a prototyping shield for mega ( but then i lose all interest of directly putting the mega into the main PCB ) ( here )

any other ideas ?

and also, is there any good reason to this strange spacing ?

Sylvain

The curse of the Arduino offset header! You will encounter the same thing on the boards with the Uno style form factor too (Leonardo, Due, Zero). Luckily there are some sane boards like the Nano, Pro Mini, Pro Micro, MKR boards, etc.

sylvain_van_iniitu:
any workaround to this problem ?

One possible solution is to simply not use the pins on the offset header. You have so many pins on the Mega so there's a good chance you don't need those. That's more difficult with the Uno-style boards since they have less pins.

There's some trick with bending the male header pins so that the will offset the screwyness. Someone was selling those for a while but I don't remember who it was.

sylvain_van_iniitu:

  • trying out some other mega with a different disposition of pins, PCB compatible ( here or here with this very elegant substitute to my main PCB : here )

I think that's a good solution.

sylvain_van_iniitu:
and also, is there any good reason to this strange spacing ?

Arduino made a newb screwup many years ago and instead of just eating the loss and fixing their mistake, as any responsible business would have done, they unleashed this curse on the entire world and now that idiotic offset header format has leached its way into so many products. See:
http://forum.arduino.cc/index.php?topic=22737.msg171839#msg171839

Learn to use Eagle or KiCad and design your own PCBs. The quality of board you get for $5 is incredible these days.

MorganS:
Learn to use Eagle or KiCad

thanks for the tip! might indeed be a good idea. until now i only briefly considered using the PCB proposed by Fritzing, but never did. will look what Eagle might propose

Try another form factor, like a Mega2560 "system on a chip"


Or in DIP form factor



You can get breakout prototype shields for the mega , build your circuit on one of those ?

Or ...

As suggested a board on one half of the mega , with flying leads , if needed to any pins on the other half ?