Skip to the content
4 layers85 × 85 mmPitalk rpi simulation, the printed circuit board in 3D

Pitalk rpi simulation

assaft/pitalk_ai

Two candidate front-face layouts. Scale: 1 char ≈ 5 mm.

Size
85 × 85 mm
Copper layers
4
Thickness
1.6 mm
Parts
17
Nets
37
Pads
86
Tracks, vias
152, 14
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
28 May 2026
Updated
4 Jul 2026

Overview

Pitalk rpi simulation is an open-source printed circuit board by assaft, from the assaft/pitalk_ai repository on GitHub. It is a 4-layer board of 85 × 85 mm with 17 parts on 37 nets, routed with 152 tracks and 14 vias.

Its parts include 6 connectors, 1 capacitor and 1 resistor. It belongs with the Raspberry Pi (Linux) boards of this library.

README

README.md

Introduction

This MD idescribes the creation of a device for recording, sending, receiving and playing vocal messages.

Device Goal

Enable easy voice messaging between kids. One click to start/end recording, one click to play an incoming.

Device Components

  • Touch screen
  • Microphone
  • Speaker
  • Amplifier
  • System on chip - raspberry pi.
  • Button with light
  • PCB board, header cables, enclosure

Typical Use Case

Using the touch screen, user A can initiate a recording of a message to a particular pre-configured friend - user B. The microphone is used for the recording and a file is saved. Once user A presses to finish the recording, the file will be sent over the internet (using a Wifi connection), and reach the device of the recipient - user B. User B's device screen will show that there is an incoming message that hasn't been heard. Once user B presses on the screen to play it, the amplifier and speaker will be used to play it.

Requirements

Functional Requirements

  • A user can record a new message and send it to one of his/her friends.
  • A user can browse old messages he/she received and listen to them.
  • A user can have a custom different list of friends - each user a different list
  • The list of friends per user should be editable.

System Requirements

  • The device should support reboot, shut down, turn on
  • The device should have a Wifi access point mode so smartphones can connect to itto configure the Wifi network.

Package Engineering Requirements

  • The device should be packaged in a compact box
  • The device should only have one external connection for power
  • The screen, speaker, microphone and button should be front facing.
  • The micro USB power should be side-facing.
  • The comopnents should be mounted to the top or sides of the box, not to the bottom.
  • The bottom should be openable using screws, giving access to all components inside.
  • The raspberry pi should be attached on one of the sides to allow easy access to the screen, speaker, microphone and button.
  • A custom PCB board should be used to simplify connectivity and maintenance
  • The PCB should connect to the Raspberry Pi GPIO interface using a 2×20 male pin header.

PCB Board requirements

  • The board should not include the amplifier - it should include a female socket for the amplifier to be connected to it using a male header that was soldered to it.
  • The board should not include the microphone because the microphone is attached to the front of the device. The microphone will have pin header soldered to it.
  • there should be board connectors on the pcb for connecting it to the microphone, speaker, button and screen; the screen connector should be keyed/locking.

Components

Models

  1. Controller: Raspberry Pi Zero 2W
  2. Screen: Waveshare 2 inch Capacitive Touch Display Module (ST7789T3, CST816D)
  3. Speaker: Gikfun 2 inch 4Ohm 3W Full Range Audio Speaker Stereo Woofer Loudspeaker
  4. Amplifier: Max98357 I2S 3W Class D Amplifier
  5. Microphone: INMP441 Omnidirectional Microphone attached over a Perfboard PCB of 2cm x 2cm
  6. Button: momentary push button with led light

Dimensions

