Skip to the content
2 layers34 × 29 mmPerch dock, the printed circuit board in 3D

Owl-shaped Spotify remote for your desk and pocket: ESP32-S3 firmware, LVGL UI, KiCad PCB, 3D-printed enclosure, and owl v0 on the Waveshare AMOLED kit

Size
34 × 29 mm
Copper layers
2
Thickness
1.6 mm
Parts
22
Nets
16
Pads
66
Tracks, vias
48, 11
Pours
3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
12 Nov 2023
Updated
3 Nov 2026

Overview

Perch dock is an open-source printed circuit board by danieltyukov, from the danieltyukov/owltunes repository on GitHub, published under the MIT licence. It is a 2-layer board of 34 × 29 mm with 22 parts on 16 nets, routed with 48 tracks and 11 vias.

It is built around the NSMD110, LESD5D5.0CT1G and YZ71215080P-02, with the SMF5.0A, SM04B-SRSS-TB(LF)(SN) and TYPE-C-31-M-12 among its other parts. Its parts include 5 connectors, 4 resistors, 3 diodes, 2 capacitors and 1 fuse. It belongs with the ESP32 boards of this library.

Main components

7

README

README.md

OwlTunes

Your music, one turn away.
A Spotify remote with a round AMOLED face and a rotating ring. It charges on your desk and goes with you in your pocket.

Website | Setup guide | System design | Hardware

OwlTunes on its perch

OwlTunes controls the music that is already playing on your phone, laptop or speakers. Turn the ring to change the volume, tap the cover to pause, press an ear to skip. Drop it on its perch and it becomes a desk display that charges while it shows what is playing.

Spotify switched off every Car Thing in December 2024. Nobody can do that to OwlTunes: the firmware, boards and enclosure are open source, it talks to Spotify's Web API directly over Wi-Fi, and Bluetooth media keys keep working when there is no internet.

On the deskIn your pocket
Docked on a deskIn a jeans pocket

The device

Display1.75 inch round AMOLED, 466 x 466, capacitive touch, behind 1.1 mm cover glass
ControlsRotating ring with haptic detents, two ear buttons, a beak button, touch and swipe
BrainESP32-S3 with 16 MB flash and 8 MB PSRAM
ConnectivityWi-Fi to the Spotify Web API (home network or phone hotspot); Bluetooth LE media keys offline
SensorsHall sensor for the ring, accelerometer (pick up to wake), ambient light
PowerSingle-cell LiPo, USB-C, and spring-contact charging on the perch
Size66 x 84 x 24 mm
PerchWeighted magnetic desk dock that holds the owl at 17.5 degrees

How you use it

ControlAction
RingVolume on Now Playing; scroll in lists, one haptic tick per item
Tap the coverPlay or pause
Swipe left or rightNext or previous track
Left or right earPrevious or next track
Hold the left ear, turn the ringPick one of 8 presets, release to play
Hold the right earLike the current track
BeakBack; hold for Now Playing

It also browses your playlists and library, searches, manages the queue and moves playback between your Spotify Connect devices.

What it looks like

The screens below come from the desktop simulator, which runs the same UI code as the firmware.

Now playingPlaylistsPreset wheelLooking for your phone
Now playingPlaylistsPreset wheelNo device

Inside

Exploded view

A 4-layer main board (KiCad 10, assembled by JLCPCB) inside a printed nylon enclosure (build123d, MJF PA12). The ring carries magnets that a Hall sensor on the board reads, and a small linear motor gives each detent its click. Every board passes ERC, DRC and a check against the enclosure's mechanical contract in CI.

The renders on this page are made from the same files: the enclosure and board meshes go into Blender with tools/render.sh, and the screen shows the simulator's output. The album art is a generated placeholder. The renders were computed on the DelftBlue supercomputer of the Delft High Performance Computing Centre (DHPC, https://www.tudelft.nl/dhpc), and the owl v0 renders on a TU Delft EWI compute server.

Owl v0

Owl v0Inside owl v0
Owl v0 standing on a deskOwl v0 exploded

The first owl to be built is owl v0: the same face, ring, ears and beak, built round Waveshare's ESP32-S3-Touch-AMOLED-1.75 kit, which brings the display, the ESP32-S3, USB-C and the battery charger, so there is no board to order. Six nylon prints hold it, a Hall sensor module reads the ring's magnets, and tact switches sit under the ears and the beak. It has no perch, haptics or light sensor yet, and it is 19.7 mm deep. kit-owl.md has the parts, wiring and assembly.

