0
\$\begingroup\$

Is there an error in the basic schematic and PCB drawing of the Arduino?

enter image description here

enter image description here

enter image description here

\$\endgroup\$
8
  • \$\begingroup\$ That crystal might be a bit too far from the IC. But at only 16 MHz it might not be that big a deal. \$\endgroup\$
    – Hearth
    Commented Apr 16, 2023 at 0:06
  • \$\begingroup\$ Yes there is. But it might not be very significant. \$\endgroup\$
    – Justme
    Commented Apr 16, 2023 at 0:14
  • \$\begingroup\$ Should the crystal be closer to the avr than the resistor (R2) and capacitors (C7, C8)? \$\endgroup\$
    – 571E
    Commented Apr 16, 2023 at 0:22
  • \$\begingroup\$ There are hidden pins on the schematic, or parts not shown. Crystal position is fine. Ground pour has almost no stitching. \$\endgroup\$ Commented Apr 16, 2023 at 0:31
  • \$\begingroup\$ I’m on mobile so maybe it’s just me, but it doesn’t look like there’s a ground/Vdd connection on the mega \$\endgroup\$
    – Bryan
    Commented Apr 16, 2023 at 0:31

2 Answers 2

0
\$\begingroup\$
  1. If you want to use the ADC, then add a little coil (10µH) from Vcc to AVcc and add bigger capacitors at every position too. I use 100nF and 4.7µF at Vcc and AVcc.

  2. You need a ISP programming port to flash the bootloader or flash the device directly with the program.

  3. There is no voltage regulator, you should add the possibility to add a 3.3V voltage regulator and use a crystal with 12MHz or lower if you want to use 3.3V sensors. The most external sensors what you can buy for arduino have voltage shift-transistors, but this is suboptimal. If you want to use a SD-card (3.3V), then it is better to connect it directly.

  4. You can add some more vias under the chip for better GND connection.

  5. You should put the capacitors as close as possible to the chip, may be under the chip (at the bottom side) so that the traces of the I/O-pins can go to the side and on a header or pad or to a sensor/actor.

\$\endgroup\$
4
  • \$\begingroup\$ 1-Is it okay to add coils even if we don't use ADC? 2-Yes I did not specify spi port or any input-output pin, because I am trying to build the basic circuit 3-It will only work with 5v 4-I will add more vias near GND 5- Ok Thanks, Thanks for your warnings. \$\endgroup\$
    – 571E
    Commented Apr 16, 2023 at 14:04
  • \$\begingroup\$ The ISP-Port (In System Programming - Port) is part of the minimal circuit. Some people remove the GND-area around the crystal so that there is no influence with the crystal. I normally let the GND-area there and sometimes connect GND with the shielding of the crystal. :-) \$\endgroup\$
    – MikroPower
    Commented Apr 16, 2023 at 18:11
  • \$\begingroup\$ Does it matter if the 4,7uF capacitor is polarized or non-polarized? \$\endgroup\$
    – 571E
    Commented Apr 17, 2023 at 10:58
  • \$\begingroup\$ @571E - For the ADC, you can use a Electrolytic one, but I use SMD ceramic capacitors. They are only for filtering noise on the power rail. This is a simple LC-filter. \$\endgroup\$
    – MikroPower
    Commented Apr 17, 2023 at 11:17
0
\$\begingroup\$

It seems you already have a power connection to C2 & C3 (via). If you moved R1 & C5 to the lower right of U1 you could connect their needed power trace on or near to C2, (instead of routing the long power trace loop along the left side). Eliminating that long trace would also eliminate the GND island connecting the grouped capacitors on the left.

On C2,C3, having a via directly connected to the SMT pads is not the best option. If the via connection is cooler it could act as a heat sink during the soldering process and possibly make a cold joint or mis-align the component. If the via is hotter is could wick solder away from the SMT pads. Having a small bit of solder mask and a short trace length between the via and the SMT pads will usually prevent soldering problems.

For better documentation take advantage of spare text attributes on components. For example you could add the physical pin connections to the text attribute on some of the bypass capacitors, (on the schematic a few have unknown positions). That will help during routing and even later on if any trouble shooting is needed.

If you are going to add multiple GND vias they may as well be placed where they are most useful. For example near component GND pins. For example the vias under U1 could be placed nearer to pins 2,5, and 21. Placing vias nearer to some of the bypass capacitors can reduce the loop length back to the GND pins, for example C1 & C3.

On the schematic C2 is shown on U1 pin 18, however the PCB has C4 is on pin 18, (same value so no operating issue, just a documentation issue).

\$\endgroup\$
1
  • \$\begingroup\$ Thanks for the warnings, I will try to re-edit it according to the information you have told. \$\endgroup\$
    – 571E
    Commented Apr 16, 2023 at 14:07

Not the answer you're looking for? Browse other questions tagged or ask your own question.