ComponentLengthWidthDepth / ThicknessNotes
Raspberry Pi Zero 2W65 mm30 mm~5 mmBoard only; add ~2 mm for protruding micro-SD card
Waveshare 2" Capacitive Touch LCD (ST7789T3 / CST816D)58.8 mm37.1 mm~4 mmPCB size; active display area is 40.8 × 30.6 mm
Gikfun 2" 4Ω 3W Speaker52.6 mm52.6 mm30 mmSquare frame
MAX98357 I2S Class-D Amplifier (breakout)19.4 mm17.8 mm3 mmAdafruit-style breakout board
INMP441 Microphone (on 20 × 20 mm perfboard)20 mm20 mm~11 mmPerfboard size per design spec; sensor itself is 4.7 × 3.8 × 1 mm
Momentary Push Button with LEDØ 16–22 mm—~39 mmCircular; diameter depends on selected model (common: 16 mm or 22 mm panel cutout)

Box Arrangement

Two candidate front-face layouts. Scale: 1 char ≈ 5 mm.

Layout 1 — Portrait (80 × 155 mm)

Screen on top, speaker in the middle, mic and button at the bottom.

text
╔══════════════════╗
║                  ║
║  ┌────────────┐  ║
║  │            │  ║
║  │   SCREEN   │  ║  58.8 × 37.1 mm
║  │            │  ║
║  └────────────┘  ║
║                  ║
║   ┌──────────┐   ║
║   │ ·  ·  ·  │   ║
║   │  ·  ·  · │   ║  52.6 × 52.6 mm
║   │ ·  ·  ·  │   ║
║   │  ·  ·  · │   ║
║   └──────────┘   ║
║                  ║
║   ◎         ◉    ║
║   mic       btn  ║
╚══════════════════╝
     80 × 155 mm

USB-C on the right side.

Layout 4 — Landscape (150 × 80 mm)

Speaker on the left, screen on the right, mic and button below the screen.

text
╔══════════════════════════════════════╗
║                                      ║
║  ┌────────────┐  ┌────────────┐      ║
║  │ ·  ·  ·  · │  │            │      ║
║  │  ·  ·  ·   │  │   SCREEN   │      ║  58.8 × 37.1 mm
║  │ ·  ·  ·  · │  │            │      ║
║  │  ·  ·  ·   │  └────────────┘      ║
║  └────────────┘       ◎    ◉         ║
║                      mic   btn       ║
╚══════════════════════════════════════╝
  52.6 × 52.6 mm          150 × 80 mm

USB-C on the bottom edge (side of box). Button centered below screen, mic to its left.

Internal Layout

View from bottom

View from the side

PCB Design

Board: 76 mm × 58 mm, four-layer, 1.6 mm FR4:

  1. F.Cu — connector escapes and signals
  2. In1.Cu — continuous ground plane
  3. In2.Cu — secondary signal routing
  4. B.Cu — signals and power

The authoritative wiring specification is pcb/pcb.md. The KiCad board is pcb/kicad/pitalk.kicad_pcb. The matching schematic is pcb/kicad/pitalk.kicad_sch.

Regenerate it with:

sh
.venv/bin/python pcb/kicad/build.py
.venv/bin/python pcb/kicad/build_schematic.py

Connectors

RefFootprintFunction
J12×20 2.54 mm male pin headerRaspberry Pi Zero 2W GPIO
J2JST GH SM15B 1.25 mm 1×15 male side-entry headerWaveshare 2" touch display
J31×7 2.54 mm female socketMAX98357A amplifier module
J4, J51×3 2.54 mm male headersINMP441 microphone
J61×4 2.54 mm male headerMomentary button + LED

GPIO Assignments (Raspberry Pi Zero 2W)

PinGPIONetDescription
1, 173V3+3V3Power
2, 45V+5VPower (amp)
3GPIO2I2C_SDATouch screen SDA
5GPIO3I2C_SCLTouch screen SCL
7GPIO4TOUCH_INTTouch interrupt
12GPIO18I2S_BCLKI2S bit clock (amp + mic)
13GPIO27DISP_RSTDisplay reset
15GPIO22BTN_SWButton input
19GPIO10SPI_MOSIDisplay data
22GPIO25DISP_DCDisplay data/command
23GPIO11SPI_SCLKDisplay clock
24GPIO8SPI_CE0Display chip select
32GPIO12DISP_BLBacklight PWM
33GPIO13GPIO13LED drive (→ R1 → BTN_LED)
35GPIO19I2S_LRCLKI2S LR clock (amp + mic)
38GPIO20I2S_DINI2S data from mic → RPi
40GPIO21I2S_DOUTI2S data RPi → amp

