Skip to the content
2 layers71.7 × 50.2 mmATMega Board, the printed circuit board in 3D

A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

Size
71.7 × 50.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
28
Nets
34
Pads
123
Tracks, vias
203, 2
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
14 Jun 2026
Updated
2 Nov 2026

Overview

ATMega Board is an open-source printed circuit board by WestianPKl, from the WestianPKl/pcb-docs repository on GitHub. It is a 2-layer board of 71.7 × 50.2 mm with 28 parts on 34 nets, routed with 203 tracks and 2 vias.

It is built around the ATMEGA328P-PU and BC847. Its parts include 8 capacitors, 5 resistors, 4 connectors, 2 diodes and 1 IC. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

PCB Manager — Board Collection

A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI, or UART.

Author: Piotr Kłyś
Tool: KiCAD 8.x
Firmware: MicroPython (Pico boards), AVR-GCC (ATmega boards)


Boards Overview

BoardVersionInterfaceIC / Description
Main_Board1.0 / 1.1 / 1.2a—Raspberry Pi Pico test & integration board
CAN_Board1.0SPIMCP2515 — CAN bus controller
EEPROM_Board1.0I2CM24C32 — 32 Kbit EEPROM
GPIO_Board1.0I2CMCP23017 — 16-bit GPIO expander
INA_Board1.0I2CINA226 — voltage / current / power monitor
RTC_Board1.0I2CPCF8563T — real-time clock
Relay_Board1.0GPIO2-channel relay module
Modbus_Board1.0UARTRS-485 / Modbus RTU
Power_Board1.0—DC power supply module
MOSFET_Board1.0GPIOHigh-side / low-side MOSFET switch
Amplifier_Board—AnalogSignal amplifier
ATMega_Board1.0—ATmega (through-hole) development board
ATMegaSMD_Board1.0—ATmega (SMD) development board
Tree_Board——AVR LED Christmas tree
IoT_Logger_B_1.01.0—IoT data logger revision B
IoT_Logger_C_1.01.0—IoT data logger revision C
Pico_TH_Logger_SMD_PCF8563T_2.12.1I2CPico temp/humidity logger with RTC
Pico_TH_Logger_Relay_SMD_PCF8563T_2.12.1I2CPico temp/humidity logger with RTC + relay

Board Details

Main_Board

The central development and integration board built around the Raspberry Pi Pico. Used to test all peripheral modules in the collection.

Features:

  • RGB LED (PWM)
  • 2× status LEDs (PWM)
  • Buzzer (PWM)
  • 2× push buttons
  • ADC input with 100 kΩ / 200 kΩ voltage divider
  • Connectors for all expansion boards (I2C, SPI, CAN, EEPROM, GPIO, INA, RTC, Relay)
  • Optional multi-threaded test runner (_thread)

Firmware: Main_Board/Code/main.py


CAN_Board

CAN bus communication module using the MCP2515 controller over SPI.

Features:

  • SPI interface to Pico
  • Standard CAN 2.0 frame support
  • Loopback, sniffer, and master/slave test scripts

Firmware: CAN_Board/Code/

  • can_mcp2515.py — low-level MCP2515 driver
  • can_communication.py — higher-level protocol
  • hello.py, loopback.py, sniffer.py, can_slave.py, can_test.py — examples

EEPROM_Board

Non-volatile storage expansion using the M24C32 (32 Kbit / 4 KB) I2C EEPROM.

Firmware: EEPROM_Board/Code/eeprom_m24c32.py


GPIO_Board

16-bit I2C GPIO expander using the MCP23017, providing two 8-bit ports (Port A / Port B) with interrupt support.

Firmware: GPIO_Board/Code/expander_mpc23017.py


INA_Board

High-side power monitoring using the INA226 — measures bus voltage, shunt voltage, current, and power via I2C.

Default configuration:

  • Shunt resistor: 100 mΩ
  • Max current: 3.2 A
  • Alert pin supported

Firmware: INA_Board/Code/measurement_ina226.py


RTC_Board

