0x34: ATmega328P Pi Top Module




The Pi Top is becoming a popular platform for software development using the Raspberry Pi singleboard computer. However, interfacing hardware to the Pi Top can be challenging, since the hub does not conform with the RPi GPIO header. This module combines the computational power of the Raspberry Pi with the flexibility and easy of use of the ATmega328P MCU combining the best of two Worlds.


This design breaks out the connections of the powerful ATmega328P MCU thereby enabling development of sketches in the familiar Arduino IDE (also available for the RPi). This makes ad-hoc prototyping and programming easy. Using the full potential of the ATmega328P, one can severely free up resources on the RPi.

Flashing new firmware (.HEX files) can be done without a programmer using the RPi GPIOs directly, either SPI or UART, once you have flashed the MCU with a bootloader.

License terms
The 0x34 design is published under the Creative Commons Unported 3.0 License.  I do not profit from this design, neither should you. You are welcome to adapt, modify, and redistribute this design as long as the license terms are respected.

Physical size of PCB

84 mm (width) by 56 mm (height). Double-sided.

Rendering and photos

DipTrace 3D rendering, frontside with components


DipTrace 3D rendering, backside with components


0x34 module mounted in a Pi Top 2


Bill of materials

1 pcs. 1×3, 2.54 mm pitch male header

1 pcs. 1×6, 2.54 mm pitch male header

2 pcs. 1×8, 2.54 mm pitch male header

1 pcs. 1×10, 2.54 mm pitch male header

1 pcs. 2×3, 2.54 mm pitch male header

1 pcs. jumper, 2.54 mm pitch

1 pcs. 2×17, 90 degree, 2.00 mm pitch, male header

1 pcs. pushbutton, SMD

3 pcs. LED, amber, 1206

1 pcs. LEC, green, 1206

5 pcs. decoupling capacitor, ceramic, 100 nF, 1206

2 pcs. filter capacitor, 18 pF, 1206

1 pcs. pull up resistor, 10k, 1206

3 pcs. LED current limiting resistors, 1k, 1206

1 pcs. 6-way DIP switch, pitch 2.54 mm

1 pcs. quartz oscillator, 16 MHz, HC-49U, SMD

1 pcs. ATmega328P, DIP-28

1 pcs. DIP-28 socket


1 pcs. DIP-28 Zero Insertion Force socket


Estimated cost

Components and circuit board should not cost more than EUR 10,-.



Schematic PDF: 0x34_schematic

DipTrace v. 3 schematic file: 0x34_schematic

DipTrace v. 3 PCB design file: 0x34_ratlined_public

Gerber files: 0x34_Gerber



Comments are closed.