Passives

RefValuePurpose
R1330 Ω 0402BTN_LED current limiter (GPIO13 → LED)
C1100 nF 0402+3V3 decoupling
C2100 nF 0402+5V decoupling

Software code

Todos

  • Adding the component dimensions - width, height, depth - see section above.
  • Creating the box arrangment for organizing the components in a box - see section above.
  • Create a PCB board to simplify connections and maintenance - see section above.
  • Writing the software for implementing the service.

Parts

17
QtyValueFootprintReferences
4M3MountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
4RPi_Zero_Mount_2.5mmMountingHole:MountingHole_2.5mmH5, H6, H7, H8
110uFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC1
1330Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
1INMP441_AConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ4
1INMP441_BConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ5
1MAX98357AConnector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_VerticalJ3
1PB_LEDConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6
1RPi_Zero2WConnector_PinHeader_2.54mm:PinHeader_2x20_P2.54mm_VerticalJ1
1Raspberry Pi Zero 2 W VisualModule:Raspberry_Pi_Zero_Socketed_THT_FaceDown_MountingHolesRPi_SIM
1WS_2in_TouchConnector_JST:JST_GH_SM15B-GHS-TB_1x15-1MP_P1.25mm_HorizontalJ2

More from assaft/pitalk_ai

1
  • 4 layers85 × 85 mmPitalk, the printed circuit board in 3D

    Pitalk

    assaft/pitalk_ai

    Two candidate front-face layouts. Scale: 1 char ≈ 5 mm.

    16 parts

Similar boards

  • 4 layers25.8 × 32.9 mmLora nodemcu, the printed circuit board in 3D

    Lora nodemcu

    sudomesh/disaster-radio

    A (paused) work-in-progress long-range, low-bandwidth wireless disaster recovery mesh network powered by the sun.

    17 parts1.1k
  • 4 layers86.2 × 58.4 mmUsbactoachub, the printed circuit board in 3D

    Usbactoachub

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    17 parts915
  • 4 layers39 × 45 mmCONTROLLER Stick, the printed circuit board in 3D

    CONTROLLER Stick

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    17 parts431
  • 4 layers23.1 × 19.7 mmMaam 011109, the printed circuit board in 3D

    Maam 011109

    loxodes/vna

    Under development open hardware microwave vector network analyzer

    17 parts205
  • 4 layers150 × 100 mmIsi channel, the printed circuit board in 3D

    Isi channel

    azonenberg/starshipraider

    Open hardware test equipment

    17 parts193BSD-3-Clause
  • 4 layers33.3 × 54.6 mmMSX Goauld Rev4, the printed circuit board in 3D

    MSX Goauld Rev4

    jabadiagm/MSXgoauld_tn20k

    MSX Goa'uld board with Tang Nano 20k

    17 parts101GPL-3.0
  • 4 layers25 × 25 mmEnvironment, the printed circuit board in 3D

    Environment

    brown-studios/minuet

    Minuet upgrades your MAXXAIR Maxxfan with a brushless DC motor, home automation features, and accessories.

    17 parts67MIT

Questions

How big is the Pitalk rpi simulation PCB?

It measures 85 × 85 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Pitalk rpi simulation use?

17 parts. 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 Pitalk rpi simulation KiCad files?

From the assaft/pitalk_ai repository on GitHub, at the commit this page was made from: the board is pcb/kicad/pitalk-rpi-simulation.kicad_pcb and its schematic pcb/kicad/pitalk.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pitalk rpi simulation design in my own project?

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