I built an electronic leadscrew for my old metal lathe (since sold). This is an in-progress picture of the enclosure for the electronics. I have yet to move it to my new lathe, since it has a gear head and it's pretty easy to change thread pitches.

An in-progress picture of the enclosure for the electronic leadscrew's electronics.
An in-progress picture of the enclosure for the electronic leadscrew's electronics.
Earlier, the control box with its display and buttons, on the bench.
Earlier, the control box with its display and buttons, on the bench.

And a bench test of the display board, wired up to a dev board, a power supply and a logic analyzer.

A couple more test clips: one at the bench with the control box, and one on the lathe itself.