Skip to the content
PCBKitNew board
2 layers54.6 × 71.8 mmPi Adapter 3, the printed circuit board in 3D

A Z scale model train controller with web interface

Size
54.6 × 71.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
4
Nets
108
Pads
132
Tracks, vias
39, 0
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
4 Feb 2013
Updated
7 Sep 2025

Overview

Pi Adapter 3 is an open-source printed circuit board by elafargue, from the elafargue/train-controller repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 54.6 × 71.8 mm with 4 parts on 108 nets, routed with 39 tracks and 0 vias.

It belongs with the interfaces and adapters boards of this library.

README

README.md

train-controller

A Z scale model train controller with web interface.

You will find detailed instructions at http://www.aerodynes.org/ . This repository includes both hardware design files and the software you need to build the complete project.

The whole system is working well, and has been running for a long time on an actual layout.

Repository structure:

arduino: arduino sketches for the train controller hardware hardware: schematics, boards (Eagle) server: the node.js server that interfaces with the controller and serves the web app

Installation:

Please refer to http://www.aerodynes.org/ for detailed installation instructions. Below is a quick summary:

  • Build the cape - Eagle files are included, all components are referenced in the design file, it is fairly straightforward.
  • Install the arduino firmware on the cape: you can use the very good "ino" command line interface for doing so.
  • Install Ubuntu Linux on your Beaglebone Black
  • Install the latest nodejs distribution, and clone this repository
  • Install mongodb (Ubuntu package is fine)
  • Run "npm install" then "node server.js"
  • ... you should be set!

Credits:

Thanks to the creators of the PID and aJson libraries (be sure to use the latest aJson library as I contributed patches to make it more robust). Thanks to Christophe Coenraets for his great tutorials which were used as a base for the server

License:

All original code is placed under GPLv3 unless stated otherwise, see relevant license files where appropriate.

Run as a service

Use resources/train-controller.service and copy it to /etc/systemd/system, then:

text
$ sudo systemctl daemon-reload
$ sudo systemctl enable train-controller
Created symlink /etc/systemd/system/multi-user.target.wants/train-controller.service → /etc/systemd/system/train-controller.service.
$ sudo service train-controller start

Parts

4
QtyValueFootprintReferences
2BeagleBone_Black_HeaderSocket_BeagleBone_Black:Socket_BeagleBone_BlackP8, P9
1LOGO-AERODYNESSMALLcontroller v31:LOGO-AERODYNES-SM1
1Raspberry_Pi_2_3Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_VerticalJ1

Questions

How big is the Pi Adapter 3 PCB?

It measures 54.6 × 71.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Pi Adapter 3 use?

4 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 Pi Adapter 3 KiCad files?

From the elafargue/train-controller repository on GitHub, at the commit this page was made from: the board is hardware/Pi Adapter 3/Pi Adapter 3.kicad_pcb and its schematic hardware/Pi Adapter 3/Pi Adapter 3.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pi Adapter 3 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).

Similar boards

  • 2 layers18.5 × 26 mm24g2usb rp2350zero, the printed circuit board in 3D

    24g2usb rp2350zero

    joypad-ai/joypad-os

    Universal controller firmware for building adapters, dongles, and custom controllers.

    4 parts1.7kApache-2.0
  • 2 layers116 × 33 mm966595-1 and 963356-1, the printed circuit board in 3D

    966595-1 and 963356-1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    4 parts1.2k
  • 2 layers19 × 18 mmDaughter board, the printed circuit board in 3D

    Daughter board

    hackclub/OnBoard

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

    4 parts915
  • 2 layers24.8 × 24.8 mmNrf24 breakout, the printed circuit board in 3D

    Nrf24 breakout

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    4 parts803MIT
  • 2 layers26 × 20 mmCap chain, the printed circuit board in 3D

    Cap chain

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    4 parts744MIT
  • 2 layers34.7 × 20 mmXG Station Power MSI, the printed circuit board in 3D

    XG Station Power MSI

    osy/XG_Mobile_Station

    Open source eGPU dock for ROG Ally and ROG Flow

    4 parts712CC-BY-4.0
  • 2 layers20.3 × 24.5 mmJack power input, the printed circuit board in 3D

    Jack power input

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    4 parts546MIT