Status

  • Firmware: Wi-Fi setup, Spotify linking and playback control run on an ESP32-S3 dev board against a real Spotify account, and are tested on the host and in QEMU. Display and touch drivers for the rev A board and the Waveshare AMOLED kit build in CI and wait for first light.
  • Owl v0: the owl built round the Waveshare AMOLED kit, with the ring, ear and beak buttons and a 400 mAh cell, ready to order and print (kit-owl.md).
  • Hardware rev A: main board and perch board designed and checked; ordered after owl v0.
  • Enclosure v1: owl, ring, bezel and perch ready for printing, with the face built around the panel's 52.6 mm cover glass.
  • Next: owl v0 assembled and brought up, the button and ring drivers, then rev A.

Read the system design for the full picture and docs/hardware for the boards.

Set it up

OwlTunes needs Spotify Premium and your own free Spotify developer app (client ID). It uses the Authorization Code flow with PKCE, so no client secret is stored on the device or in this repository. Open the setup page in Chrome or Edge, connect the owl over USB, add your Wi-Fi networks and client ID, and log in with Spotify. The setup guide walks through every step.

The owl's setup screen with a QR code for the setup page

Build it

Commands (Linux with CMake 3.22+, Ninja and a C compiler)
WhatCommand
Unit tests (with sanitizers)tools/test_host.sh
Simulator screenshot teststools/sim.sh
Interactive simulator (needs libsdl2-dev)cmake -S sim -B build/sim-sdl -G Ninja -DOWL_SIM_SDL=ON && cmake --build build/sim-sdl && build/sim-sdl/owl_sim sdl
Firmware (ESP-IDF v6.1 activated)tools/firmware.sh build
Firmware for the Arduino Nano ESP32, and flashing ittools/firmware.sh build nano_esp32, then tools/firmware.sh flash nano_esp32
Firmware for the owl's rev A board or the Waveshare ESP32-S3-Touch-AMOLED-1.75 kit (display and touch; not yet run on hardware)tools/firmware.sh build owltunes_reva or tools/firmware.sh build waveshare_amoled_175, then flash with the same board name
Hardware tests on the Nano ESP32 (board on USB)tools/hil_nano.py --wifi; with a linked board and your consent, tools/hil_spotify.py --real-account
Firmware in the QEMU emulatortools/qemu_smoke.sh
Setup protocol in QEMU, including a real HTTPS call to Spotifytools/qemu_prov_test.py
Setup site: unit and browser tests (Node.js 22)cd web && npm ci && npm test && npm run e2e
Setup site: local development servercd web && npm run dev
Enclosure tests and exportssee enclosure/README.md
Hardware checks (KiCad 10)tools/hw/check_all.sh
Product renders (Blender 5.2, kicad-cli, uv)tools/render.sh
Regenerate the UI fonts (needs Node.js)tools/gen_fonts.sh
PathContents
firmware/ESP-IDF firmware; shared C code in firmware/components/, board support in firmware/boards/
sim/Desktop simulator and golden screenshots
web/The setup site (TypeScript and Vite), published on GitHub Pages
enclosure/build123d sources for the owl, owl v0 on the Waveshare kit, the ring and the perch
hardware/KiCad 10 projects for the owl main board and the perch board
docs/Design documents, hardware notes, setup and protocol guides
tools/Build, test, style, render and font scripts

The UI font is Inter (SIL Open Font License, see firmware/components/owl_ui/fonts/LICENSE-Inter.txt).

Licences

Not affiliated with Spotify

OwlTunes is an independent, non-commercial project. It is not affiliated with, endorsed by or sponsored by Spotify. Spotify is a trademark of Spotify AB.

Parts

