IKEA Bekant SmartDesk with Arduino – Upgrade

I upgraded the mechanical sensor of my DIY IKEA Bekant SmartDesk to ultrasonic rangefinder to set it’s height automatically from the floor!