Deskhack
scottdube·deskhack·kicad/desk.kicad_pcb
About the Deskhack PCB
Deskhack is an open source ESP32 PCB design by scottdube, published on GitHub under the MIT license. It is a 2-layer board measuring 94 × 60 mm, with 13 components from 6 distinct parts.
Its main chip is the ESP32 DevKit V1, from the ESP32 family. Other key parts include the PC817. By type, the board carries 7 resistors, 4 connectors and 2 ICs.
It belongs with the iot & wireless and test & measurement designs in this gallery.
From the project
Reverse-engineered LOGICDATA COMPACT-e-3-VAL (ErgoSwiss hydraulic desk) handset bus: height readback + ESP32/ESPHome control through a $3 optocoupler tap. First public decode of the COMPACT-e-3's 9-bit serial protocol.
Home Assistant control and height readback for an ErgoSwiss hydraulic standing desk running a LOGICDATA COMPACT-e-3-VAL-ES-US control box ("Compact-3-eco", software V290) — without buying the vendor Memory handset, and without opening either sealed box.
The desk shipped with a dumb up/down panel: no presets, no display. This project taps the 7-pin DIN handset cable inline, drives the button lines from an ESP32 through optocouplers, and reads the desk's height from a previously undocumented serial broadcast the control box sends on one of the handset pins. The original panel keeps working in…

Main components on the Deskhack
Deskhack bill of materials (BOM)
13 components, 6 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | PC817 | DIP-4_W7.62mm | U1, U2 |
| 2 | DIN harness | TerminalBlock_Phoenix_MKDS-1,5-7_1x07_P5.00mm_Horizontal | J1, J4 |
| 2 | ESP32 DevKit V1 | PinSocket_1x15_P2.54mm_Vertical | J2, J3 |
| 2 | 330 | R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1, R2 |
| 2 | 100k | R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R3, R4 |
| 3 | 22k | R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R5, R6, R7 |
Deskhack design files
The KiCad project lives in the scottdube/deskhack repository on GitHub; these links point at the commit this page was built from.
- Layoutkicad/desk.kicad_pcb
- Schematickicad/desk.kicad_sch
Deskhack: common questions
What microcontroller does the Deskhack use?
The Deskhack is built around the ESP32 DevKit V1, from the ESP32 family.
How big is the Deskhack PCB?
The Deskhack measures 94 × 60 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Deskhack?
13 components, from 6 distinct parts. The full bill of materials is listed on this page.
Where can I download the Deskhack design files?
From the scottdube/deskhack repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Deskhack design in my own project?
Yes, under the terms of its MIT license, which scottdube chose for the repository.
Can I test firmware for the Deskhack without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.
Similar boards
ESP32
Open Book Abridged Edition
joeycastillo
85 × 115 mm65 parts2LCC-BY-SA-4.08.1kESP32
Badge
atopile
56.3 × 39 mm239 parts4LMIT4.0kESP32
Esp32 minimal
atopile
36.2 × 26.8 mm20 parts2LMIT4.0kESP32
Racer
StuckAtPrototype
36 × 50.2 mm70 parts4LApache-2.03.8kESP32
Controller
StuckAtPrototype
29 × 74 mm58 parts4LApache-2.03.8kESP32
Bitaxe
skot
56.5 × 99.8 mm86 parts4LCERN-OHL-S-2.01.4k