Skip to the content
2 layers38 × 33 mmSommerAdapter, the printed circuit board in 3D

Add-On PCB and ESPHome software to read gate state of Sommer twist 200 (and similar) to implement open and close commands

Size
38 × 33 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
12
Pads
53
Tracks, vias
190, 75
Pours
3
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
14 Apr 2024
Updated
14 Apr 2024

Overview

SommerAdapter is an open-source printed circuit board by Luddi1, from the Luddi1/Sommer-Twist-Automation repository on GitHub, published under the MIT licence. It is a 2-layer board of 38 × 33 mm with 23 parts on 12 nets, routed with 190 tracks and 75 vias.

It is built around the SFH 309-5, PESD3V3S2UT and P4SMAJ5.0CA. Its parts include 7 resistors, 7 transistors, 4 diodes, 1 capacitor and 1 connector.

Main components

3

README

README.md

Sommer Twist Automation

Add-On PCB and ESPHome software to read gate state of Sommer twist 200 (and similar) to implement open and close commands

Problem: Sommer Twist 200 (and similar) gate controllers only have an impulse-input. When toggling this input an open gate closes, closed gate opens and a moving gate stops. However, to integrate this into a smarter setup, distinct commands for open and close are needed.

Solution: We read out the LEDs on the gate controller PCB which indicate whether the gate opens or closes, save the state and toggle the impulse-input, depending on the current state and the desired command.

Image of adapter

Image of adapter

This solution needs no hardware hacks on the original Sommer controller. Find below the contents of the repository, BOMs for the read-out PCB and the overall system.

Contents of repository

  • SommerAdapter KiCad Project of PCB. Basically implements opto-couplers using the LEDs on the Sommer gate controller.
  • SommerAdapter-Mount Fusion 360 Project and step files to mount PCB on Sommer controller.
  • Setup ESPHome YAML Script for ASTRA controller and wiring diagram.
  • Gallery Some pictures of the installation.

BOM SommerAdapter PCB Assembly

Parts for one PCB of SommerAdapter/SommerAdapter.kicad_pcb

Component RefsValuePackageQtyReichelt #
C1100nC_0603_1608Metric1KEM Y5V0603 100N
R1, R2, R3, R4, R5, R6, R747kR_0603_1608Metric7SMD-0603 47K
D2, D7PESD3V3S2UTSOT-232PESD3V3S2UT
D1SS 16D_SMA1SS 16
D6P4SMAJ5.0CAD_SMA1P4SMAJ5.0CA
Q1, Q2, Q3, Q4, Q5, Q6, Q7SFH309-5LED_D3.0mm_Clear7SFH 309-5 OSO
J1DG3082,54-61DG308 2,54-6

BOM Complete Setup

For presented setup to control a Twist 200. Of course you can make use of the PCB with some other microcontroller and software in your own setup.

ComponentQty
SommerAdapter PCB Assembly1
3D printed SommerAdapter-Mount/LowerPart.step1
3D printed SommerAdapter-Mount/UpperPart.step1
ASTRA controller, 4 Relays 16A, 4 AC Input, AC power, LED (BR4A4AL)1
RJ12 6P6C adapter with screw terminals1
Panhead screw M3 x 101
Socket head screw M3 x 162
Lapp 1030243 LiYY PVC Control Cable 8 x 0.34 mm²~2m
Distribiution box 180x240x130mm IP65 F-ELEKTRO 59010870419151
Momentary switch Aquant 1207-65 IP651
DIN rail, mounting hardware, some Wago 221 and DIN rail adapter 221-500, 0.34 ferrules

Some notes:

  • The printed parts are designed for ABS. Other materials will probably work, too.
  • Keep the cable run for the SommerAdapter PCB as short as possible and avoid runs next to other cables.
  • Flash ESPHome to ASTRA controller and set to SPI mode. See manual. Use SPI (left) RJ12 socket. We need the GPIOs and GND/3.3V to power our board.

Parts

23
QtyValueFootprintReferences
710kResistor_SMD:R_0603_1608MetricR1, R2, R3, R4, R5, R6, R7
7SFH309-5LED_THT:LED_D3.0mm_ClearQ1, Q2, Q3, Q4, Q5, Q6, Q7
2PESD3V3S2UT Package_TO_SOT_SMD:SOT-23D2, D7
1100nCapacitor_SMD:C_0603_1608MetricC1
1DG308 2,54-6TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-6-2.54_1x06_P2.54mm_HorizontalJ1
1JP_Signal3Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm_NumberLabelsJP1
1JP_Signal4Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm_NumberLabelsJP2
1P4SMAJ5.0CADiode_SMD:D_SMAD6
1SS 16Diode_SMD:D_SMAD1
1TestPointTestPoint:TestPoint_Pad_2.0x2.0mmTP1

Similar boards

  • 2 layers172 × 230 mmIndegoMower, the printed circuit board in 3D

    IndegoMower

    MS71/IndegoRover

    new MainBoard for Indego Lawn Mower

    34 parts7
  • 4 layers149 × 95 mmMobo, the printed circuit board in 3D

    Mobo

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    399 parts3.7k
  • 4 layers79 × 79 mmMinuet, the printed circuit board in 3D

    Minuet

    brown-studios/minuet

    Minuet upgrades your MAXXAIR Maxxfan with a brushless DC motor, home automation features, and accessories.

    103 parts67MIT
  • 4 layers65 × 30 mmRbpi z hat, the printed circuit board in 3D

    Rbpi z hat

    chipiki/PXFmini_v2

    It's attempt to make a second version of died project PXFmini

    119 parts7
  • 2 layers75 × 100 mmTimestamper, the printed circuit board in 3D

    Timestamper

    tomwimmenhove/timestamper

    CPLD VHDL project for precise time stamping of events

    115 parts1GPL-3.0
  • 4 layers64 × 41 mmExternal, the printed circuit board in 3D

    External

    agalakhov/klingel-external

    64 parts
  • 4 layers150 × 120 mmKicad project, the printed circuit board in 3D

    Kicad project

    emlab-fi/cube_electronics

    Cube electronics - Main Board and Interface Board

    244 parts
  • 2 layers180 × 160 mmIidx pico, the printed circuit board in 3D

    Iidx pico

    FireBite/iidx_pico_pcb_v2

    101 parts

Questions

How big is the SommerAdapter PCB?

It measures 38 × 33 mm and has 2 copper layers, 1.6 mm thick.

What parts does the SommerAdapter use?

23 parts, built around the SFH 309-5, PESD3V3S2UT and P4SMAJ5.0CA. 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 SommerAdapter KiCad files?

From the Luddi1/Sommer-Twist-Automation repository on GitHub, at the commit this page was made from: the board is SommerAdapter/SommerAdapter.kicad_pcb and its schematic SommerAdapter/SommerAdapter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the SommerAdapter design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).