Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 2.5 KB

README.md

File metadata and controls

34 lines (27 loc) · 2.5 KB

Automating an electric standing desk

The perfect ergonomic desk solution for your prolonged home office during Covid.

Check out my article for a detailed description of the project https://shiftux.org/making_projects/standing_desk.html

Intro

I have an electric desk that I can move from a sitting to a standing position. However I have to keep pressing a button for around 15 seconds, and then never really know exactly where to stop, since there is no top or bottom reference, except my feeling. Needless to say I decided to automate this.

Project Video

Standing Desk Automation

State Machine

I implemented a state machine using 5 states. Where "Moving Up/Down" is used when the buttons are manually pressed (move the table a bit) and "Shift Up/Down" is used to move the table to either the top or bottom position.

The State Machine

Wiring diagram

The wiring diagram is pretty straight forward using pull down resistors where required to prevent the Arduino from getting floating / noisy input.

The Wiring Diagram

Components used