Skip to the content
PCBKitNew board
2 layers235 × 119.4 mmSiemens Sinumerik840C Maschinensteuertafel Adaptor, the printed circuit board in 3D

Siemens Sinumerik840C Maschinensteuertafel Adaptor

PedPEx/Siemens-LinuxCNC-Interface5

Siemens Sinumerik840C Maschinensteuertafel Adaptor for LinuxCNC

Size
235 × 119.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
104
Nets
238
Pads
687
Tracks, vias
1,567, 192
Pours
8
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
2 Sep 2024
Updated
22 Mar 2025

Overview

Siemens Sinumerik840C Maschinensteuertafel Adaptor is an open-source printed circuit board by PedPEx, from the PedPEx/Siemens-LinuxCNC-Interface repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 235 × 119.4 mm with 104 parts on 238 nets, routed with 1,567 tracks and 192 vias.

It is built around the STM32L151CCT6, LD1117S33CTR-HXY and SSW-132-24-L-D, with the TS-1187A-B-A-B and KH-TYPE-C-16P among its other parts. Its parts include 27 capacitors, 27 resistors, 11 ICs, 6 connectors and 4 diodes. It belongs with the STM32 boards of this library.

Main components

5

README

README.md

Siemens Sinumerik840C control panel Interface (WIP! - UNTESTED!)

This interface board is designed to be placed on the backside of an old type Siemens Sinumerik840C machine control panel in order to be used as user input in LinuxCNC. I reverse engineered a control panel of type M (CNC-Mill - 6FC5103-0AD03-0AA0) for this project. All the IOs of these control panels are accessible through the two 64pin pinheaders. You can get these machine control panels pretty cheap on ebay.

Interface: v0.9.5

Sinumerik840C Machine Control Panel: Sinumerik840C Machine Control Panel

ToDo

  • ✅ finished prototype PCB (v0.9.5)
  • 🔲 finished prototype PCB (v0.9.6)
  • ✅ firmware for STM32L151CC (technically 100% - needs cleanup and timeout detection on LinuxCNC side)
  • 🔲 tested intensively with LinuxCNC
  • 🔲 example config for LinuxCNC

Powering

The board needs no seperate supply voltage and is fully powered by the USB Interface. A power distribution switch deactivates the whole interface in case of an overcurrent (set to 1.0 A).

USB port

Plug in a USB-C cable and use the provided strain relief with the help of a 5mm cable tie. With this USB connection a virtual serial port is used to send the data to the host. More information in the software details.

Terminal blocks and general IO

Most of the IO on the three terminal blocks is directly wired into the microcontroller. They can be used for analog inputs or for further expansion in general.

As terminal blocks Weidmüller 1824460000 - LSF-SMT 3.50/06/90 3.5SN BK TU were used - because i had them at hand. But any headers or screw terminals with a 3.5 mm pitch can be used here.

Usage/Software

This interface board is meant to be used in combination with the software LinuxCNC_ArduinoConnector. It does not operate with an Arduino, but with a much more capable STM32L151C8. The STM32 just emulates a serial port and sends the same signals to the LinuxCNC component like the Arduino would. The L1 series of STM32 was chosen because of its bootloader

Limitations

Do not use this board for any time critical porpuses!

Online Preview / BOM

Detailed schematics preview (KiCanvas)

Online BOM

3D Preview

LinuxCNC config (TODO)

When finished, an example config for LinuxCNC can be found in the correspondig folder.

An example of a whole machine fitted with this Interface can be found in my other project Maho400E-LinuxCNC

Note

The pictures were rendered with the help of Blender and the pcb2blender plugin and the HTML BOM was created with InteractiveHtmlBom.

Parts