Real-time clock module using the PCF8563T via I2C. Provides timekeeping, alarm, and 1 Hz clock output.

Features:

  • Date / time read and write
  • Alarm support
  • 1 Hz CLKOUT output
  • Battery backup pin

Firmware: RTC_Board/Code/rtc_pcf8563.py


Relay_Board

2-channel relay board controlled via GPIO from the Pico.


Modbus_Board

RS-485 transceiver board enabling Modbus RTU communication over UART.


Power_Board

DC power supply module — voltage regulation and distribution for the board ecosystem.


MOSFET_Board

MOSFET-based switching board for controlling higher-power loads from Pico GPIO.


Amplifier_Board

Analog signal amplifier module.


ATMega_Board

Through-hole ATmega development board — classic DIP package, ISP programming header.


ATMegaSMD_Board

SMD variant of the ATmega development board — compact form factor.


Tree_Board

AVR-based LED Christmas tree — decorative board with animated LED patterns.

Firmware: Tree_Board/TreeCode/main.c (AVR-GCC)
Gerbers / renders: Tree_Board/PROD/


IoT_Logger_B

IoT data logger — revision B.


IoT_Logger_C

IoT data logger — revision C. Improved layout over revision B.


Pico_TH_Logger_SMD_PCF8563T_2.1

Compact SMD temperature and humidity logger based on Raspberry Pi Pico with a PCF8563T RTC for timestamped logging.


Pico_TH_Logger_Relay_SMD_PCF8563T_2.1

Extended version of the TH Logger adding a relay output for threshold-based control (e.g. ventilation, heating).


Repository Structure

text
pcb-docs/
├── <BoardName>/
│   ├── <BoardName>.kicad_pro      # KiCAD project
│   ├── <BoardName>.kicad_sch      # Schematic
│   ├── <BoardName>.kicad_pcb      # PCB layout
│   ├── Code/                      # MicroPython / C firmware
│   └── PROD/                      # Gerbers, renders, BOM exports
├── Boards_BOM.ods                 # Combined Bill of Materials
└── README.md

Each board may contain multiple revision subdirectories (e.g. 1.0/, 1.1/).


Getting Started

Requirements

  • KiCAD 8.x — to open schematics and PCB layouts
  • Thonny or mpremote — to flash MicroPython firmware to Pico
  • AVR-GCC + avrdude — for Tree_Board / ATmega boards

Running firmware on Pico

  1. Flash MicroPython to your Raspberry Pi Pico.
  2. Copy the relevant driver file(s) from <BoardName>/Code/ to the Pico filesystem.
  3. Run or import the module from the REPL or main.py.
python
# Example — INA226 power monitor
from machine import I2C, Pin
from measurement_ina226 import MEASUREMENT_INA226

i2c = I2C(0, sda=Pin(4), scl=Pin(5))
ina = MEASUREMENT_INA226(i2c, r_shunt_ohm=0.1, max_current=3.2)
print(ina.read_voltage(), ina.read_current(), ina.read_power())

Bill of Materials

A combined BOM for all boards is available in Boards_BOM.ods (OpenDocument Spreadsheet).


License

This project is licensed under the CERN Open Hardware Licence v2 - Permissive (CERN-OHL-P).

You are free to use, modify, and manufacture these designs. Attribution appreciated.

Parts

28
QtyValueFootprintReferences
4100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2, C4, C7
4MountingHole_PadMountingHole:MountingHole_3.2mm_M3_DIN965_PadH1, H2, H3, H4
210kRResistor_SMD:R_0805_2012MetricR1, R3
21KResistor_SMD:R_0805_2012MetricR2, R4
21uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C5
222pFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC6, C8
2Conn_01x10_PinConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ3, J4
1100kRResistor_SMD:R_0805_2012MetricR5
116MHzCrystal:Crystal_HC49-4H_VerticalY1
1600 Ω@100 MHzInductor_SMD:L_0805_2012Metric_Pad1.05x1.20mm_HandSolderL1
1ATmega328P-PPackage_DIP:DIP-28_W7.62mmU2
1AVR-ISP-10Connector_IDC:IDC-Header_2x05_P2.54mm_VerticalJ2
1BC847Package_TO_SOT_SMD:SOT-23Q1
1Conn_02x10_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_VerticalJ1
1LED_PWRLED_SMD:LED_0805_2012MetricD3
1LED_SCKLED_SMD:LED_0805_2012MetricD1
1Tact Switch 6x6mm / 13mmButton_Switch_THT:SW_PUSH_6mmSW1

