Deskhack

scottdube·deskhack·kicad/desk.kicad_pcb

Deskhack PCB layout, top view — open source ESP32 board by scottdube

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…

Deskhack, from the project README
From the project README

Main components on the Deskhack

Deskhack bill of materials (BOM)

13 components, 6 distinct parts.

QtyPartRefs
2
PC817
U1, U2
2
DIN harness
J1, J4
2
ESP32 DevKit V1
J2, J3
2
330
R1, R2
2
100k
R3, R4
3
22k
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.

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