104
QtyValueFootprintReferences
13100nCapacitor_SMD:C_0603_1608MetricC10, C11, C13, C14, C15, C19, C20, C21, C22, C24, C25, C26, C27
124x680Rproject_library:RES-ARRAY-SMD_0603-8P-L3.2-W1.6-BLRN1, RN2, RN3, RN4, RN5, RN6, RN7, RN8, RN9, RN10, RN11, RN12
1010kResistor_SMD:R_0603_1608MetricR9, R11, R14, R15, R16, R17, R18, R19, R20, R21
8PCA9555PW,118project_library:TSSOP-24_L7.8-W4.4-P0.65-LS6.4-BLU4, U5, U6, U7, U8, U9, U10, U11
51k5Resistor_SMD:R_0603_1608MetricR8, R12, R13, R22, R23
40Resistor_SMD:R_0603_1608MetricR24, R25, R26, R27
30.1uCapacitor_SMD:C_0603_1608MetricC4, C5, C7
34u7Capacitor_SMD:C_0603_1608MetricC9, C18, C23
3LEDLED_SMD:LED_0603_1608MetricD2, D3, D4
3MountingHole_Pad_MPproject_library:MountingHole_3.2mm_M3_DIN965_PadH1, H2, H3
2100kResistor_SMD:R_2512_6332MetricR1, R2
210uCapacitor_SMD:C_0603_1608MetricC3, C8
21uCapacitor_SMD:C_0603_1608MetricC2, C12
2470Resistor_SMD:R_0603_1608MetricR7, R10
25k1Resistor_SMD:R_0603_1608MetricR3, R4
28pCapacitor_SMD:C_0603_1608MetricC16, C17
2SSW-132-24-L-Dproject_library:SAMTEC_SSW-132-24-L-DJ111, J121
2TS-1187A-B-A-Bproject_library:SW-SMD_4P-L5.1-W5.1-P3.70-LS6.5-TL-2SW1, SW2
10.1uCapacitor_SMD:C_2220_5750MetricC1
1100R@100MHzeasyeda2kicad:L0603FB1
1100uCapacitor_SMD:CP_Elec_5x5.8C6
116MHzproject_library:CRYSTAL-SMD_4P-L3.2-W2.5-BL_SIT8008BIX1
125kResistor_SMD:R_0603_1608MetricR6
127nHInductor_SMD:L_0603_1608MetricL1
1680Resistor_SMD:R_0603_1608MetricR5
1AP22652AW6-7project_library:SOT-23-6_L2.9-W1.6-P0.95-LS2.8-BLU2
1Buttonsproject_library:1824460000 - LSF-SMT 3.500690 3.5SN BK TUJ3
1GNDTestPoint:TestPoint_Pad_D1.0mmTP1
1JTCK-SWCLKTestPoint:TestPoint_Pad_D1.0mmTP4
1JTDITestPoint:TestPoint_Pad_D1.0mmTP2
1JTDO-TraceSWOTestPoint:TestPoint_Pad_D1.0mmTP5
1JTMS-SWDIOTestPoint:TestPoint_Pad_D1.0mmTP3
1KH-TYPE-C-16Pproject_library:USB-C-SMD_KH-TYPE-C-16PUSB1
1LD1117S33CTRproject_library:SOT-223-4_L6.5-W3.5-P2.30-LS7.0-BRU3
1LOGOproject_library:QR_CODEG***
1LOGOproject_library:LOGOG***
1Powerproject_library:1824460000 - LSF-SMT 3.500690 3.5SN BK TUJ2
1ProgHeaderproject_library:HDR-SMD_6P-P2.54-V-M-LS4.8_R2J1
1RESETTestPoint:TestPoint_Pad_D1.0mmTP6
1Reserve2project_library:1824460000 - LSF-SMT 3.500690 3.5SN BK TUJ4
1STM32L151CCT6project_library:LQFP-48_L7.0-W7.0-P0.50-LS9.0-BLU1
1TPD4E05U06DQAR_C138714project_library:USON-10_L2.5-W1.0-P0.50-BLD1

Questions

How big is the Siemens Sinumerik840C Maschinensteuertafel Adaptor PCB?

It measures 235 × 119.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Siemens Sinumerik840C Maschinensteuertafel Adaptor use?

104 parts, built around the STM32L151CCT6, LD1117S33CTR-HXY, SSW-132-24-L-D and TS-1187A-B-A-B. 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 Siemens Sinumerik840C Maschinensteuertafel Adaptor KiCad files?

From the PedPEx/Siemens-LinuxCNC-Interface repository on GitHub, at the commit this page was made from: the board is 1_hardware/Siemens-Sinumerik840C-Maschinensteuertafel-Adaptor.kicad_pcb and its schematic 1_hardware/Extender-IO.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Siemens Sinumerik840C Maschinensteuertafel Adaptor 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 layers43.2 × 45.7 mmStm32l151 breakout, the printed circuit board in 3D

    Stm32l151 breakout

    blakesmith/embedded

    Blake's embedded projects

    15 parts167
  • 2 layers90 × 90 mmPocketPSU elec main, the printed circuit board in 3D

    PocketPSU elec main

    jarrod89/pocketPSU

    Input1: - Output1 can be used to supply pocketPSU via a battery - Optional battery charging capability (addon board with BMS)

    97 parts2
  • 4 layers49 × 40 mmBlackmagic, the printed circuit board in 3D

    Blackmagic

    aeremin/firefly_zephyr

    Firmware (Zephyr RTOS / nRF Connect SDK, with Pigweed libraries), custom boards and KiCad hardware projects for a few small nRF52-based devices.

    63 parts
  • 4 layers94.5 × 39.7 mmSTM32L4Q5CGT AudioSpectrumAnalyzer, the printed circuit board in 3D

    STM32L4Q5CGT AudioSpectrumAnalyzer

    OscarBazylewich/STM32_Audio_Spectrum_Analyzer_CustomPCB

    This repository contains a 4-layer KiCad board for the STM32 Audio Spectrum Analyzer. The board has an STM32L4Q5CGT6 MCU and an I2S MEMS microphone (ICS-43434).

    39 partsGPL-3.0
  • 2 layers80 × 50 mmOpen PSU Meter ESP32, the printed circuit board in 3D

    Open PSU Meter ESP32

    nitefood/opsum

    OPSUM - The Open PSU Meter project

    51 parts5MIT
  • 4 layers76.1 × 70.7 mmUsb sp dev, the printed circuit board in 3D

    Usb sp dev

    Ismael034/usbsp

    Have you ever tried to plug a USB device into a computer that has USB restrictions enabled? It's frustrating, isn't it? You can't use your USB devices, and you have no way to bypass the restrictions.

    79 parts2MIT
  • 2 layers70 × 70 mmIntercom, the printed circuit board in 3D

    Intercom

    romanvrable/openmic

    Open, as in open source, audio processing code and PCBs

    73 parts2GPL-3.0