Skip to the content
2 layers38.5 × 29.8 mmRotary encoder protection, the printed circuit board in 3D

Rotary encoder protection

TheTesla/rotary-encoder-protection

Connector with protection circuit for rotary encoders

Size
38.5 × 29.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
9
Pads
50
Tracks, vias
49, 3
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
4 Jul 2024
Updated
28 Apr 2025

Overview

Rotary encoder protection is an open-source printed circuit board by TheTesla, from the TheTesla/rotary-encoder-protection repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 2-layer board of 38.5 × 29.8 mm with 18 parts on 9 nets, routed with 49 tracks and 3 vias.

It is built around the BZV55B24 and 1N4148W. Its parts include 5 resistors, 4 diodes, 3 connectors and 2 capacitors.

Main components

2

README

README.md

Rotary Encoder Protection Board

The rotary encoders don't have any electrical protection mechanism. Overcurrent into the open collector outputs will damage them.

This board protects the rotary encoder against reverse polarity and short overvoltage spikes on the power supply line. Each data line is protected using a 10k resistor in series. Pull-up resistors are incooperated on the encoder side. That means, the board outputs are directly high impedance logic level. External voltage to these data pins won't damage the encoder or protection board.

Direct connection to ICs with a low voltage tolerance at the inputs is possible, because the clamp diodes in the IC will limit the voltage from the high impedance outputs of the board.

Associated Projects

That protection board is part of the plug at the rotary encoder cable. It is intended to be connected to the logic board, which implements the data processing:

Author/Contact

Stefan Helmert stefan.helmert@htw-dresden.de

Appendix

Pictures

The PCB without case and without rotary encoder:

3d rendered image of the assembled pcb, front

3d rendered image of the assembled pcb, back

Schematics

schematics

Parts

18
QtyValueFootprintReferences
410kResistor_SMD:R_0805_2012MetricR2, R3, R4, R5
4MountingHole_PadMountingHole:MountingHole_2.7mm_M2.5_ISO14580_Pad_TopBottomH1, H2, H3, H4
3BZV55B24Diode_SMD:D_MiniMELFD2, D3, D4
1100nCapacitor_SMD:C_0805_2012MetricC1
11N4148WDiode_SMD:D_SOD-123D1
122Resistor_SMD:R_0805_2012MetricR1
122uCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC2
1Conn_01x01Connector_Wire:SolderWire-2.5sqmm_1x01_D2.4mm_OD4.4mmJ2
1Conn_01x04Connector_Wire:SolderWire-0.75sqmm_1x04_P4.8mm_D1.25mm_OD2.3mmJ3
1DE9_Plug_MountingHolesConnector_Dsub:DSUB-9_Pins_Horizontal_P2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mmJ1

Similar boards

  • 4 layers99 × 53.3 mmPSLab, the printed circuit board in 3D

    PSLab

    fossasia/pslab-hardware

    PSLab Hardware Design and Schematics https://pslab.io

    199 parts1.7kApache-2.0
  • 2 layers208.8 × 396.9 mmFerris, the printed circuit board in 3D

    Ferris

    pierrechevalier83/ferris

    A low profile split keyboard designed to satisfy one single use case elegantly

    145 parts1.3k
  • 2 layers285.5 × 95 mmReviung46 ver1 1, the printed circuit board in 3D

    Reviung46 ver1 1

    gtips/reviung

    The REVIUNG41 is 41-key column staggered keyboard.

    119 parts517MIT
  • 4 layers95.6 × 73.6 mmMathpad, the printed circuit board in 3D

    Mathpad

    Summa-Cogni/Mathpad

    A mathematical keypad for students and professionals

    93 parts243
  • 2 layers141.5 × 83 mmRolio, the printed circuit board in 3D

    Rolio

    MickiusMousius/Rolio46Keyboard

    A split wireless keyboard based on the Corne and Sofle

    110 parts236MIT
  • 6 layers160 × 100 mmAdrmu6layer, the printed circuit board in 3D

    Adrmu6layer

    marcoreps/ADRmu

    ADR1000 10V standard

    240 parts149
  • 2 layers99.1 × 90.7 mmBgkeeb, the printed circuit board in 3D

    Bgkeeb

    sadekbaroudi/bgkeeb

    This is a reversible 100mm x 100mm pcb with support for mx or choc switches (no hotswap), per key led, rotary encoders, and exposes the SDA/SCL/GND/VCC lines in the form of the pimoroni trackball pins (meaning you can…

    108 parts108
  • 2 layers229.8 × 102.6 mmBw2, the printed circuit board in 3D

    Bw2

    hazels-garage/bad-wings

    Bad Wings

    107 parts107CC-BY-SA-4.0

Questions

How big is the Rotary encoder protection PCB?

It measures 38.5 × 29.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Rotary encoder protection use?

18 parts, built around the BZV55B24 and 1N4148W. 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 Rotary encoder protection KiCad files?

From the TheTesla/rotary-encoder-protection repository on GitHub, at the commit this page was made from: the board is src/elec/RotaryEncoderProtection.kicad_pcb and its schematic src/elec/RotaryEncoderProtection.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Rotary encoder protection design in my own project?

Its repository publishes it under the CERN-OHL-S-2.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).