Skip to the content
PCBKitNew board
2 layers40.2 × 67.8 mmPoint controller switches, the printed circuit board in 3D

Model railway point controller

Size
40.2 × 67.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
30
Nets
32
Pads
96
Tracks, vias
123, 15
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
30 Apr 2024
Updated
30 Jan 2026

Overview

Point controller switches is an open-source printed circuit board by penguintutor, from the penguintutor/modelrailway-point-controller repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 40.2 × 67.8 mm with 30 parts on 32 nets, routed with 123 tracks and 15 vias.

Its parts include 8 resistors, 8 diodes, 4 switches, 2 capacitors and 2 ICs.

README

README.md

Model railway point controller

The model railway point controller provides a way to control up to 4 points using a Raspberry Pi Pico W. It includes a MOSFET based capacitor discharge unit on the PCB and MOSFET controllers for each of the point motors.

It includes a second control board connected by I2C which can be connected to physical LEDs and switches to provide a way to control the points. The points can also be controlled using a web interface which can also be used in conjunction with GUI software to provide a touch screen interface.

Installation

This version needs to be installed on a Raspberry Pi Pico W with the appropriate network enabled MicroPython. MicroPython can be installed through the Thonny editor.

To install the program, copy all the files in the pico-src directory to the top-level of the Raspberry Pi Pico. For the network connection you also need to create a file called secrets.py with details of your SSID and PASSWORD. The example below shows the formatting for the secrets.py file.

text
SSID="NetworkSSID"
PASSWORD="WiFiPassword"

Configuration

The program can be run in two modes.

  • Access Point Mode (AP mode) - In this mode the Pico will act as a Wireless Access Point which you can connect to using another WiFi enabled device.
  • Client Mode - In this mode you can connect to an existing wireless network

Note that in client mode it is currently blocking and will not operate until it has successfully connected to the network.

The mode is set by editing the entry "mode" in the pico-lights.py file.

mode="ap" # Use as an access point mode="client" # Use as a Wi-Fi client

Running on startup

For the code to run automatically on start-up save the pico-point-controller.py file on your Pico as main.py.

Using without the I2C control board

The board can be used in WiFi only mode, which does not use the I2C based switch and LED board. For that use the file pico-point-controller.wifionly.py instead of pico-point-controller.py (or save as main.py for auto-run)

More Information

For more details see www.penguintutor.com/points

Parts

30
QtyValueFootprintReferences
8220RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR1, R2, R3, R4, R5, R6, R7, R8
8LEDConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalD1, D2, D3, D4, D5, D6, D7, D8
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
4SW_SPDT_MSMConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalSW1, SW2, SW3, SW4
2100nFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC1, C2
2MCP23008-xPPackage_DIP:DIP-18_W7.62mmU1, U2
1I2C InputConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1I2C OutputConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2

Questions

How big is the Point controller switches PCB?

It measures 40.2 × 67.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Point controller switches use?

30 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 Point controller switches KiCad files?

From the penguintutor/modelrailway-point-controller repository on GitHub, at the commit this page was made from: the board is electronics/point-controller-switches/point-controller-switches.kicad_pcb and its schematic electronics/point-controller-switches/point-controller-switches.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Point controller switches 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).

More from penguintutor/modelrailway-point-controller

1
  • 2 layers116 × 97 mmPoint controller, the printed circuit board in 3D

    Point controller

    penguintutor/modelrailway-point-controller

    Model railway point controller

    61 parts1GPL-3.0

Similar boards

  • 2 layers52.2 × 52.2 mmBase promicro, the printed circuit board in 3D

    Base promicro

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    30 parts3kApache-2.0
  • 2 layers40.6 × 15.2 mmVr mmm, the printed circuit board in 3D

    Vr mmm

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    30 parts1.2k
  • 2 layers270 × 11 mmDaylight, the printed circuit board in 3D

    Daylight

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    30 parts1.1kGPL-3.0
  • 2 layers65 × 30 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    30 parts1kGPL-3.0
  • 2 layers40.5 × 58 mmInitial v, the printed circuit board in 3D

    Initial v

    tenderlove/initial-v

    It's a BMW shifter converted to a Bluetooth Keyboard that you use with Vim

    30 parts1kApache-2.0
  • 2 layers34.3 × 41.8 mmMotionCubeViewAllForces, the printed circuit board in 3D

    MotionCubeViewAllForces

    hackclub/OnBoard

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

    30 parts915
  • 2 layers57.4 × 62 mmPicoWS2812, the printed circuit board in 3D

    PicoWS2812

    ErichStyger/mcuoneclipse

    McuOnEclipse projects and examples

    30 parts765
  • 2 layers52.1 × 46.8 mmFIRE TEST PANEL, the printed circuit board in 3D

    FIRE TEST PANEL

    jrsteensen/OpenHornet

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

    30 parts431