Arduino Standing Desk Controller With Printed Nylon Gears

Nov 13, 2026 Last reply: 5 hours ago 3 Replies
Jump to replies (3)

The detail that caught me off guard is that the gears were not printed on a filament machine at all. Yeah Nah DIY had the nylon gears selectively laser sintered, which stands out in a build where everything else is clearly home workshop territory. The project itself is a smart replacement for a desk's manual switch, built around an Arduino Nano, a rotary encoder, a relay module, a micro switch and a DC-DC converter that steps the 28V to 30V supply down to 5V.



The assembly path is worth reading closely. The stock control module and its PCB were inspected first, then the original switches were swapped for two relays wired to normally open and normally closed terminals. A rotary encoder board sits on a bracket and drives through printed gears, and the firmware leans on a rotary encoder library to work out the desk height. The wedge-shaped casing was drawn in CAD, printed on a textured PEI plate, and features miniature lever microswitches plus threaded brass inserts. The electronics went through several prototype perfboards before the final board was seated in the enclosure.



The gears tell the best story. The first versions were printed in PLA and turned out too loud, so nylon became the replacement, but the nylon ones initially slipped on the drive rod. The fix was mechanical: a hole drilled through the gear collar and an M3 screw installed as a locking bolt. After that, the gears turn in sync with the desk shaft and the desk hits tested heights of 700 mm, 800 mm and 1000 mm accurately, with calibration done at the 700 mm minimum. Both the physical panel, with its five circular button faces, and the computer app slider move the desk smoothly.



The open question for me is noise and wear over time. Belt drive ideas have been floated as an alternative for accuracy and quieter running, so whether the geared approach holds up long term seems unresolved.



Project by Yeah Nah DIY. Watch it on their YouTube channel:

formatting link


Drilling the gear collar and adding an M3 locking screw is a neat fix. It turns a slip problem into a clamped mechanical joint without changing the gear design, and it keeps the SLS nylon gears in place as the drive method. The trade-off is that the screw is a point load on the collar, so long-term wear at that spot is the thing I would watch.

How does the rotary encoder setup actually track position? The firmware uses a rotary encoder library to calculate height, but I am curious whether the encoder reads the desk shaft directly through those gears, and how the calibration at the 700 mm minimum height factors into the height calculation when targeting 800 mm or 1000 mm.

Since the relays already give automated control and the app slider works alongside the physical buttons, a natural next step would be automatic routines that move the desk between preset heights on a schedule. That would use the accurate 700 mm to 1000 mm travel the build already achieves, and could even help with reducing back pain by prompting regular position changes during the day.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required