Skip to the content
2 layers61 × 36 mmRIO Mega-328, the printed circuit board in 3D

Simple board with esp8266 + ATMega328

Size
61 × 36 mm
Copper layers
2
Thickness
1.6 mm
Parts
33
Nets
52
Pads
174
Tracks, vias
341, 21
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
13 Feb 2022
Updated
3 Nov 2026

Overview

RIO Mega-328 is an open-source printed circuit board by zetapersei, from the zetapersei/Wifi-ATmega328 repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 61 × 36 mm with 33 parts on 52 nets, routed with 341 tracks and 21 vias.

It is built around the ATMEGA328P-PU, ESP-12F and XL1509-ADJE1, with the B5819W among its other parts. Its parts include 9 capacitors, 8 resistors, 4 connectors, 3 ICs and 3 diodes. It belongs with the ESP8266 and AVR (ATmega, ATtiny) boards of this library.

Main components

4

README

README.md

Wifi-ATmega328

A compact embedded board that combines an ESP8266 Wi-Fi module with an ATmega328P microcontroller for projects that need low-cost wireless connectivity and simple MCU control.

Overview

This project provides a custom PCB designed for applications where an ATmega328P handles the logic and an ESP8266 provides Wi-Fi communication. The design is intended for embedded systems, IoT prototypes, sensor gateways, and small control boards that need a lightweight microcontroller plus wireless connectivity.

The board includes:

  • ESP8266 Wi-Fi module
  • ATmega328P microcontroller
  • power regulation from a 12V / 5V input to the required logic voltages
  • ICSP programming interface for the ATmega328P
  • KiCad hardware design files for modification and reproduction

Hardware architecture

The board is built around two processing elements:

  • ATmega328P: used for application logic, sensor acquisition, timers, and control tasks
  • ESP8266: used for Wi-Fi communication, network connectivity, and possible ESP-Now communication

The supplied power stage converts the board supply into the voltage levels required by the modules. A dedicated ICSP connector allows the ATmega328P to be programmed directly without removing it from the board.

The hardware project is available in the hardware folder and includes the KiCad schematic and PCB files.

Software options

The ESP8266 can be used with the AT command firmware, enabling communication with the ATmega328P through serial interfaces. In this setup, the MCU can delegate Wi-Fi tasks to the ESP8266 while continuing to handle local logic.

Recommended software paths:

This makes the board suitable for both classic serial-controlled Wi-Fi use and low-latency peer-to-peer wireless communication.

Repository structure

  • hardware/ — KiCad project files and PCB design assets
  • README.md — project overview and documentation
  • LICENSE — project license information

Board views

Top view

top board

Isometric view

iso board

Typical use cases

  • wireless sensor nodes
  • smart actuator control boards
  • IoT prototypes and test platforms
  • embedded projects that need a classic AVR MCU plus Wi-Fi access

This board is especially useful when an AVR-based firmware stack is preferred while still requiring network connectivity through the ESP8266.

Parts

33
QtyValueFootprintReferences
510kResistor_SMD:R_0402_1005MetricR3, R5, R6, R7, R8
4100nFCapacitor_SMD:C_0402_1005MetricC2, C4, C7, C9
4MountingHole_PadMountingHole:MountingHole_2.5mm_Pad_ViaH1, H2, H3, H4
222pFCapacitor_SMD:C_0402_1005MetricC5, C6
11.8kResistor_SMD:R_0402_1005MetricR2
110uFCapacitor_SMD:C_0603_1608MetricC8
116MhzCrystal:Crystal_HC18-U_VerticalY1
11MResistor_SMD:R_0603_1608MetricR4
11N4148Diode_SMD:D_SOD-123FD2
11kResistor_SMD:R_0402_1005MetricR1
1330uF/35VCapacitor_THT:CP_Radial_D8.0mm_P5.00mmC3
1470uF/35VCapacitor_THT:CP_Radial_D8.0mm_P5.00mmC1
147uH/2AJLCPCB:L_6.0x6.0x4.5-SWPA-SunlordL1
1ATmega328P-PUPackage_DIP:DIP-28_W7.62mmU2
1B5819WDiode_SMD:D_SOD-123FD1
1ESP ProgConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalJ2
1ESP-12FRF_Module:ESP-12EU3
1GPIO1Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalJ3
1GPIO2Connector_PinHeader_2.54mm:PinHeader_2x06_P2.54mm_VerticalJ4
1ICSPConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ1
1M7Diode_SMD:D_SOD-128D3
1XL1509-ADJE1Package_SO:SOP-8_3.9x4.9mm_P1.27mmU1

Similar boards

  • 2 layers77 × 39 mmFeatheresc logic2, the printed circuit board in 3D

    Featheresc logic2

    goktugh/robotbits

    Some bits for robots or other control applications

    58 parts
  • 2 layers50 × 25 mmSTM32C071, the printed circuit board in 3D

    STM32C071

    cjheath/STM32C071_Basic

    A basic template for prototype boards using the STM32F071 as a USB controller

    18 parts2
  • 4 layers124.5 × 61 mmBuck test, the printed circuit board in 3D

    Buck test

    TimGoll/pcb_buck_test

    Four different buck circuits on a single PCB benchmarked

    42 parts1MIT
  • 2 layers75.4 × 31.8 mmLEC000042, the printed circuit board in 3D

    LEC000042

    LECTIX/LEC000042-Detecteur-de-presence-DCC-Analogique-1A

    Fichiers sources pour le produit LEC000042

    64 partsCERN-OHL-S-2.0
  • 2 layers60 × 45 mmTracker lite, the printed circuit board in 3D

    Tracker lite

    Sanu0910/RFMW-ANT

    109 parts
  • 2 layers73.5 × 37.5 mmSlimer, the printed circuit board in 3D

    Slimer

    n3phrite/Slimer-MK-I

    Slime VR MoCap PCB

    53 parts
  • 2 layers44 × 26 mmWiFi Addon, the printed circuit board in 3D

    WiFi Addon

    kitspace-test-repos/kicad6-file-collection

    33 partsMIT
  • 2 layers72 × 72 mmAir quality pcb v2, the printed circuit board in 3D

    Air quality pcb v2

    NilsEngelbach/air-quality-pcb

    Seventh iteration: ESP8266 → ESP32-C3 (native USB, no UART bridge), fixes from the v6 design review, right-angle switches with longer actuators, a STEMMA QT port for optional sensors, and charge-status sensing.

    51 parts

Questions

How big is the RIO Mega-328 PCB?

It measures 61 × 36 mm and has 2 copper layers, 1.6 mm thick.

What parts does the RIO Mega-328 use?

33 parts, built around the ATMEGA328P-PU, ESP-12F, XL1509-ADJE1 and B5819W. 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 RIO Mega-328 KiCad files?

From the zetapersei/Wifi-ATmega328 repository on GitHub, at the commit this page was made from: the board is hardware/RIO-Mega-328.kicad_pcb and its schematic hardware/RIO-Mega-328.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the RIO Mega-328 design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).