display-auto-rotator

Public

@hyrodium

Download board files

Files for version 1. Pick what you came for.

Share display-auto-rotator

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading…

README

display-auto-rotator

Rotate display automatically!

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

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.