
Switch
byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

This folder contains a small PCB intended to mount:
Rotary switch ui is an open-source printed circuit board by benklop, from the benklop/rotary-switch repository on GitHub. It is a 2-layer board of 19 × 28 mm with 6 parts on 10 nets, routed with 30 tracks and 0 vias.
Its parts include 3 resistors, 1 diode, 1 connector and 1 switch.
This folder contains a small PCB intended to mount:
rotary_switch_ui.kicad_prorotary_switch_ui.kicad_schrotary_switch_ui.kicad_pcbThe PCB footprint placement is aligned to the OpenSCAD model:
(0, 0) mm(0, -9.5) mm (from openscad/dimensions.scad led_offset_y)If you open the schematic and run Update PCB from Schematic, assign these footprints first so KiCad can match by reference designator:
SW1 (encoder): Rotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmD1 (LED): LED_THT:LED_D5.0mm-4_RGBR1, R2, R3 (resistors): Resistor_SMD:R_0805_2012Metric (or switch to THT if preferred)J1 (to ESP32): Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical+3V3 (optional; typically not needed for a bare EC11)GNDENC_A (encoder A → ESP32 GPIO34 per docs/wiring.md)ENC_B (encoder B → ESP32 GPIO36)ENC_BTN (push button → ESP32 GPIO37)LED_R_IN (→ R1 → LED_R; ESP32 GPIO4)LED_G_IN (→ R2 → LED_G; ESP32 GPIO5)LED_B_IN (→ R3 → LED_B; ESP32 GPIO6)Small PCB to mount the EC11 encoder, 5 mm RGB LED, and current-limiting resistors for the rotary light switch project. Connects to the ESP32-S2 Mini via a 8-pin header.
Create a new schematic in this project and add:
| Ref | Symbol / part | Footprint | Value / notes |
|---|---|---|---|
| U1 | Device:RotaryEncoder_Switch | Rotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm | EC11 with switch |
| D1 | LED:LED_RGB_CommonCathode or 4-pin connector | LED_THT:LED_D5.0mm-4_RGB | 5 mm common-cathode RGB |
| R1 | Device:R | Resistor_SMD:R_0805_2012Metric | 470 Ω (red channel) |
| R2 | Device:R | Resistor_SMD:R_0805_2012Metric | 430 Ω (green) |
| R3 | Device:R | Resistor_SMD:R_0805_2012Metric | 430 Ω (blue) |
| J1 | Connector:Conn_01x08 | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | To ESP32 |
Use these net names so the PCB matches ../docs/wiring.md:
| J1 pin | Net name | ESP32-S2 Mini |
|---|---|---|
| 1 | +3V3 (opt) | 3V3 |
| 2 | GND | GND |
| 3 | ENC_A | GPIO 34 |
| 4 | ENC_B | GPIO 36 |
| 5 | ENC_BTN | GPIO 37 |
| 6 | LED_R_IN | GPIO 4 (via R1 470 Ω) |
| 7 | LED_G_IN | GPIO 5 (via R2 430 Ω) |
| 8 | LED_B_IN | GPIO 6 (via R3 430 Ω) |
Then: Tools → Assign footprint symbols, assign the footprints above, File → Update PCB from Schematic, and in PCB Editor route the nets (or use the existing placement).
led_offset_y = -9.5 mm in the OpenSCAD dimensions).If your front panel or enclosure differs, move footprints in PCB Editor and adjust Edge.Cuts as needed.
| Ref | Part | Value / spec |
|---|---|---|
| U1 | Alps EC11 or compatible rotary encoder with switch, vertical, 6 mm shaft | 15 mm shaft, splined |
| D1 | 5 mm RGB LED, common cathode | 4-pin |
| R1 | Resistor 0805 | 470 Ω |
| R2 | Resistor 0805 | 430 Ω |
| R3 | Resistor 0805 | 430 Ω |
| J1 | Pin header 1×8, 2.54 mm | Straight, THT |
| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 430 | PCM_Resistor_THT_US_AKL:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R2, R3 |
| 1 | 470 | PCM_Resistor_THT_US_AKL:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1 |
| 1 | EC11 | Rotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm | SW1 |
| 1 | PINHD_1x7_Male | Connector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_Vertical | J1 |
| 1 | RGB | PCM_LED_THT_AKL:LED_D5.0mm-4_RGB | D1 |

byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.


Jcparkyn/dpoint
Open-source digital stylus using camera tracking and inertial measurements

VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

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.

It measures 19 × 28 mm and has 2 copper layers, 1.6 mm thick.
6 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.
From the benklop/rotary-switch repository on GitHub, at the commit this page was made from: the board is kicad/rotary_switch_ui.kicad_pcb and its schematic kicad/rotary_switch_ui.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask benklop before reusing the design.