

TinyRotaryPCB
A tiny PCB for the BOURNS PEC11R rotary encoder
- Size
- 25 × 17 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 5
- Nets
- 5
- Pads
- 18
- Tracks, vias
- 38, 0
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 16 Jul 2026
- Updated
- 21 Oct 2026
Overview
TinyRotaryPCB is an open-source printed circuit board by Mick3DIY, from the Mick3DIY/TinyRotaryPCB repository on GitHub, published under the MIT licence. It is a 2-layer board of 25 × 17 mm with 5 parts on 5 nets, routed with 38 tracks and 0 vias.
Its parts include 3 resistors, 1 connector and 1 switch.
README
README.mdTinyRotaryPCB
A tiny PCB (with surface resistors) for the BOURNS PEC11R rotary encoder.
Printed Circuit Board (PCB) :
As part of an educational project, the schematic and PCB are made with KiCad version 9 (kicad folder).
:bulb: All important parameters are stored in the schematic/PCB editors text variables (common project variables).
The TinyRotaryPCB itself with the rotary encoder (in reverse side for panel mount), dimensions (mm) :

The panelization option (2x2 boards with stencil) was generated with the KiCad plugin KiKit, dimensions (mm) in kicad/panel folder :

Thanks to AISLER PCB manufacturer :eu:
Get a unique 10€ coupon code in your first order in AISLER with my referral code : MakeInEurope-ECYPW :heart:
The shell script to easily generate panels (in kicad folder)… :laughing:
#!/bin/bash
# TinyRotaryPCB with KiCad and KiKit plugin for PCB panelization
# GitHub project : https://github.com/Mick3DIY/TinyRotaryPCB
# KiCad documentation : https://www.kicad.org
# KiKit plugin documentation : https://github.com/yaqwsx/KiKit
# Input and output files
INPUT_FILE="TinyRotaryPCB.kicad_pcb"
OUTPUT_DIR="panel"
OUTPUT_FILE="${OUTPUT_DIR}/TinyRotaryPCB_panel.kicad_pcb"
# Layout parameters, by default 2x2 -> panelize.sh <rows> <cols> parameters
LAYOUT_ROWS="${1:-2}"
LAYOUT_COLS="${2:-2}"
LAYOUT_SPACE="2mm"
# Tab parameters
TAB_TYPE="fixed"
TAB_HWIDTH="2mm"
TAB_VWIDTH="2mm"
TAB_VCOUNT="2"
# Cuts parameters
CUTS="mousebites; drill: 0.5mm; spacing: 0.75mm; offset: -0.3mm; prolong: 0.5mm"More panelization examples in KiKit plugin documentation : https://yaqwsx.github.io/KiKit/latest/panelization/examples/
Logic analyser with the rotary encoder :
To understand how a rotary encoder "pulses" works, it is useful to visualise it with a software/hardware logic analysers.
Here an example with the same schematic (pins A, B, SW) in Sigrok and PulseView softwares :

TODO :
- Add PDF files for the schematic, PCBs (single, panelization)
- Add a screenshot from the logic analyser Sigrok
- Add link to the Elektor Ebook "Logic Analyzers in Practice" from Jörg Rippel
- Add more files and examples, any ideas ? :laughing:
Documentation :
BOURNS PEC11R Series 12 mm incremental rotary encoder (PEC11R-4220F-S0024) :
- https://www.bourns.com/resources/rohs/encoders/contacting-encoders
- https://www.bourns.com/docs/product-datasheets/pec11r.pdf
Sigrok, PulseView softwares, all cross-platform : https://sigrok.org :clap:
Elektor Ebook "Logic Analyzers in Practice" from Jörg Rippel :
[!NOTE] Big thanks to the open-source, KiCad, KiKit and plugins communities. :heart:
Happy soldering & have fun ! :partying_face:
Parts
5| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 10K | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1, R2, R3 |
| 1 | Conn_01x05_Pin | PinHeader_1x05_P2.54mm_H_W_S:PinHeader_1x05_P2.54mm_Horizontal_Without_Silkscreen | J1 |
| 1 | RotaryEncoder_Switch | RotaryEncoders_PEC11R:RotaryEncoder_Bourns_Vertical_PEC11R-4xxxF-Sxxxx | SW1 |
Questions
How big is the TinyRotaryPCB PCB?
It measures 25 × 17 mm and has 2 copper layers, 1.6 mm thick.
What parts does the TinyRotaryPCB use?
5 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 TinyRotaryPCB KiCad files?
From the Mick3DIY/TinyRotaryPCB repository on GitHub, at the commit this page was made from: the board is kicad/TinyRotaryPCB.kicad_pcb and its schematic kicad/TinyRotaryPCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the TinyRotaryPCB 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).
More from Mick3DIY/TinyRotaryPCB
1- 2 layers52 × 44 mm

Similar boards
- 2 layers98 × 27 mm

- 2 layers21 × 33 mm

24g2usb pico2w
joypad-ai/joypad-os
Universal controller firmware for building adapters, dongles, and custom controllers.
5 parts1.7kApache-2.0 - 2 layers53.2 × 59.6 mm

A10 OLinuXino Lime Rev B SHIELD TEMPLATE
OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C
5 parts1.5k - 2 layers30 × 11 mm

Main control board servo tester
jamro/tiny-engineer
A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.
5 parts1.1k - 2 layers78.8 × 35.3 mm

KiCadTest
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
5 parts915 - 2 layers50 × 23 mm

- 2 layers43.2 × 28.5 mm

- 2 layers20.3 × 15.2 mm

L0 light sensor
Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
5 parts546MIT