Skip to the content
2 layers193 × 113 mmSerial hat, the printed circuit board in 3D

Stuff I write for my Apple //c

Size
193 × 113 mm
Copper layers
2
Thickness
1.6 mm
Parts
35
Nets
93
Pads
223
Tracks, vias
373, 5
Pours
128
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
2 Dec 2022
Updated
5 Nov 2026

Overview

Serial hat is an open-source printed circuit board by colinleroy, from the colinleroy/a2tools repository on GitHub. It is a 2-layer board of 193 × 113 mm with 35 parts on 93 nets, routed with 373 tracks and 5 vias.

It is built around the MAX3232ID and PC817C-S. Its parts include 9 switches, 5 capacitors, 5 connectors, 2 ICs and 1 diode. It belongs with the interfaces and adapters boards of this library.

Main components

2

README

README.md

Repository of stuff I write for my Apple //c

I'm having fun with this antiquity like it's 1989*!

The Apple //c was my first computer and I loved it dearly for years, but to be honest, it served little purpose these last years, only decorating the office. But then my wife woke up a monster by suggesting we do the Advent of Code, and we started, and then I thought

"I should do it with the Apple //c!"

One thing led to another and there are now quite a few things here:

  • a full featured Mastodon client (homepage)
  • a media player (mp3, video, webradios, ...) (homepage)
  • a Peertube and Youtube client (homepage)
  • a Shufflepuck clone, with two-players mode (homepage)
  • a Glider clone (homepage)
  • a Quicktake program, to get and view pictures from Quicktake cameras (homepage)
  • an FTP client
  • a Telnet client
  • an HomeAssistant frontend to control switches, heating, and view sensors' graphs.

Building the Apple II programs

Install cc65:

text
git clone https://github.com/cc65/cc65.git
cd cc65
make
sudo make install

Build my things:

text
make

Create floppy images:

text
make dist

You can then transfer the images in dist/ using ADTPro, or putting them on a MicroSD card for your modern storage (BurgerDisk, DominoDisk, FloppyEmu, etc).

Building only the proxy

To build only the proxy, you can skip installing cc65. Install the build dependancies, then compile the proxy:

See surl-server's README

Notes

The Apple 2 serial port is port 2 by default.

Raspberry installation

For convenience, a pre-built surl-server is configured in the Raspberry image file, surl-server-bullseye-YYYY-MM-DD-lite.img.gz , available in the releases.

Copy it to a microSD card:

text
gunzip surl-server-bullseye-YYYY-MM-DD-lite.img.gz
dd if=surl-server-bullseye-YYYY-MM-DD-lite.img of=/dev/mmcblk0 bs=4M status=progress
sync

Install the SD card into a Raspberry, connect Ethernet, connect USB/serial adapter and boot. Everything should be up and running if you have a DHCP server.

You can ssh into the pi with the default Raspbian login, pi/raspberry. The Pi should get on the network as surl-server.local.

If you already have a running Raspberry that you'd want to use for this, you can instead add the following source and packages:

text
echo "deb https://apt-rpi.colino.net/debian bullseye main" | tee -a /etc/apt/sources.list.d/apt-rpi-colino-net.list
curl https://apt-rpi.colino.net/gpg.key | apt-key add -
apt update
apt install surl-server

*Yes, I know it's older than that. But I got mine in 1989, when I was nine.

Parts

35
QtyValueFootprintReferences
5100nFCapacitor_SMD:C_0603_1608MetricC1, C2, C3, C4, C5
4MountingHole_4.3mm_M4MountingHole:MountingHole_4.3mm_M4MH2, MH5, MH7, MH8
3MountingHole_2.7mmMountingHole:MountingHole_2.7mmMH1, MH3, MH4
2,
14PDT 12 pins Piano SwitchColins-Kicad:4PDT 12 pins Piano SwitchUnpopulated
1Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1ImageWriterColins-Kicad:MINI-DIN8-F C20611694K2
1LEDLED_SMD:LED_0603_1608MetricD1
1MAX3232Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU1
1Modem To ProxyColins-Kicad:4PDT 12 pins Piano SwitchSW1
1Modem out 3Colins-Kicad:DIN-5-M C23689428CN2
1Modem out 3Colins-Kicad:4PDT 12 pins Piano SwitchSW3
1Modem portColins-Kicad:DIN-5-M C23689428CN1
1Modem to QuicktakeColins-Kicad:4PDT 12 pins Piano SwitchSW2
1PC817C-SColins-Kicad:PC817C-S C3008369U2
1Printer portColins-Kicad:DIN-5-M C23689428CN3
1Printer to ImageWriterColins-Kicad:4PDT 12 pins Piano SwitchSW6
1Printer to ProxyColins-Kicad:4PDT 12 pins Piano SwitchSW5
1QuicktakeColins-Kicad:MINI-DIN8-F C20611694K1
1Rpi headersConnector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_VerticalJ1
1SW_SPSTColins-Kicad:SPST momentary switch C6575016SW7
1SW_Slide_DPDT SHOU HAN MSK-22D18G4 051Colins-Kicad:DPDT slide switch C7507433SW8

