There are also a few similar designs on Thingiverse if you want to try a different set of parts, although many of those use stepper motors. We’ve seen some homebrew linear actuators before ...
It’s a small linear ... The motor is basically a modified solenoid. There are sixteen neodymium magnets inside the shaft. The set of four coils is driven by an ATtiny44. Just like a stepper ...