Minimalist 2560 pcb design

I've made some shields for the mega that worked out well and would like to put the microcontroller on-board in the next revision. This would be my first gig at removing the arduino from the equation. I've googled around for some pcb/eagle examples but havent found any. Short of reading the 2560 microcontroller data sheets, is there anyone who has done this before or could point me in the right direction? I'm looking for the bare minimum specs to support the 2560 at 5v with only programming pins exposed (usb isn't necessary.)

Ideas and pointers are most welcome.

Schematic attached. It includes pin headers, but if you don't need them, you can take them out. This only has the breakout ISCP for programming.

2560 Standalone.sch (1.06 MB)

Have you seen this: http://www.jkdevices.com/arduino-megamini
The Eagle files are on github: GitHub - jeffkarney/MegaMini: Arduino compatible Atmega2560 Development Board

codlink:
Schematic attached. It includes pin headers, but if you don't need them, you can take them out. This only has the breakout ISCP for programming.

Thanks! It will take me some time to figure out but I think this will do the trick!

Have you seen this: http://www.jkdevices.com/arduino-megamini

I almost purchased one of those for development, I got the Emartee Nano Mega 2560 instead. Thanks for the github link!

j514:
Thanks! It will take me some time to figure out but I think this will do the trick!

No problem, if you have any questions, just ask here!

I have a question but it's more related to schematic connections in eagle. I've read a bunch and watched several youtube videos but I'm still not getting it right.

I'd like to connect leads from a simple connector (PAD in the attached graphic) to the microcontroller. I'm creating a line using NET and then using LABEL to define it as part of a NET, in this case PF3 (Digital pin 5). When I define the label Net name as PF3 I receive the error "Net name 'PF3' already exists. Use the NAME command to combine nets." So then I use the NAME command and I name it PF3, it then asks me something like 'Connect N$1 and PF3?' and I say yes. Everything looks fine, but when I switch to the board view I see the PAD connector but the line from PF3 doesn't appear.

Any ideas?

1.jpg

Delete the Nets and try it again. I have had the problem where the Nets look connected on the schematic but not connected on the PCB. I have to delete the Nets and re-draw them. Somehow, they're really not connected..

Oh, and make sure that both Nets that you want connected have the same name..

Okay, I've moved the connector to find that the NET lines weren't connected to it, now they are. When I go the see the board I get a consistency error which I can see through the ERC error window "Different connections on PAD pin 1 and pad 1 (PF3 / none)"

Getting closer... any idea on this one?

Thanks again.

I just re-created the connector and Net lines and it worked properly. Odd.

There's actually lots of ways to get that error. Attach your sch and brd files and I will have a look.

Ok, cool..

Looking good, I can't believe I was stuck on that for so long.

One question: If I don't need the reset button and my circuit connects to the reset pin, can I safely delete the 100nf capacitor and 10k resistor ?

Thanks for helping me out, this is all kinds of awesome!

Sure, just make sure you have something that will reset the 2560.

You can Name a net line, but you need to use the ABC button to actually make it appear, otherwise it is hidden.
I usually go and use ABC on all the lines, so they show up with N$1, N$2, type names, and then right-click & Name them.

codlink:
Schematic attached. It includes pin headers, but if you don't need them, you can take them out. This only has the breakout ISCP for programming.

If you post an image rather than an eagle file then more people will be able to look at your schematic... I've got Eagle but an older version
so I can't see it either!

MarkT:
If you post an image rather than an eagle file then more people will be able to look at your schematic... I've got Eagle but an older version
so I can't see it either!

I don't know why you would want to see mine.. But ok.

This project is moving along nicely. A few questions:

  • I have LED's connected to the same pins used for ICSP, will they affect programming?
  • Can I program a board directly via ICSP from the arduino UI or must I copy an output file and upload with avrdude?
  • I'm planning to pick up a USB ICSP programmer, any recommendations?
  1. Depends on current draw. If really high, may impact the programmer.
  2. Program directly from ICSP. File:Upload Using Programmer (results in no bootloader).
  3. Atmel AVR ISP MKii, $36 at mouser.com. Board must be powered, MKii only monitors the power (unless you hack it to supply power from USB port - I have used just a AA battery pack).

CrossRoads:
2. Program directly from ICSP. File:Upload Using Programmer (results in no bootloader)

ah now I see, great. I'll pick up one of those programmers you recommended.

would 20ma per pin be too much?

thanks again Crossroads.

I'll be replacing the 7805 with a more efficient DC-DC boost / step-up circuit. The power will be a pair of AA or AAA batteries. I've looked at the LT1308 (7 parts + IC), as well as the MAX179X series (6 parts + IC) - any recommendations for a high-efficiency low-heat equivalent that uses a minimal amount of parts?

The boost converters need parts I generally don't have on hand.
Pololu.com has them premade, I'd use one of them.
Pololu - Step-Up Voltage Regulators

I don't know if 20mA is too much - have to try it & see.