2

I'm designing a custom board with an atmega2560. It will be programmed using ArduinoISP. I want to be sure that i have made no mistakes on my schematic design before I order it. I folloud the schematic for the arduino mega 2560 from the arduino website. For the basic function of uploading a sketch is my design correct?

I can upload the full schematic on pdf if you need it but it just contains some ICs for the final board.enter image description here

This is the pcb design as asked in the comments!

asked Sep 7, 2016 at 22:00
8
  • 1
    You want us to evaluate a board you've designed but won't show us the gerbers? How are we supposed to be able to answer that? Commented Sep 7, 2016 at 22:04
  • I would be happy to show you the "gerbers" if I knew what they are! Commented Sep 7, 2016 at 22:25
  • They're what you send to the board house in order to have them actually make the board. Load them into a viewer and post the images here. Commented Sep 7, 2016 at 22:28
  • 1
    You need to read AVR042. Commented Sep 7, 2016 at 22:47
  • 1
    Atmel recommends to have one decoupling cap per VCC/GND pair, and to place it as close to the pair as possible. Commented Sep 8, 2016 at 8:58

1 Answer 1

0

for the basic function of uploading a sketch your board schematics is indeed correct and going to work. I can't say much on the PCB as what you have posted is a partial design, in particular it doesn't show the solder mask expansion and other details which might greatly influence the final result.

Please also note you don't need a reset button, a voltage regulator nor an external oscillator for the basic function of uploading a sketch, but I believe you also want to have the ability to run the sketch without the programmer being attached...

answered Sep 8, 2016 at 0:01
9
  • Thank you very much. I actually do want it to run without the programer and the PCB is indeed partial as the final design will have lots of junk stuck on it. But thanks anyway, really helpful! Commented Sep 8, 2016 at 8:06
  • You don't need the crystal on the very first upload. However, once you have programmed the fuses to have the AVR clocked off the crystal, you will need it for any subsequent upload. Commented Sep 8, 2016 at 8:35
  • @EdgarBonet you are right, but he might also decide to program the fuses so the internal 8MHz oscillator is used... It really depends on what he wants to do with it. I have my own designs running at 3.3V 8MHz internal in order to trim down costs. Commented Sep 8, 2016 at 9:38
  • See the schematic and the PCB design in the question: there is a crystal with matching caps connected to XTAL1/XTAL2. I would make little sense have that crystal and program the fuses to use the internal RC oscillator. Commented Sep 8, 2016 at 11:16
  • @EdgarBonet I am saying the crystal is not mandatory.... you say the cristal is needed with certain fuses, I say the fuses can be changed and you get back to the presence of the crystal?!? I am saying the crystal is OPTIONAL and I agreed with you it would than require a proper setting on the fuses. Going back to the schematics makes no sense whatsoever to me. Commented Sep 8, 2016 at 11:37

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.