More from WestianPKl/pcb-docs

12
  • 2 layers94.7 × 71.8 mmIoT Logger B 1.0, the printed circuit board in 3D

    IoT Logger B 1.0

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    147 parts
  • 2 layers74.1 × 91.8 mmSTM Board, the printed circuit board in 3D

    STM Board

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    131 parts
  • 2 layers160 × 158 mmTree Board, the printed circuit board in 3D

    Tree Board

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    119 parts
  • 2 layers160 × 158 mmTree Board, the printed circuit board in 3D

    Tree Board

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    116 parts
  • 2 layers100 × 80 mmController board, the printed circuit board in 3D

    Controller board

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    114 parts
  • 2 layers94.7 × 71.8 mmIoT Logger C 1.0, the printed circuit board in 3D

    IoT Logger C 1.0

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    107 parts
  • 2 layers94.7 × 71.8 mmDevice Board, the printed circuit board in 3D

    Device Board

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    104 parts
  • 2 layers65.2 × 80 mmTest board, the printed circuit board in 3D

    Test board

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    96 parts
  • 2 layers100.5 × 83 mmPicoLogger, the printed circuit board in 3D

    PicoLogger

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    81 parts
  • 2 layers100 × 80 mmOutput board, the printed circuit board in 3D

    Output board

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    76 parts
  • 2 layers100 × 80 mmPower board, the printed circuit board in 3D

    Power board

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    75 parts
  • 2 layers100 × 80 mmCommunication board, the printed circuit board in 3D

    Communication board

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    68 parts

Similar boards

  • 2 layers256.5 × 172.9 mmMCB19 panel, the printed circuit board in 3D

    MCB19 panel

    ZeniteSolar/MCB19

    Modulo de carregamento das baterias auxiliares

    411 parts2GPL-3.0
  • 2 layers271.8 × 114.3 mmArdumower mega shield svn, the printed circuit board in 3D

    Ardumower mega shield svn

    Ardumower/ardumower

    Develop an open source robotic lawn mower (HW+SW reference platform)

    426 parts282
  • 2 layers130 × 80 mmSmu main 1, the printed circuit board in 3D

    Smu main 1

    jaromir-sukuba/J-SMU

    DIY source-measure unit

    210 parts244
  • 2 layers58 × 110 mmVco core, the printed circuit board in 3D

    Vco core

    shmoergh/moduleur

    Fully analog DIY-friendly modular synth

    146 parts222
  • 4 layers124.6 × 68.7 mmOssc board, the printed circuit board in 3D

    Ossc board

    marqs85/ossc_pcb

    ossc pcb design files

    265 parts163
  • 2 layers200 × 100 mmPolykit x monosynth, the printed circuit board in 3D

    Polykit x monosynth

    polykit/polykit-x-monosynth

    The Polykit X1 is a DIY semi-modular, analog, patchable synthesizer

    167 parts94
  • 2 layers156.6 × 125.2 mmAutoFeeder, the printed circuit board in 3D

    AutoFeeder

    ErichStyger/McuOpenPnP_Machine

    Repository for the McuOnEclipse OpenPnP machine

    58 parts69

Questions

How big is the ATMega Board PCB?

It measures 71.7 × 50.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ATMega Board use?

28 parts, built around the ATMEGA328P-PU and BC847. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the ATMega Board KiCad files?

From the WestianPKl/pcb-docs repository on GitHub, at the commit this page was made from: the board is ATMega_Board/1.0/ATMega_Board.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the ATMega Board design in my own project?

Its repository states no licence, so its author keeps all rights: ask WestianPKl before reusing the design.