Smart desk
matto24·smart_desk·kicad_files/skrivebord.kicad_pcb
About the Smart desk PCB
Smart desk is an open source ESP32 PCB design by matto24, published on GitHub under the MIT license. It is a 2-layer board measuring 100 × 70 mm, with 17 components from 9 distinct parts.
Its main chip is the XIAO-ESP32-C6-DIP, from the ESP32 family. By type, the board carries 6 resistors, 2 transistors, 2 connectors, 2 relays, 2 diodes and 2 capacitors.
It belongs with the iot & wireless designs in this gallery.
From the project
Height adjustable desk controlled with LiDAR
Open-hardware controller for a motorized (sit/stand) desk. A Seeed XIAO ESP32-C6 measures the desk height with a VL53L1X time-of-flight lidar and drives the desk's up/down motor lines until it reaches a requested height, exposed over a small WiFi web server.
- The ESP32-C6 hosts an HTTP endpoint: GET /target?cm=. - On request it powers on the lidar, reads the current height, then holds the UP or DOWN line until the measured height reaches the target. - Target height is clamped to a safe range (64–114 cm) and every move has a hard safety timeout, so the motor is never left running.

Main components on the Smart desk
Smart desk bill of materials (BOM)
17 components, 9 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | XIAO-ESP32-C6-DIP | XIAO-ESP32-C6-DIP | U1 |
| 2 | IRLZ34N | TO-220-3_Vertical | Q1, Q2 |
| 1 | Screw_Terminal_01x04 | TerminalBlock_Xinya_XY308-2.54-4P_1x04_P2.54mm_Horizontal | J1 |
| 1 | Conn_01x06 | PinSocket_1x06_P2.54mm_Vertical | J2 |
| 2 | G5LE-1 | Relay_SPDT_Omron-G5LE-1 | K1, K2 |
| 2 | 1N914 | D_DO-35_SOD27_P7.62mm_Horizontal | D1, D2 |
| 2 | 100n | C_Rect_L7.0mm_W3.5mm_P5.00mm | C1, C2 |
| 4 | 100 | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R4, R5, R6 |
| 2 | 10K | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R2, R3 |
Smart desk design files
The KiCad project lives in the matto24/smart_desk repository on GitHub; these links point at the commit this page was built from.
Smart desk: common questions
What microcontroller does the Smart desk use?
The Smart desk is built around the XIAO-ESP32-C6-DIP, from the ESP32 family.
How big is the Smart desk PCB?
The Smart desk measures 100 × 70 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Smart desk?
17 components, from 9 distinct parts. The full bill of materials is listed on this page.
Where can I download the Smart desk design files?
From the matto24/smart_desk repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Smart desk design in my own project?
Yes, under the terms of its MIT license, which matto24 chose for the repository.
Can I test firmware for the Smart desk 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
OSO-BOOK-B1
joeycastillo
85 × 115 mm65 parts2LCC-BY-SA-4.08.1kESP32
Powertrain
byrantech
64 × 45.4 mm171 parts4LMIT4.3kESP32
Esp32 minimal
atopile
36.2 × 26.8 mm20 parts2LMIT4.0kESP32
Badge
atopile
56.3 × 39 mm239 parts4LMIT4.0kESP32
Racer
StuckAtPrototype
36 × 50.2 mm70 parts4LApache-2.03.8kESP32
Controller
StuckAtPrototype
29 × 74 mm58 parts4LApache-2.03.8k