Skip to the content
2 layers22.5 × 110.8 mmDisplay auto rotator, the printed circuit board in 3D

Display auto rotator

hyrodium/display-auto-rotator1

Rotate display with Raspberry Pi Pico and accelaration sensor

Size
22.5 × 110.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
2
Nets
36
Pads
48
Tracks, vias
12, 0
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
20 Apr 2025
Updated
14 May 2025

Overview

Display auto rotator is an open-source printed circuit board by hyrodium, from the hyrodium/display-auto-rotator repository on GitHub, published under the MIT licence. It is a 2-layer board of 22.5 × 110.8 mm with 2 parts on 36 nets, routed with 12 tracks and 0 vias.

It belongs with the lEDs and displays boards and the RP2040 boards of this library.

README

README.md

display-auto-rotator

Rotate display automatically!

mermaid
graph LR
  ACC["Accelaration sensor MMA7361LC"]
  PICO["Raspberry Pi Pico as HID keyboard"]
  PC["PC (Linux)"]
  ACC -->|Analog signal| PICO
  PICO -->|"hotkey to run xrandr"| PC

Demo

See more at https://bsky.app/profile/hyrodium.bsky.social/post/3ln6qdv3mbs2j.

Setup

PC (host)

For example, you can setup the hotkeys like this in KDE Plasma environment.

  • Meta+Ctrl+Home: xrandr --output DP-0 --rotate left
  • Meta+Ctrl+End: xrandr --output DP-0 --rotate right
  • Meta+Ctrl+Up: xrandr --output DP-0 --rotate normal

Microcontroller (Raspi pico unit as HID keyboard)

Buy
Order PCB

Print cover

Print STL files in display-auto-rotator_3dp directory. https://www.thingiverse.com/thing:7035134

Assemble

Write firmware and scripts

Parts

2
QtyValueFootprintReferences
1RaspberryPi_PicoModule:RaspberryPi_Pico_Common_THTA1
1~MyLibrary:MMA7361LC_moduleU1

Similar boards

  • 2 layers37 × 19 mmPassive rpi hub75-adapter, the printed circuit board in 3D

    Passive rpi hub75-adapter

    hzeller/rpi-rgb-led-matrix

    Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO

    2 parts4.4kGPL-2.0
  • 2 layersDiode template, the printed circuit board in 3D

    Diode template

    adamws/kicad-kbplacer

    KiCad plugin for automatic keyboard's key placement and routing

    2 parts547GPL-3.0
  • 2 layers20.3 × 15.2 mmL0 button, the printed circuit board in 3D

    L0 button

    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.

    2 parts546MIT
  • 2 layers35.1 × 46.8 mmSDEX2M2 Breakout Board, the printed circuit board in 3D

    SDEX2M2 Breakout Board

    NVNTLabs/switch2-SDEX2M2

    Micro SD Express to M.2 NVME Adapter for Nintendo Switch 2

    2 parts542GPL-3.0
  • 2 layers59.3 × 36.6 mmExpansionBoardTemplate, the printed circuit board in 3D

    ExpansionBoardTemplate

    BlueSCSI/BlueSCSI-v2

    BlueSCSI v2/Ultra - an open source, open hardware, SCSI emulator using the Pi Pico PR2040 and Pico 2 RP2350

    2 parts459GPL-3.0
  • 2 layersAlpha.9mm.wire, the printed circuit board in 3D

    Alpha.9mm.wire

    ohmtech-rdi/eurorack-blocks

    Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

    2 parts410
  • 2 layers26.7 × 64 mmGpu power, the printed circuit board in 3D

    Gpu power

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    2 parts397Apache-2.0

Questions

How big is the Display auto rotator PCB?

It measures 22.5 × 110.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Display auto rotator use?

2 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 Display auto rotator KiCad files?

From the hyrodium/display-auto-rotator repository on GitHub, at the commit this page was made from: the board is display-auto-rotator_pcb/display-auto-rotator.kicad_pcb and its schematic display-auto-rotator_pcb/display-auto-rotator.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Display auto rotator 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).