Skip to the content
PCBKitNew board
2 layers93 × 78 mmSafety edge interface, the printed circuit board in 3D

Safety edge interface

ste-man/safety-edge-interface

Dual channel 24VDC interface for 8.2kΩ safety edge, with potential free relays and PNP output

Size
93 × 78 mm
Copper layers
2
Thickness
1.6 mm
Parts
75
Nets
42
Pads
200
Tracks, vias
336, 117
Pours
21
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
7 Aug 2026
Updated
8 Aug 2026

Overview

Safety edge interface is an open-source printed circuit board by ste-man, from the ste-man/safety-edge-interface repository on GitHub. It is a 2-layer board of 93 × 78 mm with 75 parts on 42 nets, routed with 336 tracks and 117 vias.

It is built around the TBA 1-2411E, SZNUD3160LT1G and 74AHC1G08GW, with the LM393 and SFH6156-2 among its other parts. Its parts include 35 resistors, 9 diodes, 7 capacitors, 7 ICs and 4 transistors. It belongs with the interfaces and adapters boards of this library.

Main components

5

README

readme.md

Brief introduction and history

The local Makerspace in my region needed safety edge interfaces for an automatic bi-folding gate. There are lots of sufficient safety edge interface/controllers available to purchase, but they tend to be a bit expensive (for a valid reason) and I decided to make my own.

See rendered image of assembled safety edge interface PCB below: rendered-pcb-assembly

Photos of assembled product is available under directory photos-public.

What is a "safety edge interface/controller"?

This safety edge interface monitors the status of two individual safety edge circuits. From google Gemini: A safety edge circuit (also called a pressure-sensitive edge or contact edge circuit) is a fail-safe electric sensing system designed to prevent crushing, shearing, or trapping hazards on automated moving equipment—such as industrial doors, gates, machine guards, and automated guided vehicles (AGVs).

See example of application in image below: bi-folding gate with safety edges

See simplified functional overview below: safety edge function overview

If the interface/controller measures a resistance higher than the termination resistance, the safety edge circuit is considered broken. If the measured resistance is lower than the termination resistance, the edge is considered activated.

Important safety notice!!

