18 open source boards using the ATmega328P-M

Real designs built with the ATmega328P-M, from public GitHub projects: a quick way to see how others power, decouple and connect it. Each board comes with its KiCad files, full parts list and a render — and you can simulate its firmware on HardLabs.

18 boardsClear filters|Most starred

How designs wire the ATmega328P-M

Read from the KiCad layouts of 14 open source designs, one per repository: what each pin of the ATmega328P-M connects to, and the resistors, capacitors and other passives placed on it.

  • The XTAL1/PB6 pin has a crystal on 12 of 14 designs, most often 16 MHz (then 8 MHz).
  • The XTAL2/PB7 pin has a crystal on 12 of 14 designs, most often 16 MHz (then 8 MHz).
  • The VCC pins have a decoupling capacitor on 10 of 14 designs, most often 100 nF (then 1 µF).
  • The AREF pin has a capacitor to GND on 10 of 14 designs, most often 100 nF (then 100 µF).
GNDpin 3, 5, 21, 33Connected to: GND 100%
VCCpin 4, 6Connected to: 5V 100%
  • Decoupling capacitor on 71% · 100 nF (12), 1 µF (8), 10 µF (4)
XTAL1/PB6pin 7Connected to: Signal 93%
  • Crystal on 86% · 16 MHz (5), 8 MHz (1)
  • Capacitor to GND on 64% · 22 pF (6), 100 nF (1), 12 pF (1)
XTAL2/PB7pin 8Connected to: Signal 93%
  • Crystal on 86% · 16 MHz (5), 8 MHz (1)
  • Capacitor to GND on 64% · 22 pF (6), 100 nF (1), 12 pF (1)
PB5pin 17Connected to: A connector 64%
  • Series resistor on 43% · 1 kΩ (2), 220 Ω (1), 22 Ω (1)
AVCCpin 18Connected to: 5V 93%
  • Decoupling capacitor on 57% · 100 nF (6), 1 µF (1), 4.7 µF (1)
AREFpin 20Connected to: A connector 21% · not connected 21%
  • Capacitor to GND on 71% · 100 nF (9), 100 µF (1)
ADC7pin 22Connected to: Not connected 64% · a signal 36%
PC4pin 27Connected to: A connector 43% · not connected 21%
  • Pull-up to 3.3V on 43% · 4.7 kΩ (4), 10 kΩ (2)
PC5pin 28Connected to: A connector 43% · not connected 29%
  • Pull-up to 3.3V on 43% · 4.7 kΩ (4), 10 kΩ (2)
RESET/PC6pin 29Connected to: A connector 64%
  • Pull-up to 5V on 71% · 10 kΩ (7), 1 kΩ (2)
  • Series capacitor on 43% · 100 nF (5), 10 µF (1)
PD0pin 30Connected to: A connector 57%
  • Series resistor on 36% · 1 kΩ (4)
PD1pin 31Connected to: A connector 57%
  • Series resistor on 36% · 1 kΩ (4)

16 more pins vary from design to design. Connections count pins, parts count designs; values in brackets are how many parts had that value. Designs read include Ma panelized by T3nk4I, Nixie clock by njeff, Mes main board by jmh8231-Dev and Chaos papagali by Pakequis.

The ATmega328P-M in open source designs

The gallery holds 18 open source boards using the ATmega328P-M from 15 GitHub repositories; a typical one measures about 49.7 × 42 mm and carries around 39 components.

53% are two-layer designs, the rest use four layers or more, and 56% carry an open source license.

The most starred is Ma by T3nk4I.

Parts used alongside the ATmega328P-M

Microcontrollers on boards using the ATmega328P-M

ATmega328P-M: common questions

Where can I find a ATmega328P-M reference design?

Each of the 18 boards on this page is a real design using the ATmega328P-M. Open one to see how it is wired up, with the full BOM, a render of the layout and links to its KiCad files.

How is the ATmega328P-M XTAL1/PB6 pin connected?

The XTAL1/PB6 pin has a crystal on 12 of 14 designs, most often 16 MHz (then 8 MHz). Counted from the KiCad layouts of 14 open source designs using the ATmega328P-M.

How is the ATmega328P-M XTAL2/PB7 pin connected?

The XTAL2/PB7 pin has a crystal on 12 of 14 designs, most often 16 MHz (then 8 MHz). Counted from the KiCad layouts of 14 open source designs using the ATmega328P-M.

What decoupling capacitors do designs use on the ATmega328P-M VCC pin?

The VCC pins have a decoupling capacitor on 10 of 14 designs, most often 100 nF (then 1 µF). Counted from the KiCad layouts of 14 open source designs using the ATmega328P-M.

What parts are used alongside the ATmega328P-M?

The AMS1117-3.3, FT232RL and LM1117MP-5.0 appear in the most repositories here.

Which microcontrollers do boards using the ATmega328P-M use?

Most are built on AVR/Arduino (17) and STM32 (1).

How big is a typical board using the ATmega328P-M?

The median is 49.7 × 42 mm, and 53% are two-layer designs.

What is the most popular open source board using the ATmega328P-M?

By GitHub stars, Ma by T3nk4I, with 27 stars.

Can I simulate one of these boards using the ATmega328P-M before building it?

Yes. HardLabs turns a board's netlist and BOM into a working simulation, so you can boot and test firmware against it with no hardware on your desk.

Browse boards by part