The 32 most common of 35 parts.

More from colinleroy/a2tools

8
  • 2 layers65 × 56 mmSerial hat, the printed circuit board in 3D

    Serial hat

    colinleroy/a2tools

    Stuff I write for my Apple //c

    21 parts92
  • 2 layers35.1 × 27.3 mmDb9f din5-adapter, the printed circuit board in 3D

    Db9f din5-adapter

    colinleroy/a2tools

    Stuff I write for my Apple //c

    6 parts92
  • 2 layers35.1 × 27.3 mmDb9m din5-adapter, the printed circuit board in 3D

    Db9m din5-adapter

    colinleroy/a2tools

    Stuff I write for my Apple //c

    6 parts92
  • 2 layers53.3 × 27.3 mmDb25-din5-adapter, the printed circuit board in 3D

    Db25-din5-adapter

    colinleroy/a2tools

    Stuff I write for my Apple //c

    6 parts92
  • 2 layers24.5 × 54.2 mmMd8-to db25, the printed circuit board in 3D

    Md8-to db25

    colinleroy/a2tools

    Stuff I write for my Apple //c

    6 parts92
  • 2 layers40.9 × 53 mmQt connector, the printed circuit board in 3D

    Qt connector

    colinleroy/a2tools

    Stuff I write for my Apple //c

    6 parts92
  • 2 layers55.6 × 21.5 mmDin5-null modem, the printed circuit board in 3D

    Din5-null modem

    colinleroy/a2tools

    Stuff I write for my Apple //c

    5 parts92
  • 2 layers14.2 × 25 mmMd8-to din5, the printed circuit board in 3D

    Md8-to din5

    colinleroy/a2tools

    Stuff I write for my Apple //c

    4 parts92

Similar boards

  • 4 layers83 × 67.5 mmMarineBoard, the printed circuit board in 3D

    MarineBoard

    Cadburies/SisuAssistant

    Sailing yacht Sisu: Home Assistant + ESPHome Marine Board (alternator regulation, tanks) + MQTT kernel, Signal K/Grafana/InfluxDB on a NAS, and Sisu Nav chart & weather-routing cockpit.

    162 parts1Apache-2.0
  • 2 layers100 × 100 mmHour meter board microfit can handroute, the printed circuit board in 3D

    Hour meter board microfit can handroute

    ilomon10/embedded-totalizer-hour-meter

    ESP32 engine hour meter & totalizer: firmware, SensorFrame protocol, Node host tools, KiCad PCB and a Deno device simulator

    152 parts
  • 2 layers65.1 × 96.9 mmBurgerDisk SMD Angled, the printed circuit board in 3D

    BurgerDisk SMD Angled

    colinleroy/BurgerDisk

    A daisy-chainable Smartport hard drive for the Apple II

    23 parts20
  • 2 layers189.5 × 204.9 mmSmartSpin2k Panelized, the printed circuit board in 3D

    SmartSpin2k Panelized

    doudar/SmartSpin2k

    Transform your spin bike into a Smart Trainer!

    749 parts292GPL-2.0
  • 2 layers81.6 × 44.5 mmELTerm, the printed circuit board in 3D

    ELTerm

    zephray/ELTerm

    ANSI/VT100-compatible serial terminal built with Raspberry Pi Pico and EL640.480-AM/AG screen

    31 parts92MIT
  • 2 layers87 × 71 mmSocket, the printed circuit board in 3D

    Socket

    eddyem/STM8_samples

    Some code samples and ready projects based on STM8 (deprecated)

    89 parts80
  • 2 layers100 × 93 mmSpeeduino base, the printed circuit board in 3D

    Speeduino base

    Tjeerdie/SPECTRE

    Speeduino compatible engine control unit (ECU) based around black STM32F407VET6 board.

    213 parts59GPL-3.0
  • 2 layers33.1 × 43.8 mmThrottleBlaster, the printed circuit board in 3D

    ThrottleBlaster

    scrapcomputing/ThrottleBlaster

    A Turbo circuit with a MHz display that can slow down the CPU speed

    34 parts57GPL-2.0

Questions

How big is the Serial hat PCB?

It measures 193 × 113 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Serial hat use?

35 parts, built around the MAX3232ID and PC817C-S. 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 Serial hat KiCad files?

From the colinleroy/a2tools repository on GitHub, at the commit this page was made from: the board is PCBs/integrated-serial-device/serial-hat.kicad_pcb and its schematic PCBs/db25-din5-adapter/db25-din5-adapter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Serial hat design in my own project?

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