If you are located within European Union, your automatic gate and equipment must follow part of the EU Machinery Directive (https://en.wikipedia.org/wiki/Machinery_Directive). There are likely other safety standards applicable as well. No effort has been made to make sure this safety edge controller conforms to any of the standards. A known required functionality is the requirement for monitoring and control of output relay status. This safety edge controller does NOT have active monitoring of the output relays. If the output relay fails welded shut (activated), your safety edge will not be functional.

Safety edge interface device information

Project design targets

  • Easy to troubleshoot -> simple analog design (no programmable logic)
  • Easy to repair -> commonly available electrical components selected and components placed easily accessible on printed circuit board.

Electrical schematics

See exported electrical schematics for a good overview of device full functionality. Electrical schematics and circuit board has been created with software Kicad 10.0.** (https://www.kicad.org/).

Bill of material (BOM) for printed circuit board

Information with LCSC part numbers (for low cost PCB assembly via JLCPCB) or TME part numbers or Digikey part numbers are included in the KiCad schematic under respective schematic symbol. Full BOM can be viewed via "Tools -> Bulk edit symbol fields" (see screenshot below) or exported via "Tools -> Generate Bill Of Materials". KiCad bulk edit symbol fields

My version of the printed circuit board was manufactured by JLCPCB. JLCPCB also assembled all "Basic" type (low assembly cost) components available in their store and remaining components were manually purchased and assembled by me in order to minimize the total project cost. Hence the reason for multiple separate distributors. Keep in mind that if you need to change - for example - a LED indicator to an indicator with different brightness, you might need to change the related current limiting resistor to a different value.

Printed circuit board is designed for and verified to fit in enclosure Gainta G221CMF-IP67 (https://www.gainta.com/en/g221cmf-ip67.html). Gainta enclosure G221MF/G221CMF seems to have identical dimensions. Recommended PCB mounting screws to use with the listed enclosure are included in BOM.
Gainta enclosure G221-IP67/G221/G221C (without mounting flange) seems to have identical internal dimensions, but does include 4 pcs additional M3x5mm insert nuts in the bottom plate. Mounting the PCB in this enclosure would require additional metric type mounting screw.

Power consumption

Fully assembled safety edge interface consumes ~12 mA @ 24 VDC power supply with no safety edges connected and both safety edge channels in FAULT mode. TODO: Measure and add current consumption with relay(s) activated.

Video demonstrating functionality

A video will be recorded and uploaded to YouTube as soon as the safety edge interface has been installed at the target gate.

Further comments/restrictions/useful information

  • This safety edge interface is built for a safety edge with fixed termination resistance of 8.2kΩ (seems to be a common standard). Resistor R8 + R9 is designed to match your safety edge termination resistance in order for the designed compared Voltage levels (see schematic) to be functional.
  • Safety edge is galvanically separated from power supply circuit in order to prevent an eventual "ground fault" for power supply and interfacing control circuit in case of isolation issues with safety edge (due to - for example - outdoor environment).
  • The relay interface circuit is optional (see electrical schematic). If the PNP output (edge OK = output HIGH, edge activated/fault = output LOW) is sufficient for your needs, you can skip populating the relays and related control circuit.

Improvement suggestions

  • Verify if the final product does conform to any of commonly required safety standards.
  • The printed circuit board arrangement and design can be vastly improved :)

Support and contributions?

Have you detected a mistake somewhere in the project or want to improve it. Send me a pull request or message. My intention is that most of the uploaded and written information should be self explanatory, but feel free to request minor support related to this or similar project(s).

Parts

75
QtyValueFootprintReferences
1610kResistor_SMD:R_0805_2012MetricR10, R12, R13, R14, R15, R16, R17, R18, R19, R21, R22, R23, R24, R25, R26, R27
6MountingHoleproject-footprint-library:MountingHole_3.2mm_M3_with-screwH1, H2, H3, H4, H5, H6
415kResistor_SMD:R_0805_2012MetricR11, R20, R29, R31
4270kResistor_SMD:R_0805_2012MetricR32, R33, R34, R35
310uCapacitor_SMD:C_1210_3225MetricC1, C2, C3
32kResistor_SMD:R_0805_2012MetricR1, R4, R5
3DDiode_SMD:D_MiniMELFD1, D2, D3
2100nCapacitor_SMD:C_0805_2012MetricC6, C7
21kResistor_SMD:R_0805_2012MetricR6, R7
21uCapacitor_SMD:C_0805_2012MetricC4, C5
220kResistor_SMD:R_0805_2012MetricR28, R30
2500RResistor_SMD:R_0805_2012MetricR2, R3
274AHC1G08Package_TO_SOT_SMD:SOT-23-5U3, U4
28k2Resistor_SMD:R_0805_2012MetricR8, R9
2LED_REDLED_SMD:LED_0805_2012MetricD11, D12
2LED_YELLOWLED_SMD:LED_0805_2012MetricD13, D14
2LM393Package_SO:SO-8_3.9x4.9mm_P1.27mmU1, U2
2Q_PMOS_GSDPackage_TO_SOT_SMD:SOT-23Q1, Q2
2Relay_SPDTproject-footprint-library:relay-9-1415029-1K1, K2
2SFH6156Package_DIP:SMDIP-4_W9.53mmU5, U6
2SZNUD3160LT1GPackage_TO_SOT_SMD:SOT-23Q3, Q4
2Screw_Terminal_01x04project-footprint-library:wago-2086-3104J1, J2
1D_SchottkyPackage_TO_SOT_SMD:SOT-23D4
1Enclosureproject-footprint-library:Gainta-g221mf-enclosureN1
1LED_BLUELED_SMD:LED_0805_2012MetricD10
1Screw_Terminal_01x06project-footprint-library:wago-2086-3106J3
1T0.1L ("slow blow")project-footprint-library:fuse-holder-5x20mm-PTF_77-stelvio-kontekF1
1TBA1-2411Eproject-footprint-library:Converter_DCDC_TRACO_TBA1-xxxxE_Single_THT_modifiedU7

Questions

How big is the Safety edge interface PCB?

It measures 93 × 78 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Safety edge interface use?

75 parts, built around the TBA 1-2411E, SZNUD3160LT1G, 74AHC1G08GW and LM393. 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 Safety edge interface KiCad files?

From the ste-man/safety-edge-interface repository on GitHub, at the commit this page was made from: the board is ecad/safety-edge-interface/safety-edge-interface.kicad_pcb and its schematic ecad/safety-edge-interface/safety-edge-interface.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Safety edge interface design in my own project?

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

Similar boards

  • 4 layers90.3 × 26.6 mmC12, the printed circuit board in 3D

    C12

    git4dcc/RTB_C12

    DCC Railcom booster

    95 parts1Apache-2.0
  • 2 layers60.6 × 44.9 mmA500-2Meg Chip RAM PinHeaders, the printed circuit board in 3D

    A500-2Meg Chip RAM PinHeaders

    LIV2/A500-2Meg-Chip-ram

    An Adapter to retrofit a 2MB agnus into a 1MB Amiga 500/2000

    18 parts91
  • 2 layersDiffuino selector, the printed circuit board in 3D

    Diffuino selector

    elixpo/elixpo_chapter

    Elixpo’s canonical collection for public build-and-release Chapters, bringing open-source software, reproducible research, hardware, and community contributions into one attributable record.

    46 parts85
  • 2 layers90 × 109 mmInterface 303, the printed circuit board in 3D

    Interface 303

    jeanpri/303

    303 eurorack interface for x0x-heart

    169 parts23
  • 4 layers106 × 29.2 mmBatterymeter, the printed circuit board in 3D

    Batterymeter

    hb020/batterymeter

    Handheld Battery AC and Time Domain characterization tool on Attiny series 2

    145 parts20
  • 4 layers29.5 × 64.5 mmIot esp eth ind, the printed circuit board in 3D

    Iot esp eth ind

    wayri/SPIKE

    PCB-focused multiphysics simulation, from board to complete assembly: PI, SI, circuits, thermal, EM/RF and mechanical workflows, with MCAD collaboration and a roadmap toward large-scale coupled assemblies.

    150 parts17
  • 4 layers81.8 × 46.1 mmAgnus, the printed circuit board in 3D

    Agnus

    LinuxJedi/RAMesses

    RAMesses Amiga 2MB Chip RAM board

    22 parts11GPL-2.0