22
QtyValueFootprintReferences
25.1kResistor_SMD:R_0402_1005MetricR1, R2
2Breakawayowltunes:MouseBite_2.5mm_2x0.6mmMB1, MB2
2M2MountingHole:MountingHole_2.2mm_M2H1, H2
11.1A holdFuse:Fuse_1206_3216MetricF1
1100nFCapacitor_SMD:C_0402_1005MetricC2
110kResistor_SMD:R_0402_1005MetricR3
110uFCapacitor_SMD:C_0603_1608MetricC1
14.7kResistor_SMD:R_0402_1005MetricR4
1DETTestPoint:TestPoint_Pad_D3.0mmPAD1
1GNDTestPoint:TestPoint_Pad_D3.0mmPAD2
1LESD5D5.0CT1GDiode_SMD:D_SOD-523D2
1Pogo DETowltunes:PogoPin_Xinyangze_YZ71215080P-02P1
1Pogo GNDowltunes:PogoPin_Xinyangze_YZ71215080P-02P2
1Pogo VBUSowltunes:PogoPin_Xinyangze_YZ71215080P-02P3
1SMF5.0ADiode_SMD:D_SOD-123FD1
1To J303: GND, VBUS, DET, GNDConnector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_HorizontalJ2
1USB-C powerConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1VBUSTestPoint:TestPoint_Pad_D3.0mmPAD3
1redLED_SMD:LED_0603_1608MetricLED1

More from danieltyukov/owltunes

1
  • 4 layers61.8 × 79.8 mmOwl mainboard, the printed circuit board in 3D

    Owl mainboard

    danieltyukov/owltunes

    Owl-shaped Spotify remote for your desk and pocket: ESP32-S3 firmware, LVGL UI, KiCad PCB, 3D-printed enclosure, and owl v0 on the Waveshare AMOLED kit

    107 partsMIT

Similar boards

  • 4 layers64 × 59 mmDoorbell, the printed circuit board in 3D

    Doorbell

    gunnarbeutner/doorbell

    doorbell.kicadsch / doorbell.kicadpcb are the authoritative source — edit them in KiCad. build.sh never authors copper; it runs the checks KiCad's own DRC/ERC can't express and exports the fab outputs:

    119 parts1MIT
  • 4 layers57.6 × 46 mmDial me spinner base, the printed circuit board in 3D

    Dial me spinner base

    tyevco/dial-me-spinner

    A Bluetooth dial spinner about 70 mm across, built on the nRF52840. A heavy, balanced stainless flywheel ring spins around a stationary centre that holds a colour OLED and a ring of 48 addressable RGB LEDs.

    25 parts
  • 4 layersCABadge V2 1, the printed circuit board in 3D

    CABadge V2 1

    nbtca/CABadge

    CABadge 计协电子吧唧:基于 ESP32-S3 的开源圆屏互动徽章,支持动态壁纸、触摸交互、Wi-Fi/BLE 和趣味小应用,提供 PCB、3D 打印外壳、固件及配套工具。

    110 parts15MIT
  • 4 layers60 × 31 mmGarageDoor pro, the printed circuit board in 3D

    GarageDoor pro

    nikolaus018/garageDoor-pro

    ESP32-C3 + GPS board that opens the garage door when you leave and arrive: firmware, KiCad PCB and perfboard build

    46 parts1MIT
  • 4 layers100 × 100 mmAv board cb, the printed circuit board in 3D

    Av board cb

    bryfur/tang-av-scaler

    PS2-class component video -> deinterlace, SMAA, scale -> 1080p60 HDMI on a Sipeed Tang Console 138K, with its AV board

    318 parts
  • 4 layers60 × 60 mmUmmon, the printed circuit board in 3D

    Ummon

    JonaWe/ummon

    ummon (from German Umgebungsmonitor, "environment monitor") is an ESP32-C6 based environmental sensor board with USB-C power.

    95 parts
  • 2 layers60 × 45 mmTracker lite, the printed circuit board in 3D

    Tracker lite

    Sanu0910/RFMW-ANT

    109 parts
  • 2 layers90.5 × 50 mmMain control board, the printed circuit board in 3D

    Main control board

    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.

    42 parts1.1k

Questions

How big is the Perch dock PCB?

It measures 34 × 29 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Perch dock use?

22 parts, built around the NSMD110, LESD5D5.0CT1G, YZ71215080P-02 and SMF5.0A. 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 Perch dock KiCad files?

From the danieltyukov/owltunes repository on GitHub, at the commit this page was made from: the board is hardware/perch-dock/perch-dock.kicad_pcb and its schematic hardware/owl-mainboard/mcu_usb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Perch dock 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).